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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| movieFinderIMDB-0.0.5.tar.gz | 11.1 MB | Without provenance | Details for movieFinderIMDB-0.0.5.tar.gz |
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
|
Security for movieFinderIMDB 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.