No project description provided
Project description
Yumako 
Vanilla python utilities, for humans.
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")) # Any popular timeformat
print(yumako.time.of("-3d")) # 3 days ago
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.12.tar.gz
(9.8 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
File details
Details for the file yumako-0.1.12.tar.gz.
File metadata
- Download URL: yumako-0.1.12.tar.gz
- Upload date:
- Size: 9.8 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 |
0ac997cfbba7ef306d92f2aae2366d6af4add8d0a350315d089cb75414fe6915
|
|
| MD5 |
7639ca09ce4dae4936f868f985651f01
|
|
| BLAKE2b-256 |
a71e55d1ef9eb58f0bf32588a353628ecb3b3dc646037e96f4f796e3fffce512
|
File details
Details for the file yumako-0.1.12-py3-none-any.whl.
File metadata
- Download URL: yumako-0.1.12-py3-none-any.whl
- Upload date:
- Size: 9.7 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 |
77898551676e4f9c4d29f6062cd3db6863b0ed15f74dfa737547c6dc6da40939
|
|
| MD5 |
63552549787b2304739343f829d0745c
|
|
| BLAKE2b-256 |
fb4a250186070d48cea149a67ab7aba847504be8220a4f46ba0e3f267d5d85c7
|