GitHub - tjkessler/plemmy: A Python package for accessing the Lemmy API

travis@lemmy.blue to Programming@programming.dev – 5 points –
GitHub - tjkessler/plemmy: A Python package for accessing the LemmyHttp API
github.com

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!

1

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