Skip to main content

Python API wrapper for Tautulli.

Project description

pytautulli

codecov python version PyPI Actions

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!

  1. Fork the repository
  2. Clone the repository locally and open the devcontainer or use GitHub codespaces
  3. Do your changes
  4. Lint the files with scripts/lint
  5. Ensure all tests passes with scripts/test
  6. Ensure 100% coverage with scripts/coverage
  7. Commit your work, and push it to GitHub
  8. Create a PR against the main branch

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytautulli-23.1.1.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

pytautulli-23.1.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file pytautulli-23.1.1.tar.gz.

File metadata

  • Download URL: pytautulli-23.1.1.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for pytautulli-23.1.1.tar.gz
Algorithm Hash digest
SHA256 0819aa1d4856349060350be616a2783181038b56c9c6aa162ada350ef64a2d4a
MD5 c03aee82863494681fd0792c4035a6b5
BLAKE2b-256 96ec66108771b1b1aa6b3c4406e5dfcfb9aa539d8873167fb03a9befe7b24c22

See more details on using hashes here.

File details

Details for the file pytautulli-23.1.1-py3-none-any.whl.

File metadata

  • Download URL: pytautulli-23.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for pytautulli-23.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ec86efc3f02872a8f5ab8f1a9ad4e3443d2398c38efbade717a1bc57a8b705e
MD5 9b905ae430295f3a1d606d3578c220de
BLAKE2b-256 051eefb1a7dcedf77914d155591467340a85a938bcdb0f16fe97e64e83a8bbc9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page