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.25.tar.gz
(19.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.25-py3-none-any.whl
(21.5 kB
view details)
File details
Details for the file yumako-0.1.25.tar.gz.
File metadata
- Download URL: yumako-0.1.25.tar.gz
- Upload date:
- Size: 19.0 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 |
ec8185b1c0f65e5dc4036fbbc7d759779155f992b9f1e233b5ca557b013065b3
|
|
| MD5 |
e5c57fa5d719761f0ecef83aaa393157
|
|
| BLAKE2b-256 |
bd7ac5a80e66ff4ea53e800c77f2e2385d63a24c206a51f73f8e2130e4a26e62
|
File details
Details for the file yumako-0.1.25-py3-none-any.whl.
File metadata
- Download URL: yumako-0.1.25-py3-none-any.whl
- Upload date:
- Size: 21.5 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 |
345c01c0fb14e254871ae6ad163be36e1977ea97be02f3b84cf3e15fd41d3bc9
|
|
| MD5 |
d275c560226cde9575a2c34cda457aa6
|
|
| BLAKE2b-256 |
ebcf170c2262dcc64179d53263c71b565d5484e43f3f479f325b8e60b13874a7
|