python-iso639 2024.2.7__tar.gz → 2024.4.27__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,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-iso639
3
- Version: 2024.2.7
4
- Summary: Look-up utilities for ISO 639 language codes and names
3
+ Version: 2024.4.27
4
+ Summary: ISO 639 language codes, names, and other associated information
5
5
  Author-email: "Jackson L. Lee" <jacksonlunlee@gmail.com>
6
6
  License: Apache 2.0
7
7
  Project-URL: Source, https://github.com/jacksonllee/iso639
@@ -28,11 +28,12 @@ Requires-Python: >=3.8
28
28
  Description-Content-Type: text/markdown
29
29
  License-File: LICENSE.txt
30
30
  Provides-Extra: dev
31
- Requires-Dist: black==24.1.1; extra == "dev"
32
- Requires-Dist: build==1.0.3; extra == "dev"
31
+ Requires-Dist: black==24.4.2; extra == "dev"
32
+ Requires-Dist: build==1.2.1; extra == "dev"
33
33
  Requires-Dist: flake8==7.0.0; extra == "dev"
34
- Requires-Dist: pytest==8.0.0; extra == "dev"
35
- Requires-Dist: twine==4.0.2; extra == "dev"
34
+ Requires-Dist: pytest==8.1.2; extra == "dev"
35
+ Requires-Dist: requests==2.31.0; extra == "dev"
36
+ Requires-Dist: twine==5.0.0; extra == "dev"
36
37
 
37
38
  # python-iso639
38
39
 
@@ -41,7 +42,7 @@ Requires-Dist: twine==4.0.2; extra == "dev"
41
42
  [![PyPI downloads last month](https://img.shields.io/pypi/dm/python-iso639)](https://pypi.org/project/python-iso639/)
42
43
  [![CircleCI Builds](https://circleci.com/gh/jacksonllee/iso639.svg?style=shield)](https://circleci.com/gh/jacksonllee/iso639)
43
44
 
44
- `python-iso639` is a Python package for accessing ISO 639 language codes, names, and
45
+ `python-iso639` is a Python package for ISO 639 language codes, names, and
45
46
  other associated information.
46
47
 
47
48
  Current features:
@@ -257,7 +258,7 @@ If there isn't a match, a `LanguageNotFoundError` is raised.
257
258
 
258
259
  The `Language` class is a dataclass.
259
260
  All functionality of
260
- [dataclases](https://docs.python.org/3/library/dataclasses.html)
261
+ [dataclasses](https://docs.python.org/3/library/dataclasses.html)
261
262
  applies to `Language` and its instances,
262
263
  e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#dataclasses.asdict):
263
264
 
@@ -275,7 +276,7 @@ e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#
275
276
  ```python
276
277
  >>> import iso639
277
278
  >>> iso639.DATA_LAST_UPDATED
278
- datetime.date(2024, 2, 7)
279
+ datetime.date(2024, 4, 15)
279
280
  ```
280
281
 
281
282
  * `ALL_LANGUAGES`: The list of all `Language` objects based on the included language code data
@@ -285,7 +286,7 @@ e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#
285
286
  >>> type(iso639.ALL_LANGUAGES)
286
287
  <class 'list'>
287
288
  >>> len(iso639.ALL_LANGUAGES)
288
- 7919
289
+ 7920
289
290
  >>> iso639.ALL_LANGUAGES[0]
290
291
  Language(part3='aaa', scope='I', type='L', status='A', name='Ghotuo', ...)
291
292
  ```
@@ -5,7 +5,7 @@
5
5
  [![PyPI downloads last month](https://img.shields.io/pypi/dm/python-iso639)](https://pypi.org/project/python-iso639/)
6
6
  [![CircleCI Builds](https://circleci.com/gh/jacksonllee/iso639.svg?style=shield)](https://circleci.com/gh/jacksonllee/iso639)
7
7
 
8
- `python-iso639` is a Python package for accessing ISO 639 language codes, names, and
8
+ `python-iso639` is a Python package for ISO 639 language codes, names, and
9
9
  other associated information.
10
10
 
11
11
  Current features:
@@ -221,7 +221,7 @@ If there isn't a match, a `LanguageNotFoundError` is raised.
221
221
 
222
222
  The `Language` class is a dataclass.
223
223
  All functionality of
224
- [dataclases](https://docs.python.org/3/library/dataclasses.html)
224
+ [dataclasses](https://docs.python.org/3/library/dataclasses.html)
225
225
  applies to `Language` and its instances,
226
226
  e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#dataclasses.asdict):
227
227
 
@@ -239,7 +239,7 @@ e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#
239
239
  ```python
240
240
  >>> import iso639
241
241
  >>> iso639.DATA_LAST_UPDATED
242
- datetime.date(2024, 2, 7)
242
+ datetime.date(2024, 4, 15)
243
243
  ```
244
244
 
245
245
  * `ALL_LANGUAGES`: The list of all `Language` objects based on the included language code data
@@ -249,7 +249,7 @@ e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#
249
249
  >>> type(iso639.ALL_LANGUAGES)
250
250
  <class 'list'>
251
251
  >>> len(iso639.ALL_LANGUAGES)
252
- 7919
252
+ 7920
253
253
  >>> iso639.ALL_LANGUAGES[0]
254
254
  Language(part3='aaa', scope='I', type='L', status='A', name='Ghotuo', ...)
255
255
  ```
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-iso639"
7
- version = "2024.2.7"
8
- description = "Look-up utilities for ISO 639 language codes and names"
7
+ version = "2024.4.27"
8
+ description = "ISO 639 language codes, names, and other associated information"
9
9
  readme = "README.md"
10
10
  requires-python = ">= 3.8"
11
11
  license = { text = "Apache 2.0" }
@@ -34,11 +34,12 @@ classifiers = [
34
34
 
35
35
  [project.optional-dependencies]
36
36
  dev = [
37
- "black == 24.1.1",
38
- "build == 1.0.3",
37
+ "black == 24.4.2",
38
+ "build == 1.2.1",
39
39
  "flake8 == 7.0.0",
40
- "pytest == 8.0.0",
41
- "twine == 4.0.2",
40
+ "pytest == 8.1.2",
41
+ "requests == 2.31.0",
42
+ "twine == 5.0.0",
42
43
  ]
43
44
 
44
45
  [project.urls]
@@ -13,7 +13,7 @@ __all__ = [
13
13
  "LanguageNotFoundError",
14
14
  ]
15
15
 
16
- DATA_LAST_UPDATED = datetime.date(2024, 1, 10)
16
+ DATA_LAST_UPDATED = datetime.date(2024, 4, 15)
17
17
 
18
18
 
19
19
  def __getattr__(name):
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-iso639
3
- Version: 2024.2.7
4
- Summary: Look-up utilities for ISO 639 language codes and names
3
+ Version: 2024.4.27
4
+ Summary: ISO 639 language codes, names, and other associated information
5
5
  Author-email: "Jackson L. Lee" <jacksonlunlee@gmail.com>
6
6
  License: Apache 2.0
7
7
  Project-URL: Source, https://github.com/jacksonllee/iso639
@@ -28,11 +28,12 @@ Requires-Python: >=3.8
28
28
  Description-Content-Type: text/markdown
29
29
  License-File: LICENSE.txt
30
30
  Provides-Extra: dev
31
- Requires-Dist: black==24.1.1; extra == "dev"
32
- Requires-Dist: build==1.0.3; extra == "dev"
31
+ Requires-Dist: black==24.4.2; extra == "dev"
32
+ Requires-Dist: build==1.2.1; extra == "dev"
33
33
  Requires-Dist: flake8==7.0.0; extra == "dev"
34
- Requires-Dist: pytest==8.0.0; extra == "dev"
35
- Requires-Dist: twine==4.0.2; extra == "dev"
34
+ Requires-Dist: pytest==8.1.2; extra == "dev"
35
+ Requires-Dist: requests==2.31.0; extra == "dev"
36
+ Requires-Dist: twine==5.0.0; extra == "dev"
36
37
 
37
38
  # python-iso639
38
39
 
@@ -41,7 +42,7 @@ Requires-Dist: twine==4.0.2; extra == "dev"
41
42
  [![PyPI downloads last month](https://img.shields.io/pypi/dm/python-iso639)](https://pypi.org/project/python-iso639/)
42
43
  [![CircleCI Builds](https://circleci.com/gh/jacksonllee/iso639.svg?style=shield)](https://circleci.com/gh/jacksonllee/iso639)
43
44
 
44
- `python-iso639` is a Python package for accessing ISO 639 language codes, names, and
45
+ `python-iso639` is a Python package for ISO 639 language codes, names, and
45
46
  other associated information.
46
47
 
47
48
  Current features:
@@ -257,7 +258,7 @@ If there isn't a match, a `LanguageNotFoundError` is raised.
257
258
 
258
259
  The `Language` class is a dataclass.
259
260
  All functionality of
260
- [dataclases](https://docs.python.org/3/library/dataclasses.html)
261
+ [dataclasses](https://docs.python.org/3/library/dataclasses.html)
261
262
  applies to `Language` and its instances,
262
263
  e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#dataclasses.asdict):
263
264
 
@@ -275,7 +276,7 @@ e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#
275
276
  ```python
276
277
  >>> import iso639
277
278
  >>> iso639.DATA_LAST_UPDATED
278
- datetime.date(2024, 2, 7)
279
+ datetime.date(2024, 4, 15)
279
280
  ```
280
281
 
281
282
  * `ALL_LANGUAGES`: The list of all `Language` objects based on the included language code data
@@ -285,7 +286,7 @@ e.g., [`dataclasses.asdict`](https://docs.python.org/3/library/dataclasses.html#
285
286
  >>> type(iso639.ALL_LANGUAGES)
286
287
  <class 'list'>
287
288
  >>> len(iso639.ALL_LANGUAGES)
288
- 7919
289
+ 7920
289
290
  >>> iso639.ALL_LANGUAGES[0]
290
291
  Language(part3='aaa', scope='I', type='L', status='A', name='Ghotuo', ...)
291
292
  ```
@@ -0,0 +1,8 @@
1
+
2
+ [dev]
3
+ black==24.4.2
4
+ build==1.2.1
5
+ flake8==7.0.0
6
+ pytest==8.1.2
7
+ requests==2.31.0
8
+ twine==5.0.0
@@ -68,13 +68,13 @@ def test_invalid_inputs():
68
68
 
69
69
 
70
70
  def test_data_last_updated():
71
- assert DATA_LAST_UPDATED == datetime.date(2024, 1, 10), "Need to update README.md"
71
+ assert DATA_LAST_UPDATED == datetime.date(2024, 4, 15), "Need to update README.md"
72
72
 
73
73
 
74
74
  def test_all_languages():
75
75
  assert type(ALL_LANGUAGES) is list
76
76
  assert type(ALL_LANGUAGES[0]) is Language
77
- assert len(ALL_LANGUAGES) == 7919, "Need to update README.md"
77
+ assert len(ALL_LANGUAGES) == 7920, "Need to update README.md"
78
78
 
79
79
  lang = ALL_LANGUAGES[0]
80
80
  assert lang.part3 == "aaa", "Need to update README.md"
@@ -1,7 +0,0 @@
1
-
2
- [dev]
3
- black==24.1.1
4
- build==1.0.3
5
- flake8==7.0.0
6
- pytest==8.0.0
7
- twine==4.0.2