themoviedb-lib
Python library providing useful tools for The Movie Database (TMDb) without depending on API-Keys
Features
- Comprehensive tools for retrieving movie / TV show data
- No dependence on API-Keys
- The data is web scraped from TMDb
- Focus on simplicity and functionality
Installation
pip install themoviedb-lib
Or if you have multiple Python / pip versions installed, use pip3:
pip3 install themoviedb-lib
Usage
Simple usage examples:
import tmdb
# Search for 'Star Wars' movies and TV shows
search_results = tmdb.API.search(query="Star Wars")
# Display search results on the screen
for result in search_results:
print(result)
# Download poster images for the search results
posters = []
for result in search_results:
posters.append(result.poster())
# Display movies on the screen
for result in search_results:
if result.is_movie():
print(result)
# For every TV show display the episodes for the first season on the screen
for result in search_results:
if result.is_tv() and "1" in result.seasons():
print(result.episodes(season_id="1"))
Utilities
| Method | Description |
|---|---|
tmdb.API.search() |
Search for movies and TV shows |
tmdb.API.languages() |
Get a list of languages supported by TMDb |
tmdb.API.categories() |
Get a list of categories supported by TMDb |
tmdb.API.poster_path() |
Generate a poster path for a movie / TV series |
tmdb.API.TV.seasons() |
Get a list of seasons for a TV series |
tmdb.API.TV.number_of_seasons() |
Get the season count for a TV series |
tmdb.API.TV.episodes() |
Get a list of episodes for a TV series season |
tmdb.API...() |
MORE UTILITIES COMING SOON |
Metadata
Release files for themoviedb-lib 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| themoviedb_lib-0.0.8.tar.gz | 10.1 kB | Without provenance | Details for themoviedb_lib-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| themoviedb_lib-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for themoviedb_lib-0.0.8-py3-none-any.whl |
Total release size: 22.0 kB
Release files / themoviedb_lib-0.0.8.tar.gz
| Download URL | themoviedb_lib-0.0.8.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ac8b4e90f6c2caf2aa7629c898fcf8b04c8a2986ccefb4ebcf33b242ebf4682
|
|
BLAKE2b-256 checksum How to use checksums |
ccb343662cead89a486650f252b5b0ac6e4d08a6a8b331ed83957a0ccad24543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / themoviedb_lib-0.0.8-py3-none-any.whl
| Download URL | themoviedb_lib-0.0.8-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9860d200be7bc90399c473d7971ddfc13d01c45ff903b6928a0bdae9b5a3d01
|
|
BLAKE2b-256 checksum How to use checksums |
c5076e9eb79a027563518384221769fdbdb27e54b10378382510b12ad497c0d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for themoviedb-lib 0.0.8
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.