A collection of utility functions for Python
Project description
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
Project details
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 o7util-1.0.0.tar.gz.
File metadata
- Download URL: o7util-1.0.0.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
670e918469557f8dd4e8c3913641213b495efb2a1188490642d0d52b66ddcd70
|
|
| MD5 |
97d60847e36eae7bd52a3268cccc4b50
|
|
| BLAKE2b-256 |
08f8ef084c5ea4c7d5f80e4aa308fe498e8c71d50a0741d294b1152774cee506
|
Provenance
The following attestation bundles were made for o7util-1.0.0.tar.gz:
Publisher:
python-publish.yml on o7conseils/o7-util
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
o7util-1.0.0.tar.gz -
Subject digest:
670e918469557f8dd4e8c3913641213b495efb2a1188490642d0d52b66ddcd70 - Sigstore transparency entry: 312815850
- Sigstore integration time:
-
Permalink:
o7conseils/o7-util@cba396dc551634732d72286e81f33d9d4f28451b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/o7conseils
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cba396dc551634732d72286e81f33d9d4f28451b -
Trigger Event:
push
-
Statement type:
File details
Details for the file o7util-1.0.0-py3-none-any.whl.
File metadata
- Download URL: o7util-1.0.0-py3-none-any.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
619f4684d9fbe937038d74202b9f383aadca6f68fa23967bcf836fbc5cb38023
|
|
| MD5 |
7c88763d5f7375ffb68f67b707a9d130
|
|
| BLAKE2b-256 |
69e903641c54b6e8ec242c0338955f7f18934452e53bed6e261249469c9c418a
|
Provenance
The following attestation bundles were made for o7util-1.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on o7conseils/o7-util
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
o7util-1.0.0-py3-none-any.whl -
Subject digest:
619f4684d9fbe937038d74202b9f383aadca6f68fa23967bcf836fbc5cb38023 - Sigstore transparency entry: 312815861
- Sigstore integration time:
-
Permalink:
o7conseils/o7-util@cba396dc551634732d72286e81f33d9d4f28451b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/o7conseils
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cba396dc551634732d72286e81f33d9d4f28451b -
Trigger Event:
push
-
Statement type: