C2DH / journal-of-digital-history-backend

backend for our Journal of Digital History
MIT License
4 stars 0 forks source link

Generate requirements.txt only with appropriate dependancy #181

Open eliselavy opened 1 year ago

eliselavy commented 1 year ago
pip install pipreqs
pip install nbconvert
jupyter nbconvert --output-dir="./reqs" --to script my\ nb.ipynb
cd reqs
pipreqs

https://towardsdatascience.com/generating-a-requirements-file-jupyter-notebook-385f1c315b52