Description of the repo here
Generated using tree -L 2 -I "_*" (need to install via brew install tree)
.
├── LICENSE
├── Makefile
├── README.md
├── poetry.lock
├── poetry.toml
├── pyproject.toml
├── src
│ └── package
└── test
└── test_example.py- Clone out the package
- Ensure you have a python 3.13 installation active.
- I would recommend doing this via
brew install pyenv, and then runpyenv install 3.13to install, and then runpyenv shell 3.13.0(or whatever version installed). pyenvis not available on Windows. Best alternative is Python install manager (check here) oruvitself.- Open a window in your IDE terminal and run
make install- This will update
pip,uvand then install the packages viauv - It will also set up the .venv folder with a symlink to the right python version, so you wont have to run the pyenv/pymanager shell again
- This will update
- Ensure that your VSCode Python interpreter is pointing to the python in
.venv/bin/python(open the command palette and click onPython: Select Interpreter. The created python interpreter/env should be listed asRecommended) - Validate all your code formatting and tests via
make precommit,make tests(ormake allto run both) manually.
- Dependencies are added to the
pyproject.tomlfile under thedependenciessection. It is very simple, let's say you want to add pandas v2, you just add the line"pandas>=2.0.0". - When dependencies are updated, you need to run
uv syncto reflect the changes in your lock file. - Run
make installagain to update the dependencies in your local virtual environment.
For more details on uv usage https://docs.astral.sh/uv/guides/install-python/