pytautulli
Python API wrapper for Tautulli.
Installation
python3 -m pip install pytautulli
Example usage
More examples can be found in the tests directory.
"""Example usage of pytautulli."""
import asyncio
from pytautulli import PyTautulli, PyTautulliHostConfiguration
IP = "192.168.100.3"
TOKEN = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
async def async_example():
"""Example usage of pytautulli."""
host_configuration = PyTautulliHostConfiguration(ipaddress=IP, api_token=TOKEN)
async with PyTautulli(host_configuration=host_configuration) as client:
print(await client.async_command("get_activity"))
asyncio.get_event_loop().run_until_complete(async_example())
Contribute
All contributions are welcome!
- Fork the repository
- Clone the repository locally and open the devcontainer or use GitHub codespaces
- Do your changes
- Lint the files with
scripts/lint - Ensure all tests passes with
scripts/test - Ensure 100% coverage with
scripts/coverage - Commit your work, and push it to GitHub
- Create a PR against the
mainbranch
Metadata
Release files for pytautulli 23.1.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 | |
|---|---|---|---|
| pytautulli-23.1.1.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytautulli-23.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / pytautulli-23.1.1.tar.gz
| Download URL | pytautulli-23.1.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0819aa1d4856349060350be616a2783181038b56c9c6aa162ada350ef64a2d4a
|
|
BLAKE2b-256 checksum How to use checksums |
96ec66108771b1b1aa6b3c4406e5dfcfb9aa539d8873167fb03a9befe7b24c22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / pytautulli-23.1.1-py3-none-any.whl
| Download URL | pytautulli-23.1.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ec86efc3f02872a8f5ab8f1a9ad4e3443d2398c38efbade717a1bc57a8b705e
|
|
BLAKE2b-256 checksum How to use checksums |
051eefb1a7dcedf77914d155591467340a85a938bcdb0f16fe97e64e83a8bbc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|