Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/extrange/python-utils
Collection of commonly used Python utility functions.
https://github.com/extrange/python-utils
Last synced: about 1 month ago
JSON representation
Collection of commonly used Python utility functions.
- Host: GitHub
- URL: https://github.com/extrange/python-utils
- Owner: extrange
- Created: 2024-08-18T05:16:20.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T12:09:38.000Z (4 months ago)
- Last Synced: 2024-08-26T14:19:29.089Z (4 months ago)
- Language: Python
- Homepage:
- Size: 132 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Utilities
Collection of various, often reused Python utility functions.
All functions here are covered by tests.
This library has no other dependencies other than Python.
## Usage
Install:
```
pip install git+https://github.com/extrange/python-utils
```Usage:
```
from python_utils import format_hhmmss# Use functions as per normal
```## Development Notes
[Install `uv`](https://docs.astral.sh/uv/getting-started/installation/), then activate the venv with `source .venv/bin/activate`.
Testing: `pytest --cov-report html --cov src`
When making **breaking changes** (e.g. removing functions and/or making parameters incompatible), update the major version number (i.e. 1.0.0 -> 2.0.0).
For compatible changes, (e.g. adding functions) update the minor version number (i.e. 1.0.0 -> 1.1.0).
For bugfixes, update the patch version (i.e. 1.0.0 -> 1.0.1).
For more information, refer to [Semver](https://semver.org/).
Running tests: