CinemagoerNG
CinemagoerNG is a Python library and command-line utility for retrieving data from IMDb. It provides a clean, modern API for accessing movie, TV show, and celebrity information from IMDb.
[!Note] This project and its authors are not affiliated with the Internet Movie Database Inc. See the
DISCLAIMER.txtfile for details about terms of use.
Features
- Retrieve comprehensive movie and TV show information.
- Support for alternate titles (AKAs).
- Taglines and parental guide information.
- Episode data for TV series.
- Modern Python typing support.
- Clean, intuitive API.
Installation
CinemagoerNG supports Python 3.11 and later versions. You can install it using pip:
pip install cinemagoerng
Basic usage
Here's a simple example of retrieving movie information:
from cinemagoerng import web as imdb
# Get basic movie information
movie = imdb.get_title("tt0133093") # The Matrix
print(movie.title) # "The Matrix"
print(movie.sort_title) # "Matrix"
print(movie.year) # 1999
print(movie.runtime) # 136
# Access movie genres
for genre in movie.genres:
print(genre) # "Action", "Sci-Fi"
# Get director information
for credit in movie.directors:
print(credit.name) # "Lana Wachowski", "Lilly Wachowski"
Retrieving additional information
You can fetch additional details using the relevant set_ functions:
# Set all taglines
imdb.set_taglines(movie)
for tagline in movie.taglines:
print(tagline)
# Get alternate titles (AKAs)
imdb.set_akas(movie)
for aka in movie.akas:
print(f"{aka.title} ({aka.country})")
Available data
CinemagoerNG can retrieve various types of information:
Basic information
- Title
- Year
- Runtime
- Genres
- Plot summary
- Rating
- Number of votes
Credits
- Directors
- Writers
- Cast members
- Producers
- Composers
- Crew members
Additional details
- Taglines
- Alternative titles (AKAs)
- Episode information (for TV series)
- Parental guide
Development
It is recommended to use uv for development:
# Clone the repository
git clone https://github.com/cinemagoer/cinemagoerng.git
cd cinemagoerng
# Set up environment
uv sync
# Run tests
uv run pytest
# Run type checks
uv run mypy src tests
# Check code style
uv run ruff check --preview src tests
# Test under all supported Python versions
uv run tox
License
This project is licensed under the
GNU Lesser General Public License v3 or later - see the
LICENSE.txt file for details.
Acknowledgments
CinemagoerNG is a modern reimagining of the original Cinemagoer/IMDbPY project. Special thanks to:
- All contributors to the original Cinemagoer (IMDbPY) project.
- The IMDb website for providing the data.
Metadata
Release files for cinemagoerng 0.7
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 |
|---|---|---|---|---|
| cinemagoerng-0.7.tar.gz | 20.8 kB | Without provenance | Details for cinemagoerng-0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cinemagoerng-0.7-py3-none-any.whl | Python 3 | none | any | Details for cinemagoerng-0.7-py3-none-any.whl |
Total release size: 49.1 kB
Release files / cinemagoerng-0.7.tar.gz
| Download URL | cinemagoerng-0.7.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a75535a27ff70251baa2984c44457cfc086fd07c0b69bb2dcfcc20483ed67ee6
|
|
BLAKE2b-256 checksum How to use checksums |
caff4aac2b9ed2ec5ceed96437275ee13e916e31f0307ceeeda0124248e5aac7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / cinemagoerng-0.7-py3-none-any.whl
| Download URL | cinemagoerng-0.7-py3-none-any.whl |
|---|---|
| Size | 28.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a7e977111881f8857eabf24050f2536b9d8db4b13143920df92fb2c3f24d976
|
|
BLAKE2b-256 checksum How to use checksums |
830294d5b3a273aae57224a3b0587f2ae9febc7c08fc5df4e30dbbd4996bfe9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for cinemagoerng 0.7
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.