Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 801 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 801 Bytes

DataPao IMDB Challenge

Author: András Novoszáth

Environment setup

Requires poetry >=v1.1.12 (installation)

poetry shell
poetry install

Parameters

You can define some parameters in .env:

  • MOVIES_PATH: the path and filename of the results
  • TOP_NUMBER: the number of top movies to collect information about

Running the script

imdb_quest.py contains the main script including the three functions.

From shell

python -m imdb_quest

From IDE

imdb_quest.py uses the Jupytext percentage format. This allows you to run the script interactively in IDEs like VSCode.

Tests

pytest test_imdb_quest.py