Skip to main content

tv

tv is a lightweight CLI application that helps you manage your favorite TV series.

By utilizing the exhaustive TV series database at thetvdb.com, the client lets you manage and categorize a list of your favorite tv series, keep track of which episodes you've seen, and see when the next episode is airing.

Getting started

Install the package from pypi:

$ pip install tv-series

Run init to initialize the application. You will be asked for an API key which you can generate on thetvdb.com.

$ tv init

To add your first series, first use search to find your series by its name.

$ tv search dexter
79349: Dexter (Ended)
  Dexter Morgan is a Miami-based blood splatter expert who doesn't just solve murders; he commits them too. In fact, he's a serial killer -- but he only murders the guilty, so he feels justified with his lifestyle choices. His policewoman sister and his cop co-workers have no idea Dexter lives a double life; however, adoptive father Harry knows his secret, and does, in fact, help Dexter hone his "skills." It's a unique brand of justice for which charming Dexter feels a psychological hunger.

356343: Dexter: Early Cuts (Ended)
  Animated web series providing background and depth to Dexter's character and relationships.

Use the numeric ID to add the series you were looking for.

$ tv add 79349
Looking up series by id 79349
Added series Dexter with default category default

Now you can see your series using list. It shows that there are 96 episodes available to watch.

$ tv list -c default
  TVDB ID  Series    Last seen    Available          Next on air    Status
---------  --------  -----------  -----------------  -------------  --------
    79349  Dexter                 S01E01 (96 total)  -              Ended

Let's show a different example. Below, you can see that:

  • You've seen the first season of The Orville, but there is one more season available with 14 episodes
  • You've seen all of Fool Us, but the next episode will be available June 24th
  • You've finished The Wire and there will be no more episodes
$ tv list -a
  TVDB ID  Series                   Last seen    Available            Next on air          Status
---------  -----------------------  -----------  -------------------  -------------------  ----------
   328487  The Orville              S01E12       S02E01 (14 total)    -                    Continuing
   239851  Penn & Teller: Fool Us   S06E01       -                    S06E02 (2019-06-24)  Continuing
    79126  The Wire                 S05E10       -                    -                    Ended

To read more about the available features, try tv --help.

Data and configuration

Data and configuration is stored according to the XDG base dir spec, i.e., in $XDG_DATA_HOME and $XDG_CONFIG_HOME, respectively.

Development

You need Python 3 to work on this project. To install the package and development tools, run:

$ pip install -e ".[dev]"

Testing

There is currently no test suite. One will likely be added if the codebase grows large or complex enough.

Code style

The codebase must adhere to the rules of the following formatter rules:

Metadata

Release files for tv-series 1.0.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 tv-series 1.0.0
File Size Uploaded Provenance Actions
tv-series-1.0.0.tar.gz 8.1 kB Without provenance Details for tv-series-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tv-series 1.0.0
File Interpreter ABI Platform Actions
tv_series-1.0.0-py3-none-any.whl Python 3 none any Details for tv_series-1.0.0-py3-none-any.whl

Total release size: 17.0 kB

Release files / tv-series-1.0.0.tar.gz

Download URL tv-series-1.0.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ba5547c6e648d46d4ec6398ed83e9dcb8b1657b468a730941fafd146156812bc
BLAKE2b-256 checksum
How to use checksums
c9b4ca0b8d72c5677c4e77b57c3e17d83c61ad3e60d26f2f9030c7c45d7f2017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release files / tv_series-1.0.0-py3-none-any.whl

Download URL tv_series-1.0.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
840912872a109fac4c5a8232b56e2a426b383721776abd3b28c5948e3c418240
BLAKE2b-256 checksum
How to use checksums
5c265ad4cb8e50bc8175605a7581a0ebd626dc11fb7d0ba6932a3dd2908507bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Security for tv-series 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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