Retrieve data from IMDb.
Project description
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
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cinemagoer-2026.6.27.tar.gz.
File metadata
- Download URL: cinemagoer-2026.6.27.tar.gz
- Upload date:
- Size: 134.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0520db0e199cf4cecac79bedba92db797eb5ac553dc8ec183930ca1fbd4e91b2
|
|
| MD5 |
418aeb86036d2fd1efa7e14f5fa33a60
|
|
| BLAKE2b-256 |
58df5803d728d9f490132724ce74483bdf76d3307d9a988b7f8715feeb9c331e
|
File details
Details for the file cinemagoer-2026.6.27-py3-none-any.whl.
File metadata
- Download URL: cinemagoer-2026.6.27-py3-none-any.whl
- Upload date:
- Size: 182.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c0c4f544289ed1aaa81b8d4fc8f6a449777f37fe2c31212d5ef6c8bcd37e72
|
|
| MD5 |
43e6b710ea219c343b2d4e88f92b2acf
|
|
| BLAKE2b-256 |
d7fa6dca3f512e826bfd8b826881f7fc9797cb5cd01973bb70d2715d849695fc
|