Skip Navigation

Plemmy Release 0.3.0 - parsing request.Response JSON into Python objects · tjkessler/plemmy

github.com Release 0.3.0 - parsing `request.Response` JSON into Python objects · tjkessler/plemmy

As the title suggests, various functions/classes have been implemented to help users parse Lemmy API responses (requests.Response objects) into easily-usable Python objects. These functions/classes...

Release 0.3.0 - parsing `request.Response` JSON into Python objects · tjkessler/plemmy

Hi everyone,

I'm pleasantly surprised and very thankful for the traction Plemmy has received in a few short weeks since its initial release!

The primary goal of Plemmy is simple: offer access to the LemmyHttp API in Python, allowing users to interact with any Lemmy instance using Python.

Plemmy's LemmyHttp object does just this, returning Python request.Response objects resulting from Lemmy API calls. All LemmyHttp functions have been implemented!

With release 0.3.0, Plemmy now offers a way to parse request.Response objects, extracting all information and placing them in easy-to-use Python objects. The design of these functions/objects closely mirrors the objects and data types defined in the lemmy-js-client.

These additions should make interacting with Lemmy in Python easier than ever. Check out Plemmy's repository for example usage (more documentation to come!).

Thanks for the continued support,

Travis

0
0 comments