urbanists.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a server for people who like bikes, transit, and walkable cities. Let's get to know each other!

Server stats:

553
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

GitHubRelease v2.0.1 · halcy/Mastodon.pyMaintenance release. Fixes a few minor, but important, issues Remove spurious debug prints (Thanks aitorres) Fix pagination fetch_remaining being broken due to typing changes (Thanks jikamens) Fix...
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