mastodon.me.uk is one of the many independent Mastodon servers you can use to participate in the fediverse.
Open, user-supported, corporation-free social media for the UK.

Administered by:

Server stats:

530
active users

#mastodonpy

0 posts0 participants0 posts today

I've been wondering for a while: People seem to often ask questions about "how do I do X with mastodon.py" or "why isn't my code, that uses mastodon.py, working" into the void, or in some general forum. I don't usually see those questions, so even if I could easily help, I have no means to. It'd be great if people tagged me into these types of questions, or if there was a better venue for it, maybe. I've been thinking like sure just open a github issue, even if it's just a "how do I do X" type question, but I think most people are hesitant to?

What would be the ideal way to improve this situation somewhat? Any suggestions welcome, but of course especially if you've been in that situation. #mastodonpy #mastodev

Continued thread

As expected, here's a quick Mastodon.py release that fixes some issues people found, mostly pagination related. Upgrading from 2.0.0 to this should be perfectly safe, it's bugfixes only~ Thank you to everyone who reported an issue or even contributed a PR to immediately fix it <3 🐍

* Changelog on GitHub: github.com/halcy/Mastodon.py/r
* Docs: mastodonpy.readthedocs.io/en/v
* PyPi: pypi.org/project/Mastodon.py/2

Continued thread

Hey, everyone! It took like 1.5 years, here is, finally, a proper new release for Mastodon.py! 🐍 This was a lot of work! I'm so glad I finally got it across the line!

Docs: mastodonpy.readthedocs.io/en/2
Github with changelog: github.com/halcy/Mastodon.py/r

This is a *massive* update. There's all the support for new endpoints up to 4.3.0, and large amounts of refactoring. The library is now fully typed, too, and thanks to that documentation has been massively improved!

Despite the major version bump, everything *should* be for the most part backward compatible. Existing code should not break, unless you're on Python 3.6 or below. I would still recommend being careful about upgrading without need. Expect a maintenance update once people actually start using this and find all the issues in the code that my tests didn't catch.

mastodonpy.readthedocs.ioMastodon.py — Mastodon.py 1.8.1 documentation

I use #logseq very badly, I think... but I was wondering if I could integrate it with saving my Mastodon posts and bookmarks. I'm playing with the idea of populating a page with my toots and adding the [[ ]] links to the journal day when the thing was published, so when I go to a journal page I see what I posted that day and it gives me some context on what I was thinking (and if I search for a toot I can go to the journal day). #mastodonpy

#mastodonpy development: I want to create proper models for everything mastodon can return, and so I've started to take my previous docs and formalized and amended them a bit. The results so far are a big json file which at least contains every field of every object Mastodon.py functions can currently return, though much remains to do.

If you want to help: Pick any object, find the corresponding Mastodon docs on docs.joinmastodon.org , fill all missing fields, cross-check nullable and optional as well as descriptions and maybe polish them a little, and do a PR.

github.com/halcy/Mastodon.py/b

docs.joinmastodon.orgMastodon documentationWelcome to the Mastodon documentation!