this post was submitted on 21 Jun 2023
15 points (100.0% liked)

Programming

17406 readers
57 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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!

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago

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?

[–] [email protected] 2 points 1 year ago

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!)

[–] [email protected] 1 points 1 year ago

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 :)