Skip to content

imdby is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies.

License

Notifications You must be signed in to change notification settings

santhoshse7en/imdby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI Version License Documentation Status

imdby

imdby is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, person, characters, companies, events and news.

Source Link
PyPI: https://pypi.org/project/imdby/
Repository: https://github.com/santhoshse7en/imdby/
Documentation: https://santhoshse7en.github.io/imdby_doc/

Main features

  • imdby is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, person, characters, companies, events and news.
  • Sentiment Analysis for IMDb user reviews is included.

  • written in Python 3 (compatible with Python 2.7)

  • platform-independent

  • can retrieve data from both the IMDb's web server, or a local copy of the database

  • simple and complete API

Dependencies

  • beautifulsoup4
  • selenium
  • chromedriver-binary
  • vaderSentiment
  • textblob
  • pandas

Installation

Whenever possible, please use the latest version from the repository:

pip install git+https://github.com/santhoshse7en/imdb

But if you want, you can also install the latest release from PyPI:

pip install imdby

A Glance

Download it by clicking the green download button here on Github. Here's an example that demonstrates how to use imdby:

# create an instance of the IMDb class
from imdb.imdb import IMDb

ia = IMDb()

# get a movie
cast = ia.full_cast_and_crew('tt4154796')

# print the names of the directors of the movie
print('Directors:')
for director in cast.directors:
    print(director)

# search for a person name
people = ia.search_person('Simon Baker')
print(people.person_id, people.person_name)

Getting help

Please refer to the the online documentation on Read The Docs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Releases

No releases published

Packages

No packages published

Languages