- cross-posted to:
- foss@beehaw.org
- python@programming.dev
- cross-posted to:
- foss@beehaw.org
- python@programming.dev
Hi everyone,
I’d like to share a project I’ve been working on recently, Plemmy! Plemmy allows you to interact with any Lemmy instance using Python and the LemmyHttp API.
Currently all LemmyHttp functions (POST, PUT, GET) have been implemented.
Feel free to provide feedback or contribute in any way!
Nice! I had created a partial implementation of the API in my own project but I think I’ll replace it with yours this weekend :)
I like the idea of a Reddit-Lemmy cross-poster! It should make transitioning to Lemmy a bit easier for those used to seeing more Reddit-like content.
create_form(locals())
is so elegant! Each API endpoint is almost entirely described by the method signature alone, about as DRY as can be. Very clever (the good kind!)Just checked it out. Big fan of the simplicity you’ve kept with this. Do you think it would be worth adding in some kind of rate limiting functionality?