Utility functions and helpers for the T3 API ecosystem
Project description
t3api-python-utils
Utility functions and helpers for the T3 API ecosystem.
This library is designed to support development of tools and clients that integrate with the Track & Trace Tools (T3) platform and Metrc data. It includes shared logic, validation helpers, transformation utilities, and other reusable Python components.
🚀 Getting Started
1. Clone the repo
git clone https://github.com/classvsoftware/t3api-python-utils.git
cd t3api-python-utils
2. Create virtual environment with uv
uv venv
source .venv/bin/activate
3. Install the package (editable mode)
uv pip install -e .
🧪 Running Tests
pytest
Add test modules under the tests/ directory.
🛠️ Development Tips
- All core source files live in the
t3api_python_utils/directory. - Add type annotations and follow PEP 8 and mypy strict rules.
📦 Building the Package
Make sure your virtualenv is activated:
uv pip install build
python -m build
This generates .tar.gz and .whl files inside the dist/ folder.
🚀 Publishing to PyPI
1. Install Twine
uv pip install twine
2. Upload to TestPyPI (recommended for first-time testing)
twine upload --repository testpypi dist/*
Test it via:
uv pip install --index-url https://test.pypi.org/simple/ t3api-python-utils
3. Upload to PyPI (when ready)
twine upload dist/*
You’ll need a valid .pypirc file or Twine will prompt for your PyPI credentials.
📎 License
Licensed under the GNU General Public License v3.0.
🔗 Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file t3api_utils-1.5.0.tar.gz.
File metadata
- Download URL: t3api_utils-1.5.0.tar.gz
- Upload date:
- Size: 120.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec734cfaeec7ba411ebe6bc7f49da21cb8a43a52493f0ccc897a48d3025a44f2
|
|
| MD5 |
2bbf7f8d076980bcaf5ba713e2edd37d
|
|
| BLAKE2b-256 |
b8bdcaff7d3a8cc8c31cb76f76b1192014cc3cbb43ef2c8a7af07d175b0d8859
|
File details
Details for the file t3api_utils-1.5.0-py3-none-any.whl.
File metadata
- Download URL: t3api_utils-1.5.0-py3-none-any.whl
- Upload date:
- Size: 92.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3223254437c272346638b46a6f479c7864047d8195bd78e6a7022d226e74e9e0
|
|
| MD5 |
19d2842cac360a091d0d33a751a78363
|
|
| BLAKE2b-256 |
324c7e4435483bf7c37d6be374a45960c4fb7f0feb6a602f010c84d8c1f7444a
|