o7-util
O7 Python library of useful & common modules
Dev Notes
lint code: pylint src
Reformat to Black: black src
Unit Test: pytest
Unit Test + Coverage: pytest --cov=o7util --cov-report=term --cov-report=html --cov-branch tests/test_color.py
Set up git hooks
Very useful to apply formatting and make lint checks before commits
- Run :
git config --local core.hooksPath .githooks/
Semantic Release
Ref: https://python-semantic-release.readthedocs.io/en/latest/
- Test :
semantic-release --noop version - Real :
semantic-release version
Commit Message Convention
Commit Message Header <type>(<scope>): <short summary>
Possible Type:
- build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- ci: Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)
- docs: Documentation only changes
- feat: A new feature
- fix: A bug fix
- perf: A code change that improves performance
- refactor: A code change that neither fixes a bug nor adds a feature
- test: Adding missing tests or correcting existing tests
Ref: https://github.com/angular/angular/blob/main/CONTRIBUTING.md#-commit-message-format
Regenerate requirements.txt
pip install pip-tools
pip-compile pyproject.toml
Metadata
Release files for o7util 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| o7util-1.0.0.tar.gz | 34.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| o7util-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.6 kB
Release files / o7util-1.0.0.tar.gz
| Download URL | o7util-1.0.0.tar.gz |
|---|---|
| Size | 34.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
670e918469557f8dd4e8c3913641213b495efb2a1188490642d0d52b66ddcd70
|
|
BLAKE2b-256 checksum How to use checksums |
08f8ef084c5ea4c7d5f80e4aa308fe498e8c71d50a0741d294b1152774cee506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 25, 2025.
Transparency logRelease files / o7util-1.0.0-py3-none-any.whl
| Download URL | o7util-1.0.0-py3-none-any.whl |
|---|---|
| Size | 34.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
619f4684d9fbe937038d74202b9f383aadca6f68fa23967bcf836fbc5cb38023
|
|
BLAKE2b-256 checksum How to use checksums |
69e903641c54b6e8ec242c0338955f7f18934452e53bed6e261249469c9c418a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 25, 2025.
Transparency log