Skip to main content

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

o7util-1.0.0.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

o7util-1.0.0-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

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

Hashes for o7util-1.0.0.tar.gz
Algorithm Hash digest
SHA256 670e918469557f8dd4e8c3913641213b495efb2a1188490642d0d52b66ddcd70
MD5 97d60847e36eae7bd52a3268cccc4b50
BLAKE2b-256 08f8ef084c5ea4c7d5f80e4aa308fe498e8c71d50a0741d294b1152774cee506

See more details on using hashes here.

Provenance

The following attestation bundles were made for o7util-1.0.0.tar.gz:

Publisher: python-publish.yml on o7conseils/o7-util

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for o7util-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 619f4684d9fbe937038d74202b9f383aadca6f68fa23967bcf836fbc5cb38023
MD5 7c88763d5f7375ffb68f67b707a9d130
BLAKE2b-256 69e903641c54b6e8ec242c0338955f7f18934452e53bed6e261249469c9c418a

See more details on using hashes here.

Provenance

The following attestation bundles were made for o7util-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on o7conseils/o7-util

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page