No project description provided
Project description
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tv-series-1.0.0.tar.gz
.
File metadata
- Download URL: tv-series-1.0.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba5547c6e648d46d4ec6398ed83e9dcb8b1657b468a730941fafd146156812bc |
|
MD5 | 9c14557dfe102d72445b38810ee744fd |
|
BLAKE2b-256 | c9b4ca0b8d72c5677c4e77b57c3e17d83c61ad3e60d26f2f9030c7c45d7f2017 |
File details
Details for the file tv_series-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: tv_series-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 840912872a109fac4c5a8232b56e2a426b383721776abd3b28c5948e3c418240 |
|
MD5 | 4566015530eca4d5a99ed1164ce42504 |
|
BLAKE2b-256 | 5c265ad4cb8e50bc8175605a7581a0ebd626dc11fb7d0ba6932a3dd2908507bc |