Vanilla python utilities, for humans.
Project description
Yumako 
Vanilla python utilities, for humans.
What Yumako should include
- Human-friendly utilities.
- Utilities that are for generic use cases, not domain-specific.
- High performance utilities.
- Utilities based on vanilla python, no external dependencies.
Install:
pip install yumako
# Yumako utilities are based on vanilla python: no other dependencies.
Usage:
import yumako
# Yumako submodules are loaded only when needed.
# ---------------------------------------
# Yumako utilities are designed for human
# ---------------------------------------
print(yumako.time.of("2025-01-17H23:00:00.000-05:00")) # most popular time formats
print(yumako.time.of("-3d")) # most intuitive human-friendly formats
seconds = yumako.time.duration("3m4s") # 3m4s -> 184 seconds
delta = timedelta(seconds=seconds)
print(yumako.time.display(delta)) # 3m4s
# ---------------------------------------
# Yumako utilities are highly performant
# ---------------------------------------
lru = yumako.lru.LRUDict()
lru[1] = True
lru["hello"] = "mortal"
print(lru)
lru_set = yumako.lru.LRUSet()
lru_set.add("ユマ果")
print(lru_set)
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
yumako-0.1.14.tar.gz
(11.1 kB
view details)
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
yumako-0.1.14-py3-none-any.whl
(11.4 kB
view details)
File details
Details for the file yumako-0.1.14.tar.gz.
File metadata
- Download URL: yumako-0.1.14.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.0 CPython/3.11.10 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f110a70137109014faf31a081021b48bd10557676ae3f6cfd2caa294b06324e3
|
|
| MD5 |
b5b7823bd921eb41171464cffaf81886
|
|
| BLAKE2b-256 |
3512f00bcf61ee3b0fd72940b258faa2a01d19d4792caa25df4f284ec10106ea
|
File details
Details for the file yumako-0.1.14-py3-none-any.whl.
File metadata
- Download URL: yumako-0.1.14-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.0 CPython/3.11.10 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a333323949eedf26a65f3b1e614269159567b659168aeb9d32762b70dc9dbb10
|
|
| MD5 |
56153c12af121dde6e11050ed10c52e3
|
|
| BLAKE2b-256 |
b8723490645d86817d5f0f660ab8880f6108ea2475034bb4cc207cd93f18cd9f
|