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.

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
libtvdb-0.15.0.tar.gz 12.4 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.15.0 This release

2 release files

0.13.0

2 release files

0.12.1

2 release files

0.11.1

2 release files

0.10.4

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.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