This project adopts the new configuration file pyproject.toml
per PEP 518
and uses Poetry as build dependency.
Although Poetry is not required to use this project just for notebook grading,
we recommend installing it for project development.
src/aibuilders_exam
Python source code to grading scriptsexam.ipynb
Jupyter notebook containing exam questionsgrade.py
Grading script forexam.ipynb
- Install the following tools to local development machine:
- Python ≥ 3.7.1, < 3.8.0 (pro tip: use pyenv)
- Poetry 1.2.0a2
- Just
- Pre-commit
- Install dependencies with Poetry
and run post installation script (will install pre-commit hooks)
$ poetry install
$ just post-install
All Python package dependencies are configured in pyproject.toml
.
The pre-commit script will ensure that frozen dependencies
are automatically generated and saved into
poetry.lock
and requirements.txt
.