Skip to main content

libtvdb

CI PyPI version Python 3.11+

A wrapper around the TVDB API.

Installation

pip install libtvdb

Examples

Searching for shows:

import libtvdb

client = libtvdb.TVDBClient(api_key="...", pin="...")
shows = client.search_show("Doctor Who")

for show in shows:
    print(show.name)

Development

This project uses Poetry for dependency management.

# Install dependencies
poetry install

# Run tests
poetry run pytest

# Run linters and type checkers
poetry run ruff check libtvdb
poetry run black --check libtvdb tests
poetry run pylint libtvdb
poetry run mypy libtvdb
poetry run pyright libtvdb

Advanced

You can set libtvdb_api_key and libtvdb_pin in your OS X keychain if you don't want to supply these every time. If any of the values supplied to the TVDBClient constructor are None, it will look into your keychain and load the appropriate value. If it can't find them, it will throw an exception.

Metadata

Release files for libtvdb 0.15.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 libtvdb 0.15.0
File Size Uploaded Provenance Actions
libtvdb-0.15.0.tar.gz 12.4 kB Without provenance Details for libtvdb-0.15.0.tar.gz

Built distribution (wheel)

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

Total release size: 30.8 kB

Release files / libtvdb-0.15.0.tar.gz

Download URL libtvdb-0.15.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
33fac073f056e1388d7d9f09500aad3f2c6d33374d1bf73707c9f3976d1a60e0
BLAKE2b-256 checksum
How to use checksums
2eb6f93a10d1075b7bed3a34cc63d91b9e892f82ed8306aaaedc6db5104f4b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.9 Windows/10

Release files / libtvdb-0.15.0-py3-none-any.whl

Download URL libtvdb-0.15.0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d47588bb62617b1a3a9d775779dac4dcb1f7d802f2fb203d7c90e9fa86e14de0
BLAKE2b-256 checksum
How to use checksums
ea4e2b28e38a6fdefc4c507d6a2af99d5da170a15f25fb1b5a055e3a8d262409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.9 Windows/10

Security for libtvdb 0.15.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