Install uv (macos and linux)
curl -LsSf https://astral.sh/uv/install.sh | sh
To sync your python env
uv sync
To add dependencies
uv add [blah]
Please test with /notebooks/test_your_env.ipynb
Clean up notebooks before committing
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace notebooks/*.ipynb
nbdev_clean
-
Create new branch
git checkout -b feature/model-training
-
Make changes and commit
git add my_script.py
git commit -m "Added model training script"
-
Push to github
git push origin feature/model-training
-
Open a PR
- Go to the GitHub repository.
- Click "Compare & pull request" next to the branch you pushed.
- Add a title and description.
- Click "Create pull request".