π¬ imdby
imdby is a Python package designed to retrieve and manage data from the IMDb database β including information about movies, people, characters, companies, events, and news.
π Project Links
Resource | Link |
---|---|
π PyPI | imdby on PyPI |
π Repository | GitHub Repo |
π Documentation | imdby Docs |
π Features
- Retrieve and manage comprehensive IMDb data: movies, people, characters, companies, and more.
- Perform sentiment analysis on IMDb user reviews using VADER and TextBlob.
- Compatible with Python 3 (and backward-compatible with Python 2.7).
- Platform-independent and supports both web scraping and local database querying.
- Clean and easy-to-use API.
π¦ Dependencies
beautifulsoup4
selenium
chromedriver-binary
vaderSentiment
textblob
pandas
π₯ Installation
Install from the GitHub repository (recommended for the latest updates):
pip install git+https://github.com/santhoshse7en/imdb
Or install the latest release from PyPI:
pip install imdby
β¨ Quick Start
Hereβs a quick example of how to use imdby:
from imdb.imdb import IMDb
# Create an instance
ia = IMDb()
# Fetch full cast and crew of a movie by IMDb ID
cast = ia.full_cast_and_crew('tt4154796')
# Print the directors
print('Directors:')
for director in cast.directors:
print(director)
# Search for a person
people = ia.search_person('Simon Baker')
print(people.person_id, people.person_name)
π Getting Help
For comprehensive usage guides and API reference, check out the official documentation.
π€ Contributing
We welcome contributions! If youβre planning a significant change, please open an issue first to discuss your ideas. Make sure to update or add relevant tests.
π₯ Contributors
Big thanks to all the contributors who help make imdby better:
- Sai Harsha Kurapati β @harshasic
Want to contribute? Fork the repo and send a pull request!
π License
This project is licensed under the MIT License.