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==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
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
File details
Details for the file movieFinderIMDB-0.0.5.tar.gz.
File metadata
- Download URL: movieFinderIMDB-0.0.5.tar.gz
- Upload date:
- Size: 11.1 MB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
404a2606ccd18b26bd50221a7bfe78ba85d99733f2559579e8c18a8e4a4476c7
|
|
| MD5 |
3738f4ba7dc3881f4522a5ae13ab91a2
|
|
| BLAKE2b-256 |
679b1b5c63255bb1efb447b6c28e0f71a568ff2ae5a722edc254ed62a823c911
|