Python SDK for DropThe.org entity data — 1.9M movies, people, companies, crypto, games, and more.
Project description
dropthe
Python SDK for DropThe.org — access 1.9 million entities across movies, people, companies, crypto, games, universities, and more, connected by 2.18 million knowledge graph links.
Install
pip install dropthe
For pandas DataFrame support:
pip install dropthe[pandas]
Quick Start
import dropthe
# Search any entity
results = dropthe.search("Inception")
print(results[0]["name"]) # Inception
# Get a specific entity by slug
btc = dropthe.entity("bitcoin")
print(btc["type"]) # cryptocurrencies
# Top movies by popularity
top_movies = dropthe.movies(limit=10)
# Top crypto by market cap
top_crypto = dropthe.crypto(limit=10)
# Companies, games, universities
top_companies = dropthe.companies(limit=10)
top_games = dropthe.games(limit=10)
unis = dropthe.universities(limit=10)
Using the Client
For more control, use DropTheClient directly:
from dropthe import DropTheClient
with DropTheClient() as client:
# Search with type filter
movies = client.search("dark knight", type="movies")
# Get entity count
total = client.count()
print(f"Total entities: {total:,}") # Total entities: 1,933,637
# Get knowledge graph links
entity = client.search("Christopher Nolan", type="people")[0]
links = client.links(entity["id"])
# Geographic data (countries, cities)
countries = client.geo("country")
Pandas DataFrames
import dropthe
# Get top movies as DataFrame
df = dropthe.movies(limit=100, as_dataframe=True)
print(df[["name", "slug"]].head())
Entity Types
| Type | Count | Examples |
|---|---|---|
| people | 1,550,000+ | Actors, directors, musicians, athletes |
| movies | 208,000+ | Films from 1888 to 2026 |
| series | 44,000+ | TV shows, anime, K-drama |
| games | 44,000+ | Video games across all platforms |
| universities | 27,000+ | Global institutions |
| companies | 19,000+ | Public and private companies |
| cryptocurrencies | 16,000+ | Active and dead tokens |
| apps | 7,000+ | Software applications |
| books | 5,700+ | Literature and non-fiction |
Data Sources
All data comes from authoritative APIs (TMDb, CoinGecko, Wikidata, IGDB) and is enriched by DropThe's entity resolution pipeline. See the methodology for details.
Links
- DropThe.org -- Main site
- Data Hub -- Statistics and insights
- Knowledge Graph -- Entity connections
- Open Datasets -- CSV datasets on GitHub
License
MIT
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 dropthe-0.1.0.tar.gz.
File metadata
- Download URL: dropthe-0.1.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1581a4da3e1b51075cc533537addc2eed2258307494eb38d6543326c1a0c87d5
|
|
| MD5 |
1cebac452ac7d9c4b62cc61922151777
|
|
| BLAKE2b-256 |
afdc42fe707772647930d37b65ef590735f973e21900ee0f277c9db9d6b4f134
|
File details
Details for the file dropthe-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dropthe-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb491a2f65d0b1b326139fba83e0795fa350f2cb16136b5cc2612962b933e929
|
|
| MD5 |
9ae9fbdf2fa5077ff7719d2fb38bba62
|
|
| BLAKE2b-256 |
7718c5bb1562dce48af9dd17916123c9e0fbdeb38559894f018a54c048c344de
|