SlyMastodon for Python
Warning
This package is an early work in progress. Breaking changes may be frequent!
🐍 For Python 3.11+
No-boilerplate, async and typed Mastodon access! 😋
pip install slymastodon
This library does not proivde full coverage. Currently, only the following topics are supported:
- Getting the current user and other users
- Submitting, scheduling, retrieving, and deleting post
Example Usage
import asyncio
from SlyMastodon import *
async def main():
m = Mastodon( "mastodon.skye.vg",
OAuth2("app.json", "user.json") )
user = await m.me()
print(user.at_username) # @dunkyl@skye.vg
asyncio.run(main())
Example CLI Usage
py -m SlyMastodon scaffold mastodon.skye.vg
# ...
py -m SlyMastodon grant
Release files for SlyMastodon 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SlyMastodon-0.0.1.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SlyMastodon-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.5 kB
Release files / SlyMastodon-0.0.1.tar.gz
| Download URL | SlyMastodon-0.0.1.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5e412bc2ae5a62ead3ad0c5535422d58c7a73148e1cd64746da2e79b3799903
|
|
BLAKE2b-256 checksum How to use checksums |
6fd9198d54bdc26986887904c9cd065cffa5d61c4a68b16ffc062fe40e1f3bdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Release files / SlyMastodon-0.0.1-py3-none-any.whl
| Download URL | SlyMastodon-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8d9d34f9c82d919e2e9824af49d45b74f880559a94b811992eb74a152e632f7
|
|
BLAKE2b-256 checksum How to use checksums |
eb9a037c6ce96d317d5511659b6f14c1edbff5a78c5f067b7d80d0212a9ad7e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|