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-0.1.0.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

o7util-0.1.0-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file o7util-0.1.0.tar.gz.

File metadata

  • Download URL: o7util-0.1.0.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for o7util-0.1.0.tar.gz
Algorithm Hash digest
SHA256 65dfe6d009c32451a6309304211d7d8806b5eb960773cfac09bfe0aa292e2ec7
MD5 891723ff66396bd072d6ba860183f7ac
BLAKE2b-256 2733f8821f91c37a6d130e98733d2256148a7420aeac37539e2272a2e38d51b6

See more details on using hashes here.

File details

Details for the file o7util-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: o7util-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for o7util-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c735b4d6b3a7de29ae1034823895db2b7dc049d18f11b5205ccd275da4e67fba
MD5 9791c09774b87f6425c1f461f1589050
BLAKE2b-256 a1d0cca19cb5c3f4f7db4dbe9ebc293f663787a829d1f334addbed0c95d49979

See more details on using hashes here.

Supported by

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