{"categories":[{"label":"Communications","url":"https://skillfed.io/packages/category/communications"}],"enrichment":{"capability":"Python wrapper for the Mastodon API that lets you authenticate, read timelines, and post to Mastodon servers programmatically.","skillfed_tags":["fediverse","social-media-api","oauth"],"use_cases":["Build a bot that monitors a hashtag and reposts matching toots to another account.","Create a backup tool that periodically exports your toots and media to local storage.","Automate posting scheduled content to Mastodon on a timer.","Aggregate timelines from multiple Mastodon accounts into a single feed.","Analyze Mastodon social graphs or engagement metrics for research."],"what_it_does":"Mastodon.py is a Python client library that wraps the Mastodon API, enabling you to interact with Mastodon servers programmatically. It handles OAuth authentication, token management, and provides methods to read timelines, search, post toots, and manage your account. The library depends on requests for HTTP calls, python-dateutil for timestamp handling, and decorator for utility functions.\n\nYou use it by first registering your application once per server to get client credentials, then authenticating with user credentials to obtain an access token. After that, you can perform API operations like posting, fetching timelines, and managing followers. The library is feature-complete for the public API as of Mastodon version 4.5.8 and is actively maintained with recent updates.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. Install it if you need to automate or integrate with Mastodon servers from Python. The main gotcha is the OAuth setup requirement, but that is a one-time configuration step documented in the library."},"id":"mastodon-py","links":{"html":"https://skillfed.io/packages/mastodon-py","md":"https://skillfed.io/packages/mastodon-py.md","pypi":"https://pypi.org/project/mastodon-py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-03","license_spdx":null,"license_treatment":"permissive","name":"Mastodon.py","python_support":"unspecified","summary":"Python wrapper for the Mastodon API"},"popularity":{"monthly_downloads":306627,"position":7786,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.2"}
