Skip to main content

A Python service for querying IMDb data

Project description

PyPI Downloads PyPI Version Python Versions

imdbio

Your personal gateway to IMDb data — no API keys required.

Features

  • Search movies, series, and people by name or title
  • Detailed movie info: cast, crew, ratings, box office, company credits
  • TV series support with seasons and episodes
  • Person details with biography, filmography and images
  • Localized results in multiple languages (global or per-request)
  • User reviews, trivia, parental guide, awards info
  • Typed Pydantic models
  • Built-in caching

Installation

pip install imdbio

Quick Start

from imdbio import search_title, get_movie, get_name

# Search for a title
results = search_title("The Matrix")
for movie in results.titles:
    print(f"{movie.title} ({movie.year}) - {movie.imdb_id}")

# Get movie details
movie = get_movie("0133093")
print(movie.title, movie.year, movie.rating, movie.kind)

# Get person details
person = get_name("nm0000206")
print(person.name, person.birth_date)

# Series example
from imdbio import get_season_episodes
episodes = get_season_episodes("tt1520211", season=1)  # Walking Dead
for ep in episodes[:3]:
    print(ep.title, ep.rating)

📝 More examples in the examples folder.

Why choose imdbio?

  • Clean structured data via Pydantic models
  • No API keys or external dependencies
  • Powered by niquests and lxml
  • Ideal for scripts and data analysis

Disclaimer

Not affiliated with IMDb Inc. See DISCLAIMER.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imdbio-0.0.1.tar.gz (127.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imdbio-0.0.1-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file imdbio-0.0.1.tar.gz.

File metadata

  • Download URL: imdbio-0.0.1.tar.gz
  • Upload date:
  • Size: 127.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for imdbio-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4bc263f75502b394a7e528984b4fc11dbf45f556d7c2fd061e27abcd9630e638
MD5 c0b71a2398a097591d62a70d7c2c46f0
BLAKE2b-256 c5dd235c815cfc32484c47d056fdf210d072d2338bfe49be9208202dac1bbeb0

See more details on using hashes here.

File details

Details for the file imdbio-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: imdbio-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for imdbio-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ba52f7610189604597f51475db0367dc70b023ebac001c5abb7274c759e71be
MD5 4c375cb2845e3831eb101e5c190d1e4f
BLAKE2b-256 dfb6ea8cbe1a612593250f266730e32c6d87ad30da44383e71f96ff186759f63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page