https://github.com/adamlui/python-utils
A collection of useful Python utilities
https://github.com/adamlui/python-utils
api cli json locales modules python python-utils root scripts translate utils
Last synced: 4 days ago
JSON representation
A collection of useful Python utilities
- Host: GitHub
- URL: https://github.com/adamlui/python-utils
- Owner: adamlui
- Created: 2023-05-25T08:42:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-01T10:27:15.000Z (about 1 month ago)
- Last Synced: 2026-04-01T16:39:51.411Z (about 1 month ago)
- Topics: api, cli, json, locales, modules, python, python-utils, root, scripts, translate, utils
- Language: Python
- Homepage:
- Size: 2.41 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
- Funding: .github/FUNDING.yml
- Security: docs/SECURITY.md
Awesome Lists containing this project
README
# [
](https://github.com/adamlui) adamlui / python-utils
๐ [Data processing](#-data-processing-) โข
๐ [Datasets](#-datasets-) โข
๐ฅ๏ธ [Environment](#%EF%B8%8F-environment-) โข
๐ [Internationalization / Localization](#-internationalization--localization-) โข
๐ฆ [Package](#-package-)
## ๐ Data processing
### remove-json-keys
> ๐งน Simply remove JSON keys via CLI command.
[Install](https://github.com/adamlui/python-utils/tree/main/remove-json-keys/#installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/remove-json-keys/#readme) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/remove-json-keys/#usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
## ๐ Datasets
### ai-personas
๐ค 1,200+ AI personas for LLMs and agents.
Install /
Readme /
API usage /
Discuss
๐ป File extensions for computer languages.
Install /
Readme /
API usage /
Discuss
### data-languages
๐งพ File extensions for data languages.
Install /
Readme /
API usage /
Discuss
### latin-locales
๐ช๐ธ ISO 639-1 (2-letter) codes for Latin locales.
Install /
Readme /
API usage /
Discuss
### markup-languages
๐ File extensions for markup languages.
Install /
Readme /
API usage /
Discuss
๐จ๐ณ ISO 639-1 (2-letter) codes for non-Latin locales.
Install /
Readme /
API usage /
Discuss
โจ๏ธ File extensions for programming languages.
Install /
Readme /
API usage /
Discuss
### project-markers
๐ท๏ธ Common project root markers.
Install /
Readme /
API usage /
Discuss
### prose-languages
๐ File extensions for prose languages.
Install /
Readme /
API usage /
Discuss
## ๐ฅ๏ธ Environment
> ๐ Locate project root via custom markers.
[Install](https://github.com/adamlui/python-utils/tree/main/find-project-root/#installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/find-project-root/#readme) /
[API usage](https://github.com/adamlui/python-utils/tree/main/find-project-root/#api-usage) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/find-project-root/#command-line-usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
> ๐ Detect whether the terminal is legacy.
[Install](https://github.com/adamlui/python-utils/tree/main/is-legacy-terminal/#-installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/is-legacy-terminal/#readme) /
[API usage](https://github.com/adamlui/python-utils/tree/main/is-legacy-terminal/#-api-usage) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/is-legacy-terminal/#-command-line-usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
> ๐ถ Detect whether the terminal supports advanced Unicode.
[Install](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#-installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#readme) /
[API usage](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#-api-usage) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#-command-line-usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
### project-markers
๐ท๏ธ Common project root markers.
Install /
Readme /
API usage /
Discuss
### sys-lang
> ๐ค Detect the system language.
[Install](https://github.com/adamlui/python-utils/tree/main/sys-lang/#-installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/sys-lang/#readme) /
[API usage](https://github.com/adamlui/python-utils/tree/main/sys-lang/#-api-usage) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/sys-lang/#-command-line-usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
## ๐ Internationalization / Localization
> ๐ถ Detect whether the terminal supports advanced Unicode.
[Install](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#-installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#readme) /
[API usage](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#-api-usage) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#-command-line-usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
### latin-locales
๐ช๐ธ ISO 639-1 (2-letter) codes for Latin locales.
Install /
Readme /
API usage /
Discuss
๐จ๐ณ ISO 639-1 (2-letter) codes for non-Latin locales.
Install /
Readme /
API usage /
Discuss
### sys-lang
> ๐ค Detect the system language.
[Install](https://github.com/adamlui/python-utils/tree/main/sys-lang/#-installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/sys-lang/#readme) /
[API usage](https://github.com/adamlui/python-utils/tree/main/sys-lang/#-api-usage) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/sys-lang/#-command-line-usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
> ๐ Translate `en/messages.json` (chrome.i18n format) to 100+ locales automatically.
[Install](https://github.com/adamlui/python-utils/tree/main/translate-messages/#installation) /
[Readme](https://github.com/adamlui/python-utils/tree/main/translate-messages/#readme) /
[CLI usage](https://github.com/adamlui/python-utils/tree/main/translate-messages/#usage) /
[Discuss](https://github.com/adamlui/python-utils/discussions)
## ๐ฆ Package
### get-min-py
๐ Get the minimum Python version required for a PyPI package.
Install /
Readme /
API usage /
CLI usage /
Discuss
## ๐ง Contributors
All contributions are very welcome!
**Latest releases** /
Discuss /
Report bug /
Report vulnerability /
Back to top โ

