Skip to content

TheDataCity/tdc-python-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tdc-python-utils

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.

Set-up

  1. Clone the repository

  2. Install uv if you haven't already.

  3. Run uv sync

Publishing a release

After making your changes:

  1. Run uv run ruff check and fix any errors. Commit changes to GitHub

  2. Set the new version number in pyproject.toml

  3. Ensure twine can see your environment variables:

    set -a        # turn on auto-export
    source .env  # load variables AND export them
    set +a        # turn auto-export back off
  4. Make the build: uv build

  5. Publish the release:

    uv run twine upload --repository testpypi dist/tdc_python_utils-X.Y.Z*

    where X.Y.Z is the version number to publish.

About

Python utility package for The Data City

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages