Skip to main content

aiopyarr

codecov python version PyPI Actions

Python API client for Lidarr/Radarr/Readarr/Sonarr.

Installation

python3 -m pip install aiopyarr

Example usage

More examples can be found in the tests directory.

"""Example usage of aiopyarr."""
import asyncio
from aiopyarr.models.host_configuration import PyArrHostConfiguration
from aiopyarr.radarr_client import RadarrClient

IP = "192.168.100.3"
TOKEN = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"


async def async_example():
    """Example usage of aiopyarr."""
    host_configuration = PyArrHostConfiguration(ipaddress=IP, api_token=TOKEN)
    async with RadarrClient(host_configuration=host_configuration) as client:
        print(await client.async_get_system_status())

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 make lint
  5. Ensure all tests passes with make test
  6. Ensure 100% coverage with make coverage
  7. Commit your work, and push it to GitHub
  8. Create a PR against the master branch

Metadata

Release files for aiopyarr 23.4.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 aiopyarr 23.4.0
File Size Uploaded
aiopyarr-23.4.0.tar.gz 57.3 kB Details

Built distribution (wheel)

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

Total release size: 127.0 kB

Release files / aiopyarr-23.4.0.tar.gz

Download URL aiopyarr-23.4.0.tar.gz
Size 57.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e46151e099f4dea5de8e7c3b0a4832416b9dc2c382c36d7f845e1a5a8064d7b9
BLAKE2b-256 checksum
How to use checksums
e6c735fe34baeb662e403768d9bd46e831ffe6a07f749477c438369ddf8ba306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / aiopyarr-23.4.0-py3-none-any.whl

Download URL aiopyarr-23.4.0-py3-none-any.whl
Size 69.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5a3bf882ea0032b5fc2c9977eb85c3d1c3aa8ae11e9afe80fd699d437b8602d
BLAKE2b-256 checksum
How to use checksums
1145ddab652b20d3ad7398e058b26f95094aef1573bc4f49e94f789a72a93a80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

23.4.0 This release

2 release files

22.9.0

2 release files

22.2.2

2 release files

22.2.1

2 release files

22.1.3

2 release files

22.1.2

2 release files

22.1.1

2 release files

22.1.0

2 release files

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