Skip to main content

A moviefinder based on IMDB rating

Project description

Repo made because I was frustrated with IMDB's search engine or lack hereof.

imdb_moviefinder makes use of year, rating, votes and genres to find movies of your liking. Use as you please.

A clean installation using jupyter lab as interactive interpreter can be done as so:

conda create -name imdb python 3.9

conda activate imdb

pip install movieFinderIMDB

conda install jupyterlab

From here I'd open jupyterlab and with jupyter lab and run the code below

import movieFinder
movieFinder.store_movies() # this may take a while as it downloads, unpacks and compress a couple of large files
import pandas as pd
df = pd.read_pickle('all_movies.pkl')
mf = movieFinder.imdb_moviefinder(df)
movies = mf.search_movies(year_from=2015, year_to=2021, genre='Sci-Fi', num_votes_from=100000, average_rating_from=7)
movies

This will show the some great movies from 2015 to 2021. Note that genres hold the following possibilities:

genres: ['Comedy' 'Drama' 'Action' 'Animation' 'Horror' 'Biography' 'Adventure'
 'Documentary' 'Crime' 'Fantasy' 'Thriller' 'Mystery' 'Romance' 'Family'
 'Western' 'Musical' 'Sci-Fi' 'History' 'Music' 'Sport' 'War'] 

If interest exist you can add the release date to the dataframe as done below, beware though, that this might take a few minutes as it depends on IMDB's website itself.

mf.get_release_month(movies)

Change Log

0.0.1 (13/08/2021)

  • First Release

0.0.2 (13/08/2021)

  • Fixed imdbpy

0.0.3 (13/08/2021)

  • Fixed setup.py requires

0.0.4 (13/08/2021)

  • Populated Readme

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

movieFinderIMDB-0.0.4.tar.gz (11.1 MB view hashes)

Uploaded Source

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