Skip to content

Commit 219cbc6

Browse files
committed
Added section separators
1 parent 419abce commit 219cbc6

15 files changed

Lines changed: 152 additions & 0 deletions

File tree

computer-languages/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@
1717
1818
It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@computer-languages-1.0.3/computer-languages/src/computer_languages/computer-languages.json), so you can use it in any environment. Sourced from GitHub's [Linguist](https://github.com/github-linguist/linguist) project (defines all 700+ languages known to GitHub). Data is updated via script and released via new package version.
1919

20+
<hr>
21+
2022
## Installation
2123

2224
```bash
2325
pip install computer-languages
2426
```
2527

28+
<hr>
29+
2630
## Usage
2731

2832
```py
@@ -36,6 +40,8 @@ print(py_lang_data['extensions']) # => ['.cgi', '.fcgi', '.gyp', ...]
3640

3741
_Note: Most type checkers will falsely warn_ `computer_languages` _is not subscriptable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a dictionary for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
3842

43+
<hr>
44+
3945
## Examples
4046

4147
List all extensions for a language:
@@ -69,10 +75,14 @@ print(markup_langs) # => ['Antlers', 'API Blueprint', 'Astro', 'BibTeX', ...]
6975
print(f'{len(markup_langs)} markup languages') # -> 69 markup languages
7076
```
7177

78+
<hr>
79+
7280
## MIT License
7381

7482
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
7583

84+
<hr>
85+
7686
## Related
7787

7888
</> [markup-languages](https://github.com/adamlui/python-utils/tree/main/markup-languages/#readme) - File extensions for markup languages.

data-languages/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@
1717
1818
It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@data-languages-1.0.3/data-languages/src/data_languages/data-languages.json), so you can use it in any environment. Sourced from GitHub's [Linguist](https://github.com/github-linguist/linguist) project (defines all 145 data languages known to GitHub). Data is updated via script and released via new package version.
1919

20+
<hr>
21+
2022
## Installation
2123

2224
```bash
2325
pip install data-languages
2426
```
2527

28+
<hr>
29+
2630
## Usage
2731

2832
```py
@@ -35,6 +39,8 @@ print(json_lang_data['extensions']) # => ['.4DForm', '.4DProject', '.avsc', ...]
3539

3640
_Note: Most type checkers will falsely warn_ `data_languages` _is not subscriptable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a dictionary for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
3741

42+
<hr>
43+
3844
## Examples
3945

4046
Get language from an extension:
@@ -63,10 +69,14 @@ print(get_lang_from_path('Sublime.sublime-snippet')) # => XML
6369
print(get_lang_from_path('README.md')) # => None (use prose-languages pkg)
6470
```
6571

72+
<hr>
73+
6674
## MIT License
6775

6876
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
6977

78+
<hr>
79+
7080
## Related
7181

7282
</> [markup-languages](https://github.com/adamlui/python-utils/tree/main/markup-languages/#readme) - File extensions for markup languages.

find-project-root/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
> ### _Locate project root via custom markers._
1717
18+
<hr>
19+
1820
## About
1921

2022
**find-project-root** is a lightweight utility that traverses up from a given path until it finds a project marker.
@@ -24,12 +26,16 @@
2426
- Customizable markers — provide your own or use defaults
2527
- Multi-Python support — from Python 2.6 thru 3.15+
2628

29+
<hr>
30+
2731
## Installation
2832

2933
```bash
3034
pip install find-project-root
3135
```
3236

37+
<hr>
38+
3339
## API usage
3440

3541
```py
@@ -76,10 +82,14 @@ Combine options:
7682
root = find_project_root(path='src', max_depth=5, markers=['manifest.json'])
7783
```
7884

85+
<hr>
86+
7987
## MIT License
8088

8189
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
8290

91+
<hr>
92+
8393
## Related
8494

8595
🏷️ [project-markers][project-markers-gh] - Common project root markers.

get-min-py/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@
1717
1818
Uses `python-requires`, or classifiers if not found.
1919

20+
<hr>
21+
2022
## ⚡ Installation
2123

2224
```bash
2325
pip install get-min-py
2426
```
2527

28+
<hr>
29+
2630
## 💻 Command line usage
2731

2832
```bash
@@ -41,6 +45,8 @@ CLI options:
4145
| `-v`, `--version` | Show version
4246
| `--docs` | Open docs URL
4347

48+
<hr>
49+
4450
## 🔌 API usage
4551

4652
```py
@@ -55,10 +61,14 @@ print(results) # => ['3.11', '3.11', '3.9']
5561

5662
_Note: Most type checkers will falsely warn_ `get_min_py` _is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
5763

64+
<hr>
65+
5866
## MIT License
5967

6068
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
6169

70+
<hr>
71+
6272
## Related
6373

6474
📂 [find-project-root](https://github.com/adamlui/python-utils/tree/main/find-project-root/#readme) - Locate project root via custom markers.

is-legacy-terminal/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@
1717
1818
Checks if terminal is legacy (limited rendering, flicker-prone on rapid redraws, etc.). On Windows, returns `True` if CMD or PowerShell ISE not hosted in modern shell. On *nix systems, returns `True` if `env.TERM` is `'dumb'` or `'unknown'` (indicating a very basic terminal).
1919

20+
<hr>
21+
2022
## ⚡ Installation
2123

2224
```bash
2325
pip install is-legacy-terminal
2426
```
2527

28+
<hr>
29+
2630
## 💻 Command line usage
2731

2832
```bash
@@ -38,6 +42,8 @@ CLI options:
3842
| `-v`, `--version` | Show version
3943
| `--docs` | Open docs URL
4044

45+
<hr>
46+
4147
## 🔌 API usage
4248

4349
```py
@@ -51,10 +57,14 @@ else:
5157

5258
_Note: Most type checkers will falsely warn_ `is_legacy_terminal` _is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
5359

60+
<hr>
61+
5462
## MIT License
5563

5664
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
5765

66+
<hr>
67+
5868
## Related
5969

6070
🈶 [is-unicode-supported](https://github.com/adamlui/python-utils/tree/main/is-unicode-supported/#readme) - Detect whether the terminal supports advanced Unicode.

is-unicode-supported/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@
1717
1818
Checks if terminal supports advanced Unicode (CJK, emoji, etc.) by measuring the cursor position of a single, wide char (𠀀). Returns `False` for legacy consoles or `True` if the wide char renders as 2 columns.
1919

20+
<hr>
21+
2022
## ⚡ Installation
2123

2224
```bash
2325
pip install is-unicode-supported
2426
```
2527

28+
<hr>
29+
2630
## 💻 Command line usage
2731

2832
```bash
@@ -38,6 +42,8 @@ CLI options:
3842
| `-v`, `--version` | Show version
3943
| `--docs` | Open docs URL
4044

45+
<hr>
46+
4147
## 🔌 API usage
4248

4349
```py
@@ -51,10 +57,14 @@ else:
5157

5258
_Note: Most type checkers will falsely warn_ `is_unicode_supported` _is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
5359

60+
<hr>
61+
5462
## MIT License
5563

5664
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
5765

66+
<hr>
67+
5868
## Related
5969

6070
🇪🇸 [latin-locales](https://github.com/adamlui/python-utils/tree/main/latin-locales/#readme) - ISO 639-1 (2-letter) codes for Latin locales.

latin-locales/docs/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@
1515
1616
It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@latin-locales-1.0.4/latin-locales/src/latin_locales/latin-locales.json), so you can use it in any environment.
1717

18+
<hr>
19+
1820
## Installation
1921

2022
```bash
2123
pip install latin-locales
2224
```
2325

26+
<hr>
27+
2428
## Usage
2529

2630
```py
@@ -32,10 +36,14 @@ print(latin_locales)
3236

3337
_Note: Most type checkers will falsely warn_ `latin_locales` _is not iterable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a list for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
3438

39+
<hr>
40+
3541
## MIT License
3642

3743
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
3844

45+
<hr>
46+
3947
## Related
4048

4149
🇨🇳 [non-latin-locales](https://github.com/adamlui/python-utils/tree/main/non-latin-locales/#readme) - ISO 639-1 (2-letter) codes for non-Latin locales.

markup-languages/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@
1717
1818
It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@markup-languages-1.0.4/markup-languages/src/markup_languages/markup-languages.json), so you can use it in any environment. Sourced from GitHub's [Linguist](https://github.com/github-linguist/linguist) project (defines all 69 markup languages known to GitHub). Data is updated via script and released via new package version.
1919

20+
<hr>
21+
2022
## Installation
2123

2224
```bash
2325
pip install markup-languages
2426
```
2527

28+
<hr>
29+
2630
## Usage
2731

2832
```py
@@ -35,6 +39,8 @@ print(html_lang_data['extensions']) # => ['.hta', '.htm', '.html', '.html.hl', .
3539

3640
_Note: Most type checkers will falsely warn_ `markup_languages` _is not subscriptable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a dictionary for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
3741

42+
<hr>
43+
3844
## Examples
3945

4046
Get language from an extension:
@@ -63,10 +69,14 @@ print(get_lang_from_path('style.css')) # => CSS
6369
print(get_lang_from_path('script.js')) # => None (use programming-languages pkg)
6470
```
6571

72+
<hr>
73+
6674
## MIT License
6775

6876
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
6977

78+
<hr>
79+
7080
## Related
7181

7282
🇨🇳 [non-latin-locales](https://github.com/adamlui/python-utils/tree/main/non-latin-locales/#readme) - ISO 639-1 (2-letter) codes for non-Latin locales.

non-latin-locales/docs/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@
1515
1616
It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@non-latin-locales-1.0.5/non-latin-locales/src/non_latin_locales/non-latin-locales.json), so you can use it in any environment.
1717

18+
<hr>
19+
1820
## Installation
1921

2022
```bash
2123
pip install non-latin-locales
2224
```
2325

26+
<hr>
27+
2428
## Usage
2529

2630
```py
@@ -32,10 +36,14 @@ print(non_latin_locales)
3236

3337
_Note: Most type checkers will falsely warn_ `non_latin_locales` _is not iterable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a list for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
3438

39+
<hr>
40+
3541
## MIT License
3642

3743
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
3844

45+
<hr>
46+
3947
## Related
4048

4149
🇪🇸 [latin-locales](https://github.com/adamlui/python-utils/tree/main/latin-locales/#readme) - ISO 639-1 (2-letter) codes for Latin locales.

programming-languages/docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@
1717
1818
It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@programming-languages-2.0.3/programming-languages/src/programming_languages/programming-languages.json), so you can use it in any environment. Sourced from GitHub's [Linguist](https://github.com/github-linguist/linguist) project (defines all 500+ programming languages known to GitHub). Data is updated via script and released via new package version.
1919

20+
<hr>
21+
2022
## Installation
2123

2224
```bash
2325
pip install programming-languages
2426
```
2527

28+
<hr>
29+
2630
## Usage
2731

2832
```py
@@ -35,6 +39,8 @@ print(py_lang_data['extensions']) # => ['.cgi', '.fcgi', '.gyp', ...]
3539

3640
_Note: Most type checkers will falsely warn_ `programming_languages` _is not subscriptable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a dictionary for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.
3741

42+
<hr>
43+
3844
## Examples
3945

4046
Get language from an extension:
@@ -63,10 +69,14 @@ print(get_lang_from_path('script.kt')) # => Kotlin
6369
print(get_lang_from_path('data.avsc')) # => None (use data-languages pkg)
6470
```
6571

72+
<hr>
73+
6674
## MIT License
6775

6876
Copyright © 2026 [Adam Lui](https://github.com/adamlui)
6977

78+
<hr>
79+
7080
## Related
7181

7282
</> [markup-languages](https://github.com/adamlui/python-utils/tree/main/markup-languages/#readme) - File extensions for markup languages.

0 commit comments

Comments
 (0)