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.31.tar.gz
(20.0 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.31-py3-none-any.whl
(22.6 kB
view details)
File details
Details for the file yumako-0.1.31.tar.gz.
File metadata
- Download URL: yumako-0.1.31.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.6 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d9ca4861628f326f8ef502835c8c3d83ba0d83671c4b11ef5e7f09e13d505c0
|
|
| MD5 |
b0928189906a6106279cd43f7c5f0e0d
|
|
| BLAKE2b-256 |
e9e174d7c45fee28fd88a1893c2de6a60f27780fa616aba3ddbade005bfdc260
|
File details
Details for the file yumako-0.1.31-py3-none-any.whl.
File metadata
- Download URL: yumako-0.1.31-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.6 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a75696ef5dfbb591f98ef50e694ae551efa8bc3994d242ccea0bf909390867d6
|
|
| MD5 |
38d687ace0fd2dd509812b04b5a0fd4a
|
|
| BLAKE2b-256 |
f12048e762075faf216971be491fa2857cd2bab818b27505b2541d0a03279066
|