Cinemagoer (previously known as IMDbPY) is a Python package for retrieving and managing IMDb data about movies, people and companies from IMDb non-commercial downloadable datasets.
This project and its authors are not affiliated in any way to Internet Movie Database Inc.; see the DISCLAIMER.txt file for details about data licenses.
Main features
written in Python 3
platform-independent
simple and complete API
released under the terms of the GPL 2 license
Cinemagoer powers many other software and has been used in various research papers. Curious about that?
Installation
Whenever possible, please use the latest version from the repository:
pip install git+https://github.com/cinemagoer/cinemagoer
But if you want, you can also install the latest release from PyPI:
pip install cinemagoer
This base installation includes native SQLite support. To use PostgreSQL, MariaDB, MySQL, or an explicitly selected SQLAlchemy dialect, install the optional integration and your chosen database driver:
pip install "cinemagoer[sqlalchemy]"
Example
Here’s an example that demonstrates how to use Cinemagoer:
s32cinemagoer.py /path/to/imdb-tsv-files/ sqlite:///cinemagoer.db
from imdb import Cinemagoer
# Open the SQLite database populated with s32cinemagoer.py.
ia = Cinemagoer('s3', uri='sqlite:///cinemagoer.db')
# get a movie
movie = ia.get_movie('0133093')
# print the names of the directors of the movie
print('Directors:')
for director in movie['directors']:
print(director['name'])
# print the genres of the movie
print('Genres:')
for genre in movie['genres']:
print(genre)
# search for a person name
people = ia.search_person('Mel Gibson')
for person in people:
print(person.personID, person['name'])
Getting help
Please refer to the support page on the project homepage and to the the online documentation on Read The Docs.
The sources are available on GitHub.
Contribute
Visit the CONTRIBUTOR_GUIDE.rst to learn how you can contribute to the Cinemagoer package.
License
Copyright (C) 2004-2026 Davide Alberani <da@mimante.net> et al.
Cinemagoer is released under the GPL license, version 2 or later. Read the included LICENSE.txt file for details.
NOTE: For a list of persons who share the copyright over specific portions of code, see the CONTRIBUTORS.txt file.
NOTE: See also the recommendations in the DISCLAIMER.txt file.
Release files for cinemagoer 2026.8.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cinemagoer-2026.8.20.tar.gz | 143.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cinemagoer-2026.8.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 332.6 kB
Release files / cinemagoer-2026.8.20.tar.gz
| Download URL | cinemagoer-2026.8.20.tar.gz |
|---|---|
| Size | 143.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99b99fe30582ddbfb08db0dd8af712bd55c11da7c3155e07a19ac6b5ecd677aa
|
|
BLAKE2b-256 checksum How to use checksums |
0fba47ff38d8c97e803f2a0e17d6a98d7d963cad6a542221c811483f5fb96b18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / cinemagoer-2026.8.20-py3-none-any.whl
| Download URL | cinemagoer-2026.8.20-py3-none-any.whl |
|---|---|
| Size | 188.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b4a031515107709a281629395ba300e9060f584b17fe343b480062ffd0f713b
|
|
BLAKE2b-256 checksum How to use checksums |
bff07c5cd3aa1648348c009f12b84c67959ec0c54a9b989d045b668673551676
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|