Yet another python utilities, with the goal of collecting useful bicycles and crutches in one place ;).
Project description
pure-utils
Yet another python utilities, with the goal of collecting useful bicycles and crutches in one place ;).
Main principles:
- No third party dependencies (standart library only).
- Mostly pure functions without side effects.
- Interfaces with type annotations.
- Comprehensive documentation with examples of use.
- Full test coverage.
For detail information read the doc.
Available utilities
- common - The common purpose utilities.
- Singleton - A metaclass that implements the singleton pattern for inheritors.
- strings - Utilities for working with strings.
- dt - Utilities for working with datetime objects.
- apply_tz - Apply timezone context to datetime object.
- iso2format - Convert ISO-8601 datetime string into a string of specified format.
- iso2dmy - Convert ISO-8601 datetime string into a string of DMY (DD.MM.YYYY) format.
- iso2ymd - Convert ISO-8601 datetime string into a string of YMD (YYYY-MM-DD) format.
- round_by - Round datetime, discarding excessive precision.
License
MIT License.
Copyright (c) 2024 Peter Bro <p3t3rbr0@gmail.com || peter@peterbro.su>
See LICENSE file for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pure-utils-0.3.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for pure_utils-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f92c761ba443b237e51088ac5d0d8a73a5cab0e34651dfcfed204d951db5d151 |
|
MD5 | 59712327092e65a9fe725cb4f6386a2d |
|
BLAKE2b-256 | d6e2d65e1251750f99de33f406f03db904eb5e7397311eae86974286a3e97a44 |