|
| 1 | +<a id="top"></a> |
| 2 | + |
1 | 3 | # 🐍 adamlui / python-utils |
2 | 4 |
|
3 | 5 | <a href="https://pepy.tech/compare?packages=project-markers%2Cremove-json-keys%2Ctranslate-messages"> |
4 | | - <img height=31 src="https://img.shields.io/badge/Downloads-7.4k-af68ff.svg?logo=weightsandbiases&logoColor=white&labelColor=464646&style=for-the-badge"></img></a> |
| 6 | + <img height=31 src="https://img.shields.io/badge/Downloads-7.4k-af68ff.svg?logo=weightsandbiases&logoColor=white&labelColor=464646&style=for-the-badge"></a> |
5 | 7 | <a href="./LICENSE.md"> |
6 | 8 | <img height=31 src="https://img.shields.io/badge/License-MIT-f99b27.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a> |
7 | 9 | <a href="https://www.codefactor.io/repository/github/adamlui/python-utils"> |
8 | 10 | <img height=31 src="https://img.shields.io/codefactor/grade/github/adamlui/python-utils?label=Code+Quality&logo=codefactor&logoColor=white&labelColor=464646&color=b5fc7b&style=for-the-badge"></a> |
9 | 11 | <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_python-utils"> |
10 | 12 | <img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dadamlui_python-utils%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a> |
11 | | -<br><br> |
| 13 | + |
| 14 | +> ### A collection of useful Python utilities. |
| 15 | +
|
| 16 | +<img height=10px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@b8b2932/assets/images/separators/aqua-gradient.png"> |
| 17 | + |
| 18 | +### <a href="https://github.com/adamlui/python-utils/tree/main/find-project-root/#readme">📂 find-project-root</a> |
| 19 | + |
| 20 | +> Locate project root via custom markers. |
| 21 | +<br>[Install](https://github.com/adamlui/python-utils/tree/main/find-project-root/#installation) / |
| 22 | +[Readme](https://github.com/adamlui/python-utils/tree/main/find-project-root/#readme) / |
| 23 | +[API usage](https://github.com/adamlui/python-utils/tree/main/find-project-root/#api-usage) / |
| 24 | +[Discuss](https://github.com/adamlui/python-utils/discussions) |
| 25 | + |
| 26 | +### <a href="https://github.com/adamlui/python-utils/tree/main/latin-locales/#readme">🇪🇸 latin-locales</a> |
| 27 | + |
| 28 | +> ISO 639-1 (2-letter) codes for Latin locales. |
| 29 | +<br>[Install](https://github.com/adamlui/python-utils/tree/main/latin-locales/#installation) / |
| 30 | +[Readme](https://github.com/adamlui/python-utils/tree/main/latin-locales/#readme) / |
| 31 | +[API usage](https://github.com/adamlui/python-utils/tree/main/latin-locales/#usage) / |
| 32 | +[Discuss](https://github.com/adamlui/python-utils/discussions) |
| 33 | + |
| 34 | +### <a href="https://github.com/adamlui/python-utils/tree/main/non-latin-locales/#readme">🇨🇳 non-latin-locales</a> |
| 35 | + |
| 36 | +> ISO 639-1 (2-letter) codes for non-Latin locales. |
| 37 | +<br>[Install](https://github.com/adamlui/python-utils/tree/main/non-latin-locales/#installation) / |
| 38 | +[Readme](https://github.com/adamlui/python-utils/tree/main/non-latin-locales/#readme) / |
| 39 | +[API usage](https://github.com/adamlui/python-utils/tree/main/non-latin-locales/#usage) / |
| 40 | +[Discuss](https://github.com/adamlui/python-utils/discussions) |
| 41 | + |
| 42 | +### <a href="https://github.com/adamlui/python-utils/tree/main/project-markers/#readme">🏷️ project-markers</a> |
| 43 | + |
| 44 | +> Common project root markers. |
| 45 | +<br>[Install](https://github.com/adamlui/python-utils/tree/main/project-markers/#installation) / |
| 46 | +[Readme](https://github.com/adamlui/python-utils/tree/main/project-markers/#readme) / |
| 47 | +[API usage](https://github.com/adamlui/python-utils/tree/main/project-markers/#usage) / |
| 48 | +[Discuss](https://github.com/adamlui/python-utils/discussions) |
| 49 | + |
| 50 | +### <a href="https://github.com/adamlui/python-utils/tree/main/remove-json-keys/#readme">{ } remove-json-keys</a> |
| 51 | + |
| 52 | +> Simply remove JSON keys via CLI command. |
| 53 | +<br>[Install](https://github.com/adamlui/python-utils/tree/main/remove-json-keys/#installation) / |
| 54 | +[Readme](https://github.com/adamlui/python-utils/tree/main/remove-json-keys/#readme) / |
| 55 | +[CLI usage](https://github.com/adamlui/python-utils/tree/main/remove-json-keys/#usage) / |
| 56 | +[Discuss](https://github.com/adamlui/python-utils/discussions) |
| 57 | + |
| 58 | +### <a href="https://github.com/adamlui/python-utils/tree/main/translate-messages/#readme">🌍 translate-messages</a> |
| 59 | + |
| 60 | +> Translate `en/messages.json` (chrome.i18n format) to 100+ locales automatically. |
| 61 | +<br>[Install](https://github.com/adamlui/python-utils/tree/main/translate-messages/#installation) / |
| 62 | +[Readme](https://github.com/adamlui/python-utils/tree/main/translate-messages/#readme) / |
| 63 | +[CLI usage](https://github.com/adamlui/python-utils/tree/main/translate-messages/#usage) / |
| 64 | +[Discuss](https://github.com/adamlui/python-utils/discussions) |
12 | 65 |
|
13 | 66 | ## 🏛️ MIT License |
14 | 67 |
|
15 | 68 | Copyright © 2023–2026 [Adam Lui](https://github.com/adamlui) |
16 | | -<br><br> |
17 | | - |
18 | | -## 🛡️ Security Policy |
19 | 69 |
|
20 | | -If you find a vulnerability, please open a [draft security advisory](https://github.com/adamlui/python-utils/security/advisories/new). |
| 70 | +<img height=6px width="100%" src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@b8b2932/assets/images/separators/aqua-gradient.png"> |
21 | 71 |
|
22 | | -Pull requests are also welcome, but for safety reasons, send an email to <adam@kudoai.com> and wait for a response before making it public. |
| 72 | +<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/python-utils@d6fae85/assets/images/icons/tag/white/icon16.svg"><img height=14 src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@d6fae85/assets/images/icons/tag/dark-gray/icon16.svg"></picture> |
| 73 | +<a href="https://github.com/adamlui/python-utils/releases">**Latest releases**</a> / |
| 74 | +<a href="https://github.com/adamlui/python-utils/discussions">Discuss</a> / |
| 75 | +<a href="#top">Back to top ↑</a> |
0 commit comments