{"id":20839290,"url":"https://github.com/ailln/ashe","last_synced_at":"2026-01-24T03:35:25.373Z","repository":{"id":57411814,"uuid":"285868292","full_name":"Ailln/ashe","owner":"Ailln","description":"✨ ashe is a super extension of Python.","archived":false,"fork":false,"pushed_at":"2024-10-27T12:13:05.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T21:42:56.465Z","etag":null,"topics":["python","python-extension","python-package"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ailln.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-07T15:58:08.000Z","updated_at":"2024-10-27T12:13:08.000Z","dependencies_parsed_at":"2023-01-22T16:45:56.825Z","dependency_job_id":null,"html_url":"https://github.com/Ailln/ashe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"Ailln/python-package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fashe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fashe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fashe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ailln%2Fashe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ailln","download_url":"https://codeload.github.com/Ailln/ashe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153651,"owners_count":21862389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python-extension","python-package"],"created_at":"2024-11-18T01:13:12.154Z","updated_at":"2026-01-24T03:35:25.328Z","avatar_url":"https://github.com/Ailln.png","language":"Python","readme":"# ashe\n\n✨ `ashe` is a super extension of Python.\n\n## 1 Feature\n\n1. System\n\n   - size\n\n2. Dict\n\n   - merge\n   - remove\n\n3. List\n\n   - reverse\n   - max_count\n\n4. String\n\n   - find\n\n5. File\n\n   - read\n   - write\n\n6. Date\n\n   - today\n   - yesterday\n   - tomorrow\n   - week\n   - year\n   - get_interval_days\n   - get_week_days\n   - get_month_days\n\n## 2 Getting Started\n\n### installation\n\n```shell\npip install ashe -U\n```\n\n### usage\n\n```Python\nfrom ashe import *\n\n# get size\nn = 1\nprint(size(n))\n# 28\n\n# reverse the list\nl = [1, 2, 3]\nprint(reverse(l))\n# [3, 2, 1]\n\n# remove key and value from dict\nd = {\"a\": 1, \"b\": 2}\nprint(remove(\"a\", d))\n# {'b': 2}\n\n# get today and yesterday\nprint(today())\n# 2022-10-23\nprint(yesterday())\n# 2022-10-22\nprint(get_interval_days(interval=3))\n# [\"2022-10-21\", \"2022-10-22\", \"2022-10-23\"]\n```\n\n## 3 Consistency\n\n\\- Why `reverse(list)` not `list.reverse()`?\n\n\\- Because `len(list)` not `list.len()`.\n\n\u003e I find built-in method named `reversed` 🤦‍.\n\n## 4 License\n\n[![](https://award.dovolopor.com?lt=License\u0026rt=MIT\u0026rbc=green)](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failln%2Fashe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failln%2Fashe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failln%2Fashe/lists"}