Skip to main content

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==0.0.5

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

0.0.5 (13/08/2021)

  • Edited README

Metadata

Release files for movieFinderIMDB 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for movieFinderIMDB 0.0.5
File Size Uploaded
movieFinderIMDB-0.0.5.tar.gz 11.1 MB Details

Release files / movieFinderIMDB-0.0.5.tar.gz

Download URL movieFinderIMDB-0.0.5.tar.gz
Size 11.1 MB
Tags Source
SHA-256 checksum
How to use checksums
404a2606ccd18b26bd50221a7bfe78ba85d99733f2559579e8c18a8e4a4476c7
BLAKE2b-256 checksum
How to use checksums
679b1b5c63255bb1efb447b6c28e0f71a568ff2ae5a722edc254ed62a823c911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page