python-iso639 2024.4.27__tar.gz → 2024.10.22__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.
- python_iso639-2024.10.22/CHANGELOG.md +92 -0
- python_iso639-2024.10.22/MANIFEST.in +1 -0
- {python_iso639-2024.4.27/src/python_iso639.egg-info → python_iso639-2024.10.22}/PKG-INFO +7 -7
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/pyproject.toml +7 -7
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/iso639/__init__.py +13 -8
- {python_iso639-2024.4.27 → python_iso639-2024.10.22/src/python_iso639.egg-info}/PKG-INFO +7 -7
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/python_iso639.egg-info/SOURCES.txt +2 -0
- python_iso639-2024.10.22/src/python_iso639.egg-info/requires.txt +8 -0
- python_iso639-2024.4.27/src/python_iso639.egg-info/requires.txt +0 -8
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/LICENSE.txt +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/README.md +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/setup.cfg +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/iso639/language.py +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/iso639/languages.db +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/python_iso639.egg-info/dependency_links.txt +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/python_iso639.egg-info/not-zip-safe +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/python_iso639.egg-info/top_level.txt +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/tests/test_language.py +0 -0
- {python_iso639-2024.4.27 → python_iso639-2024.10.22}/tests/test_version_number.py +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
All notable changes to this project will be documented in this file.
|
|
3
|
+
|
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
5
|
+
|
|
6
|
+
The version number is based on [calendar versioning](https://calver.org/).
|
|
7
|
+
The specific format is `YYYY.(M)M.(D)D`,
|
|
8
|
+
where the month and day may be single-digit because Python doesn't allow zero-padded
|
|
9
|
+
major/minor/micro version numbers like `05` (it'd have to be just `5`).
|
|
10
|
+
|
|
11
|
+
## [Unreleased]
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
### Changed
|
|
15
|
+
### Deprecated
|
|
16
|
+
### Removed
|
|
17
|
+
### Fixed
|
|
18
|
+
### Security
|
|
19
|
+
|
|
20
|
+
## [2024.10.22]
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
* Added support for Python 3.13.
|
|
24
|
+
|
|
25
|
+
### Removed
|
|
26
|
+
* Dropped support for Python 3.8.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
* Added `CHANGELOG.md` to the PyPI source distribution.
|
|
30
|
+
|
|
31
|
+
## [2024.4.27]
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
* Updated the ISO 639 data from SIL to the latest 2024-04-15 release.
|
|
35
|
+
|
|
36
|
+
## [2024.2.7]
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
* Updated the ISO 639 data from SIL to the latest 2024-01-10 release.
|
|
40
|
+
|
|
41
|
+
## [2024.1.2]
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
* Updated the ISO 639 data from SIL to the latest 2023-12-20 release.
|
|
45
|
+
|
|
46
|
+
## [2023.12.11]
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
* Added support for Python 3.12.
|
|
50
|
+
|
|
51
|
+
## [2023.6.15]
|
|
52
|
+
|
|
53
|
+
### Fixed
|
|
54
|
+
* Made `Language` class instances actually hashable (#3).
|
|
55
|
+
|
|
56
|
+
## [2023.4.13]
|
|
57
|
+
|
|
58
|
+
### Changed
|
|
59
|
+
* Disabled thread checking for the database, as it's read-only (#1).
|
|
60
|
+
|
|
61
|
+
## [2023.2.4]
|
|
62
|
+
|
|
63
|
+
### Changed
|
|
64
|
+
* Updated the ISO 639 data from SIL to the latest 2023-01-23 release.
|
|
65
|
+
|
|
66
|
+
## [2022.11.27]
|
|
67
|
+
|
|
68
|
+
### Added
|
|
69
|
+
* Defined the `LanguageNotFoundError` exception.
|
|
70
|
+
* Added support for Python 3.11.
|
|
71
|
+
|
|
72
|
+
### Changed
|
|
73
|
+
* If the `Language` class methods `match`, `from_part3`, etc. receive an invalid
|
|
74
|
+
input language code or name, a `LanguageNotFoundError` is now raised.
|
|
75
|
+
(Previously, `None` was returned with no exception raised.)
|
|
76
|
+
|
|
77
|
+
### Removed
|
|
78
|
+
* Dropped support for Python 3.7.
|
|
79
|
+
|
|
80
|
+
## [2022.9.17]
|
|
81
|
+
|
|
82
|
+
### Added
|
|
83
|
+
* Added constants `DATA_LAST_UPDATED` and `ALL_LANGUAGES`.
|
|
84
|
+
|
|
85
|
+
## [2022.5.16]
|
|
86
|
+
|
|
87
|
+
### Fixed
|
|
88
|
+
* Corrected repo name in package metadata and documentation.
|
|
89
|
+
|
|
90
|
+
## [2022.5.15]
|
|
91
|
+
|
|
92
|
+
* First release!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include CHANGELOG.md
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-iso639
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.10.22
|
|
4
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
|
|
@@ -15,11 +15,11 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
|
17
17
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
23
|
Classifier: Topic :: Text Processing
|
|
24
24
|
Classifier: Topic :: Text Processing :: General
|
|
25
25
|
Classifier: Topic :: Text Processing :: Indexing
|
|
@@ -28,12 +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.
|
|
31
|
+
Requires-Dist: black==24.10.0; extra == "dev"
|
|
32
32
|
Requires-Dist: build==1.2.1; extra == "dev"
|
|
33
|
-
Requires-Dist: flake8==7.
|
|
34
|
-
Requires-Dist: pytest==8.
|
|
35
|
-
Requires-Dist: requests==2.
|
|
36
|
-
Requires-Dist: twine==5.
|
|
33
|
+
Requires-Dist: flake8==7.1.1; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest==8.3.3; extra == "dev"
|
|
35
|
+
Requires-Dist: requests==2.32.3; extra == "dev"
|
|
36
|
+
Requires-Dist: twine==5.1.1; extra == "dev"
|
|
37
37
|
|
|
38
38
|
# python-iso639
|
|
39
39
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-iso639"
|
|
7
|
-
version = "2024.
|
|
7
|
+
version = "2024.10.22"
|
|
8
8
|
description = "ISO 639 language codes, names, and other associated information"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">= 3.8"
|
|
@@ -21,11 +21,11 @@ classifiers = [
|
|
|
21
21
|
"Operating System :: OS Independent",
|
|
22
22
|
"Programming Language :: Python :: 3",
|
|
23
23
|
"Programming Language :: Python :: 3 :: Only",
|
|
24
|
-
"Programming Language :: Python :: 3.8",
|
|
25
24
|
"Programming Language :: Python :: 3.9",
|
|
26
25
|
"Programming Language :: Python :: 3.10",
|
|
27
26
|
"Programming Language :: Python :: 3.11",
|
|
28
27
|
"Programming Language :: Python :: 3.12",
|
|
28
|
+
"Programming Language :: Python :: 3.13",
|
|
29
29
|
"Topic :: Text Processing",
|
|
30
30
|
"Topic :: Text Processing :: General",
|
|
31
31
|
"Topic :: Text Processing :: Indexing",
|
|
@@ -34,12 +34,12 @@ classifiers = [
|
|
|
34
34
|
|
|
35
35
|
[project.optional-dependencies]
|
|
36
36
|
dev = [
|
|
37
|
-
"black == 24.
|
|
37
|
+
"black == 24.10.0",
|
|
38
38
|
"build == 1.2.1",
|
|
39
|
-
"flake8 == 7.
|
|
40
|
-
"pytest == 8.
|
|
41
|
-
"requests == 2.
|
|
42
|
-
"twine == 5.
|
|
39
|
+
"flake8 == 7.1.1",
|
|
40
|
+
"pytest == 8.3.3",
|
|
41
|
+
"requests == 2.32.3",
|
|
42
|
+
"twine == 5.1.1",
|
|
43
43
|
]
|
|
44
44
|
|
|
45
45
|
[project.urls]
|
|
@@ -4,15 +4,11 @@ from importlib.metadata import version
|
|
|
4
4
|
from .language import Language, LanguageNotFoundError, _get_all_languages
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
# __version__ is based on calendar versioning (https://calver.org/).
|
|
8
|
+
# __version__ and DATA_LAST_UPDATED are intentionally kept separate.
|
|
9
|
+
# While DATA_LAST_UPDATED is strictly the date for the ISO 639-3 data release,
|
|
10
|
+
# __version__ can be bumped for changes other than data updates.
|
|
7
11
|
__version__ = version("python-iso639")
|
|
8
|
-
__all__ = [
|
|
9
|
-
"__version__",
|
|
10
|
-
"ALL_LANGUAGES",
|
|
11
|
-
"DATA_LAST_UPDATED",
|
|
12
|
-
"Language",
|
|
13
|
-
"LanguageNotFoundError",
|
|
14
|
-
]
|
|
15
|
-
|
|
16
12
|
DATA_LAST_UPDATED = datetime.date(2024, 4, 15)
|
|
17
13
|
|
|
18
14
|
|
|
@@ -21,3 +17,12 @@ def __getattr__(name):
|
|
|
21
17
|
return _get_all_languages()
|
|
22
18
|
else:
|
|
23
19
|
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
__all__ = [
|
|
23
|
+
"__version__",
|
|
24
|
+
"ALL_LANGUAGES",
|
|
25
|
+
"DATA_LAST_UPDATED",
|
|
26
|
+
"Language",
|
|
27
|
+
"LanguageNotFoundError",
|
|
28
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-iso639
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.10.22
|
|
4
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
|
|
@@ -15,11 +15,11 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
|
17
17
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.9
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
23
|
Classifier: Topic :: Text Processing
|
|
24
24
|
Classifier: Topic :: Text Processing :: General
|
|
25
25
|
Classifier: Topic :: Text Processing :: Indexing
|
|
@@ -28,12 +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.
|
|
31
|
+
Requires-Dist: black==24.10.0; extra == "dev"
|
|
32
32
|
Requires-Dist: build==1.2.1; extra == "dev"
|
|
33
|
-
Requires-Dist: flake8==7.
|
|
34
|
-
Requires-Dist: pytest==8.
|
|
35
|
-
Requires-Dist: requests==2.
|
|
36
|
-
Requires-Dist: twine==5.
|
|
33
|
+
Requires-Dist: flake8==7.1.1; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest==8.3.3; extra == "dev"
|
|
35
|
+
Requires-Dist: requests==2.32.3; extra == "dev"
|
|
36
|
+
Requires-Dist: twine==5.1.1; extra == "dev"
|
|
37
37
|
|
|
38
38
|
# python-iso639
|
|
39
39
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/python_iso639.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/python_iso639.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{python_iso639-2024.4.27 → python_iso639-2024.10.22}/src/python_iso639.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|