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.2.tar.gz (129.9 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.2-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: imdbio-0.0.2.tar.gz
  • Upload date:
  • Size: 129.9 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.2.tar.gz
Algorithm Hash digest
SHA256 59e50a7f35335fdd0ea690fcf0688a52531bac8ab35b8c4ca669e173e143464b
MD5 01b546a12232ee3e88493e873fbe7b3f
BLAKE2b-256 44ed370f8113011b8a10654be61633d67b6def9fca197d5d6ec1ce3b7c25fb71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: imdbio-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 22df8ed1292b23384e055e48f70b38768d5688a6299bb5229bb6ef60ab1a3aa2
MD5 b4ed4c58bb7394bbf31be2781fce0f58
BLAKE2b-256 ca9e732205de6c542bf4f6fe569828aa145dacf2de4f864a4dceea0ecd808dc2

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