Skip to main content

Python: Sonarr Client

Asynchronous Python client for Sonarr API.

About

This package allows you to monitor a Sonarr instance.

Installation

pip install sonarr

Usage

import asyncio

from sonarr import Sonarr


async def main():
    """Show example of connecting to your Sonarr instance."""
    async with Sonarr("192.168.1.100", "API_TOKEN") as sonarr:
        # basic: simple api for monitoring purposes only.
        info = await sonarr.update()
        print(info)

        calendar = await sonarr.calendar()
        print(calendar)

        commands = await sonarr.commands()
        print(commands)

        queue = await sonarr.queue()
        print(queue)

        series = await sonarr.series()
        print(series)

        wanted = await sonarr.wanted()
        print(wanted)


if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())

Metadata

Release files for sonarr 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sonarr 0.3.0
File Size Uploaded Provenance Actions
sonarr-0.3.0.tar.gz 8.8 kB Without provenance Details for sonarr-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sonarr 0.3.0
File Interpreter ABI Platform Actions
sonarr-0.3.0-py3-none-any.whl Python 3 none any Details for sonarr-0.3.0-py3-none-any.whl

Total release size: 17.9 kB

Release files / sonarr-0.3.0.tar.gz

Download URL sonarr-0.3.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e197eccea267494a9a0739bdaedaa622454b6efba28bef39bd03d5ef81ccbc22
BLAKE2b-256 checksum
How to use checksums
50601f56d1fe53a1a180acb3ac60df35e03fb03116e34270dd74845fcd0cd546
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release files / sonarr-0.3.0-py3-none-any.whl

Download URL sonarr-0.3.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d49d4ef71f6268d9a885e8f9ba4086b236d3ccd40c120601cfca9faa4fdf87b4
BLAKE2b-256 checksum
How to use checksums
2383c6320a098fba3c3d9df6c79a6dbbf1dc0e34edc39def16f34609232be1f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Security for sonarr 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page