Metadata-Version: 2.1
Name: asynctodon
Version: 0.1.3
Summary: Async client for the Mastodon API
Author-email: Zoey Mae <admin@barkshark.xyz>
License: CNPL 7+
Project-URL: Bug Tracker, https://git.barkshark.xyz/barkshark/asynctodon/issues
Project-URL: Documentation, https://docs.barkshark.xyz/asynctodon
Project-URL: Source Code, https://git.barkshark.xyz/barkshark/asynctodon
Keywords: activitypub,asyncio,http,mastodon,python
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8
License-File: LICENSE.md
Requires-Dist: httpx[http2]==0.27.0
Requires-Dist: barkshark-lib<=0.3.0,>=0.2.0
Provides-Extra: docs
Requires-Dist: furo==2024.1.29; extra == "docs"
Requires-Dist: sphinx==7.2.6; extra == "docs"
Requires-Dist: sphinx-external-toc==1.0.1; extra == "docs"
Provides-Extra: dev
Requires-Dist: mypy==1.9.0; extra == "dev"
Requires-Dist: flake8==7.0.0; extra == "dev"
Requires-Dist: typing_extensions>=4.10.0; python_version < "3.11.0" and extra == "dev"

# Asynctodon

Asyncio client for the Mastodon API

[Documentation](https://docs.barkshark.xyz/asynctodon)


## Example

Check [usage](https://docs.barkshark.xyz/asynctodon/src/usage.html) for a more complex example

```
import asyncio
import webbrowser

from asynctodon import Client


client = Client("example.com", "f4jl3f2309fj20fj02efj02efj")


async def main():
	status = await client.new_status("im gay")
	webbrowser.open(status.url)


asyncio.run(main())
```
