programming-languages 2.0.0__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: programming-languages
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: File extensions for programming languages.
5
5
  Author-email: Adam Lui <adam@kudoai.com>
6
6
  License-Expression: MIT
7
- Project-URL: Changelog, https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.0
7
+ Project-URL: Changelog, https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.2
8
8
  Project-URL: Documentation, https://github.com/adamlui/python-utils/tree/main/programming-languages/docs
9
9
  Project-URL: Funding, https://github.com/sponsors/adamlui
10
10
  Project-URL: Homepage, https://github.com/adamlui/python-utils/tree/main/programming-languages/#readme
@@ -46,26 +46,28 @@ Description-Content-Type: text/markdown
46
46
  License-File: docs/LICENSE.md
47
47
  Provides-Extra: dev
48
48
  Requires-Dist: nox>=2026.2.9; extra == "dev"
49
- Requires-Dist: tomli~=2.4.0; extra == "dev"
50
- Requires-Dist: tomli-w~=1.2.0; extra == "dev"
49
+ Requires-Dist: tomli<3,>=2.4.0; extra == "dev"
50
+ Requires-Dist: tomli-w<2,>=1.2.0; extra == "dev"
51
51
  Dynamic: license-file
52
52
 
53
53
  <a id="top"></a>
54
54
 
55
55
  # > programming-languages
56
56
 
57
- <a href="https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.0">
58
- <img height=31 src="https://img.shields.io/badge/Latest_Build-2.0.0-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
57
+ <a href="https://pepy.tech/projects/programming-languages?versions=*">
58
+ <img height=31 src="https://img.shields.io/pepy/dt/programming-languages?logo=weightsandbiases&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></img></a>
59
+ <a href="https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.2">
60
+ <img height=31 src="https://img.shields.io/badge/Latest_Build-2.0.2-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
59
61
  <a href="https://github.com/adamlui/python-utils/blob/main/programming-languages/docs/LICENSE.md">
60
62
  <img height=31 src="https://img.shields.io/badge/License-MIT-f99b27.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
61
63
  <a href="https://www.codefactor.io/repository/github/adamlui/python-utils">
62
64
  <img height=31 src="https://img.shields.io/codefactor/grade/github/adamlui/python-utils?label=Code+Quality&logo=codefactor&logoColor=white&labelColor=464646&color=a0fc55&style=for-the-badge"></a>
63
- <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_python-utils">
64
- <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=fafc74"></a>
65
+ <a href="https://sonarcloud.io/component_measures?metric=vulnerabilities&selected=adamlui_python-utils%3Aprogramming-languages&id=adamlui_python-utils">
66
+ <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=sonar&logoColor=white&labelColor=464646&label=Vulnerabilities&color=fafc74"></a>
65
67
 
66
68
  > ### _File extensions for programming languages._
67
69
 
68
- It's just a [JSON file](https://github.com/adamlui/python-utils/blob/programming-languages-2.0.0/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.
70
+ It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@programming-languages-2.0.2/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.
69
71
 
70
72
  ## Installation
71
73
 
@@ -115,7 +117,7 @@ print(get_lang_from_path('data.avsc')) # => None (use data-languages pkg)
115
117
 
116
118
  ## MIT License
117
119
 
118
- Copyright © 2026 [Adam Lui](https://github.com/adamlui).
120
+ Copyright © 2026 [Adam Lui](https://github.com/adamlui)
119
121
 
120
122
  ## Related
121
123
 
@@ -125,4 +127,5 @@ Copyright © 2026 [Adam Lui](https://github.com/adamlui).
125
127
 
126
128
  #
127
129
 
130
+ <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/python-utils/#readme>**More Python utilities**</a> /
128
131
  <a href="#top">Back to top ↑</a>
@@ -2,18 +2,20 @@
2
2
 
3
3
  # > programming-languages
4
4
 
5
- <a href="https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.0">
6
- <img height=31 src="https://img.shields.io/badge/Latest_Build-2.0.0-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
5
+ <a href="https://pepy.tech/projects/programming-languages?versions=*">
6
+ <img height=31 src="https://img.shields.io/pepy/dt/programming-languages?logo=weightsandbiases&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></img></a>
7
+ <a href="https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.2">
8
+ <img height=31 src="https://img.shields.io/badge/Latest_Build-2.0.2-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
7
9
  <a href="https://github.com/adamlui/python-utils/blob/main/programming-languages/docs/LICENSE.md">
8
10
  <img height=31 src="https://img.shields.io/badge/License-MIT-f99b27.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
9
11
  <a href="https://www.codefactor.io/repository/github/adamlui/python-utils">
10
12
  <img height=31 src="https://img.shields.io/codefactor/grade/github/adamlui/python-utils?label=Code+Quality&logo=codefactor&logoColor=white&labelColor=464646&color=a0fc55&style=for-the-badge"></a>
11
- <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_python-utils">
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=fafc74"></a>
13
+ <a href="https://sonarcloud.io/component_measures?metric=vulnerabilities&selected=adamlui_python-utils%3Aprogramming-languages&id=adamlui_python-utils">
14
+ <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=sonar&logoColor=white&labelColor=464646&label=Vulnerabilities&color=fafc74"></a>
13
15
 
14
16
  > ### _File extensions for programming languages._
15
17
 
16
- It's just a [JSON file](https://github.com/adamlui/python-utils/blob/programming-languages-2.0.0/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.
18
+ It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@programming-languages-2.0.2/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.
17
19
 
18
20
  ## Installation
19
21
 
@@ -63,7 +65,7 @@ print(get_lang_from_path('data.avsc')) # => None (use data-languages pkg)
63
65
 
64
66
  ## MIT License
65
67
 
66
- Copyright © 2026 [Adam Lui](https://github.com/adamlui).
68
+ Copyright © 2026 [Adam Lui](https://github.com/adamlui)
67
69
 
68
70
  ## Related
69
71
 
@@ -73,4 +75,5 @@ Copyright © 2026 [Adam Lui](https://github.com/adamlui).
73
75
 
74
76
  #
75
77
 
78
+ <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/python-utils/#readme>**More Python utilities**</a> /
76
79
  <a href="#top">Back to top ↑</a>
@@ -1,13 +1,13 @@
1
1
  [build-system]
2
2
  requires = [
3
- "setuptools~=82.0.0",
3
+ "setuptools>=82.0.0,<83",
4
4
  "wheel",
5
5
  ]
6
6
  build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "programming-languages"
10
- version = "2.0.0"
10
+ version = "2.0.2"
11
11
  description = "File extensions for programming languages."
12
12
  authors = [
13
13
  { name = "Adam Lui", email = "adam@kudoai.com" },
@@ -82,7 +82,7 @@ classifiers = [
82
82
  ]
83
83
 
84
84
  [project.urls]
85
- Changelog = "https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.0"
85
+ Changelog = "https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.2"
86
86
  Documentation = "https://github.com/adamlui/python-utils/tree/main/programming-languages/docs"
87
87
  Funding = "https://github.com/sponsors/adamlui"
88
88
  Homepage = "https://github.com/adamlui/python-utils/tree/main/programming-languages/#readme"
@@ -94,8 +94,8 @@ Repository = "https://github.com/adamlui/python-utils"
94
94
  [project.optional-dependencies]
95
95
  dev = [
96
96
  "nox>=2026.2.9",
97
- "tomli~=2.4.0",
98
- "tomli-w~=1.2.0",
97
+ "tomli>=2.4.0,<3",
98
+ "tomli-w>=1.2.0,<2",
99
99
  ]
100
100
 
101
101
  [tool.setuptools.packages.find]
@@ -105,5 +105,5 @@ where = [
105
105
 
106
106
  [tool.setuptools.package-data]
107
107
  programming_languages = [
108
- "programming_languages.json",
108
+ "programming-languages.json",
109
109
  ]
@@ -0,0 +1,6 @@
1
+ import io, json, os, sys
2
+
3
+ with io.open(os.path.join(os.path.dirname(__file__), 'programming-languages.json'), encoding='utf-8') as file:
4
+ programming_languages = json.load(file)
5
+
6
+ sys.modules[__name__] = programming_languages
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: programming-languages
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: File extensions for programming languages.
5
5
  Author-email: Adam Lui <adam@kudoai.com>
6
6
  License-Expression: MIT
7
- Project-URL: Changelog, https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.0
7
+ Project-URL: Changelog, https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.2
8
8
  Project-URL: Documentation, https://github.com/adamlui/python-utils/tree/main/programming-languages/docs
9
9
  Project-URL: Funding, https://github.com/sponsors/adamlui
10
10
  Project-URL: Homepage, https://github.com/adamlui/python-utils/tree/main/programming-languages/#readme
@@ -46,26 +46,28 @@ Description-Content-Type: text/markdown
46
46
  License-File: docs/LICENSE.md
47
47
  Provides-Extra: dev
48
48
  Requires-Dist: nox>=2026.2.9; extra == "dev"
49
- Requires-Dist: tomli~=2.4.0; extra == "dev"
50
- Requires-Dist: tomli-w~=1.2.0; extra == "dev"
49
+ Requires-Dist: tomli<3,>=2.4.0; extra == "dev"
50
+ Requires-Dist: tomli-w<2,>=1.2.0; extra == "dev"
51
51
  Dynamic: license-file
52
52
 
53
53
  <a id="top"></a>
54
54
 
55
55
  # > programming-languages
56
56
 
57
- <a href="https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.0">
58
- <img height=31 src="https://img.shields.io/badge/Latest_Build-2.0.0-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
57
+ <a href="https://pepy.tech/projects/programming-languages?versions=*">
58
+ <img height=31 src="https://img.shields.io/pepy/dt/programming-languages?logo=weightsandbiases&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></img></a>
59
+ <a href="https://github.com/adamlui/python-utils/releases/tag/programming-languages-2.0.2">
60
+ <img height=31 src="https://img.shields.io/badge/Latest_Build-2.0.2-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
59
61
  <a href="https://github.com/adamlui/python-utils/blob/main/programming-languages/docs/LICENSE.md">
60
62
  <img height=31 src="https://img.shields.io/badge/License-MIT-f99b27.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
61
63
  <a href="https://www.codefactor.io/repository/github/adamlui/python-utils">
62
64
  <img height=31 src="https://img.shields.io/codefactor/grade/github/adamlui/python-utils?label=Code+Quality&logo=codefactor&logoColor=white&labelColor=464646&color=a0fc55&style=for-the-badge"></a>
63
- <a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_python-utils">
64
- <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=fafc74"></a>
65
+ <a href="https://sonarcloud.io/component_measures?metric=vulnerabilities&selected=adamlui_python-utils%3Aprogramming-languages&id=adamlui_python-utils">
66
+ <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=sonar&logoColor=white&labelColor=464646&label=Vulnerabilities&color=fafc74"></a>
65
67
 
66
68
  > ### _File extensions for programming languages._
67
69
 
68
- It's just a [JSON file](https://github.com/adamlui/python-utils/blob/programming-languages-2.0.0/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.
70
+ It's just a [JSON file](https://cdn.jsdelivr.net/gh/adamlui/python-utils@programming-languages-2.0.2/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.
69
71
 
70
72
  ## Installation
71
73
 
@@ -115,7 +117,7 @@ print(get_lang_from_path('data.avsc')) # => None (use data-languages pkg)
115
117
 
116
118
  ## MIT License
117
119
 
118
- Copyright © 2026 [Adam Lui](https://github.com/adamlui).
120
+ Copyright © 2026 [Adam Lui](https://github.com/adamlui)
119
121
 
120
122
  ## Related
121
123
 
@@ -125,4 +127,5 @@ Copyright © 2026 [Adam Lui](https://github.com/adamlui).
125
127
 
126
128
  #
127
129
 
130
+ <picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/python-utils@760599e/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/python-utils/#readme>**More Python utilities**</a> /
128
131
  <a href="#top">Back to top ↑</a>
@@ -3,7 +3,7 @@ setup.cfg
3
3
  docs/LICENSE.md
4
4
  docs/README.md
5
5
  src/programming_languages/__init__.py
6
- src/programming_languages/programming_languages.json
6
+ src/programming_languages/programming-languages.json
7
7
  src/programming_languages.egg-info/PKG-INFO
8
8
  src/programming_languages.egg-info/SOURCES.txt
9
9
  src/programming_languages.egg-info/dependency_links.txt
@@ -0,0 +1,5 @@
1
+
2
+ [dev]
3
+ nox>=2026.2.9
4
+ tomli<3,>=2.4.0
5
+ tomli-w<2,>=1.2.0
@@ -1,6 +0,0 @@
1
- import json, os, sys
2
-
3
- with open(os.path.join(os.path.dirname(__file__), 'programming_languages.json')) as file:
4
- programming_languages = json.load(file)
5
-
6
- sys.modules[__name__] = programming_languages
@@ -1,5 +0,0 @@
1
-
2
- [dev]
3
- nox>=2026.2.9
4
- tomli~=2.4.0
5
- tomli-w~=1.2.0