Skip to main content

Python package to access the IMDb's database

Project description

PyPI Version Coverage Status License Documentation Status

imdby

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

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, people, characters and companies. Sentiment Analysis for IMDb user reviews are included.
  • imdby package can be very easily used by programmers and developers to provide access to the IMDb's data to their programs.

  • Platform-independent and written in Python 3 it can retrieve data from both the IMDb's web server and a local copy of the whole database.

  • Some simple example scripts - useful for the end users - are included in this package;

imdby powers many other software and has been used in various research papers. Curious about that?

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 imdby.imdb import imdb

# get a movie
details = imdb('tt4154796')

# print the names of the directors of the movie
print('Directors:')
for i in range(len(details.directors)):
    print(details.directors[i])

# print the genres of the movie
print('Genres:')
for i in range(len(details.genre)):
    print(details.genre[i])

Directory of IMDb class

dir

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

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

imdby-0.0.9.tar.gz (13.2 kB view details)

Uploaded Source

File details

Details for the file imdby-0.0.9.tar.gz.

File metadata

  • Download URL: imdby-0.0.9.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for imdby-0.0.9.tar.gz
Algorithm Hash digest
SHA256 b4ddd68b71279bdc784bf5f39eff9cf259ddfc71431a0f569e3aa6f009fccbd1
MD5 83ac48817ce8ff95ad064a5f8d564098
BLAKE2b-256 68d8ce22b6d8ae05ccaec14571bc2b463af0061e5a0943acebb64ed58e9c4ec3

See more details on using hashes here.

Supported by

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