A utility package for python users at The Data City.
The aim is to reduce code repetition, increase maintanability of our codebase, and cascade continual improvements into all python-based projects.
Written and maintained by Luke Strange.
-
Clone the repository
-
Install uv if you haven't already.
-
Run
uv sync
After making your changes:
-
Run
uv run ruff checkand fix any errors. Commit changes to GitHub -
Set the new version number in
pyproject.toml -
Ensure
twinecan see your environment variables:set -a # turn on auto-export source .env # load variables AND export them set +a # turn auto-export back off
-
Make the build:
uv build -
Publish the release:
uv run twine upload --repository testpypi dist/tdc_python_utils-X.Y.Z*where
X.Y.Zis the version number to publish.