Name | yumako JSON |
Version |
0.1.13
JSON |
| download |
home_page | None |
Summary | Vanilla python utilities, for humans. |
upload_time | 2025-01-23 08:38:53 |
maintainer | None |
docs_url | None |
author | Nanw1103 |
requires_python | >=3.9 |
license | MIT |
keywords |
util
vanilla
for humans
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Yumako 
Vanilla python utilities, for humans.
[](https://badge.fury.io/py/yumako)
[](https://pypi.org/project/yumako/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/psf/black)
[](https://github.com/astral-sh/ruff)
[](https://mypy-lang.org/)
[](https://pycqa.github.io/isort/)
[](https://github.com/yumako/yumako)
[](https://pepy.tech/projects/yumako)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/PyCQA/bandit)
[](https://sourcery.ai)
[](https://github.com/pylint-dev/pylint)
Install:
```bash
pip install yumako
# Yumako utilities are based on vanilla python: no other dependencies.
```
Usage:
```python
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)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "yumako",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "util, vanilla, for humans",
"author": "Nanw1103",
"author_email": "nanw1103@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f1/d2/1e3fb8a176e673fa967d8a47184abc29a74d6ded52b3aaf91f216cea1e9e/yumako-0.1.13.tar.gz",
"platform": null,
"description": "# Yumako  \n\nVanilla python utilities, for humans.\n\n[](https://badge.fury.io/py/yumako)\n[](https://pypi.org/project/yumako/)\n[](https://opensource.org/licenses/MIT)\n[](https://github.com/psf/black)\n[](https://github.com/astral-sh/ruff)\n[](https://mypy-lang.org/)\n[](https://pycqa.github.io/isort/)\n[](https://github.com/yumako/yumako)\n[](https://pepy.tech/projects/yumako)\n[](https://github.com/pre-commit/pre-commit)\n[](https://github.com/PyCQA/bandit)\n[](https://sourcery.ai)\n[](https://github.com/pylint-dev/pylint)\n\n\n\n\n\nInstall:\n```bash\npip install yumako\n\n# Yumako utilities are based on vanilla python: no other dependencies.\n```\n\nUsage:\n```python\nimport yumako\n# Yumako submodules are loaded only when needed.\n\n# ---------------------------------------\n# Yumako utilities are designed for human\n# ---------------------------------------\nprint(yumako.time.of(\"2025-01-17H23:00:00.000-05:00\")) # most popular time formats\nprint(yumako.time.of(\"-3d\")) # most intuitive human-friendly formats\n\nseconds = yumako.time.duration(\"3m4s\") # 3m4s -> 184 seconds\ndelta = timedelta(seconds=seconds)\nprint(yumako.time.display(delta)) # 3m4s\n\n# ---------------------------------------\n# Yumako utilities are highly performant\n# ---------------------------------------\nlru = yumako.lru.LRUDict()\nlru[1] = True\nlru[\"hello\"] = \"mortal\"\nprint(lru)\n\nlru_set = yumako.lru.LRUSet()\nlru_set.add(\"\u30e6\u30de\u679c\")\nprint(lru_set)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Vanilla python utilities, for humans.",
"version": "0.1.13",
"project_urls": null,
"split_keywords": [
"util",
" vanilla",
" for humans"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0ceebe2880b336cdfdad2e13377c2f40bfb4bc99423e8f42b60de07eba11a656",
"md5": "a188af0c7e31a818c4138e1e6262e107",
"sha256": "abdb0205e795df3433449f62ae0fc1a038137f774c1f2c3526b6fbc871f0c680"
},
"downloads": -1,
"filename": "yumako-0.1.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a188af0c7e31a818c4138e1e6262e107",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9743,
"upload_time": "2025-01-23T08:38:51",
"upload_time_iso_8601": "2025-01-23T08:38:51.873940Z",
"url": "https://files.pythonhosted.org/packages/0c/ee/be2880b336cdfdad2e13377c2f40bfb4bc99423e8f42b60de07eba11a656/yumako-0.1.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f1d21e3fb8a176e673fa967d8a47184abc29a74d6ded52b3aaf91f216cea1e9e",
"md5": "27357d5532ac9c06dbedb7272974d32f",
"sha256": "3e4c42cb1f2ae120d856cb566464d2623ab7a37c8369a5f0f99d10a978394e63"
},
"downloads": -1,
"filename": "yumako-0.1.13.tar.gz",
"has_sig": false,
"md5_digest": "27357d5532ac9c06dbedb7272974d32f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 9899,
"upload_time": "2025-01-23T08:38:53",
"upload_time_iso_8601": "2025-01-23T08:38:53.514055Z",
"url": "https://files.pythonhosted.org/packages/f1/d2/1e3fb8a176e673fa967d8a47184abc29a74d6ded52b3aaf91f216cea1e9e/yumako-0.1.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-23 08:38:53",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "yumako"
}