hdx-python-country 3.7.7__tar.gz → 3.7.9__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.
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/.config/pre-commit-config.yaml +2 -2
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/PKG-INFO +2 -2
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/pyproject.toml +1 -1
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/requirements.txt +23 -21
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/Countries & Territories Taxonomy MVP - C&T Taxonomy with HXL Tags.csv +258 -258
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/_version.py +2 -2
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/adminlevel.py +32 -6
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/country.py +35 -17
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/hdx/location/__init__.py +2 -1
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/hdx/location/test_adminlevel.py +53 -12
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/hdx/location/test_country.py +10 -2
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/hdx/location/test_wfp_exchangerates.py +1 -1
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/.config/coveragerc +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/.config/pytest.ini +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/.config/ruff.toml +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/.github/workflows/publish.yaml +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/.github/workflows/run-python-tests.yaml +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/.gitignore +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/CONTRIBUTING.md +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/LICENSE +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/README.md +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/documentation/.readthedocs.yaml +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/documentation/main.md +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/documentation/pydoc-markdown.yaml +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/__init__.py +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/currency.py +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/phonetics.py +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/src/hdx/location/wfp_exchangerates.py +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/fixtures/adminlevel.yaml +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/fixtures/adminlevelparent.yaml +0 -0
- /hdx_python_country-3.7.7/tests/fixtures/global_pcode_lengths.csv → /hdx_python_country-3.7.9/tests/fixtures/download-global-pcode-lengths.csv +0 -0
- /hdx_python_country-3.7.7/tests/fixtures/global_pcodes_adm_1_2.csv → /hdx_python_country-3.7.9/tests/fixtures/download-global-pcodes-adm-1-2.csv +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/fixtures/secondary_historic_rates.csv +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/fixtures/secondary_rates.json +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/hdx/location/Countries_UZB_Deleted.csv +0 -0
- {hdx_python_country-3.7.7 → hdx_python_country-3.7.9}/tests/hdx/location/test_currency.py +0 -0
|
@@ -8,7 +8,7 @@ repos:
|
|
|
8
8
|
- id: end-of-file-fixer
|
|
9
9
|
- id: check-ast
|
|
10
10
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
11
|
-
rev: v0.
|
|
11
|
+
rev: v0.6.4
|
|
12
12
|
hooks:
|
|
13
13
|
# Run the linter.
|
|
14
14
|
- id: ruff
|
|
@@ -17,7 +17,7 @@ repos:
|
|
|
17
17
|
- id: ruff-format
|
|
18
18
|
args: [--config, .config/ruff.toml]
|
|
19
19
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
20
|
-
rev: 0.
|
|
20
|
+
rev: 0.4.5
|
|
21
21
|
hooks:
|
|
22
22
|
# Run the pip compile
|
|
23
23
|
- id: pip-compile
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: hdx-python-country
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.9
|
|
4
4
|
Summary: HDX Python country code and exchange rate (fx) utilities
|
|
5
5
|
Project-URL: Homepage, https://github.com/OCHA-DAP/hdx-python-country
|
|
6
6
|
Author: Michael Rans
|
|
@@ -25,7 +25,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
26
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
27
27
|
Requires-Python: >=3.8
|
|
28
|
-
Requires-Dist: hdx-python-utilities>=3.7.
|
|
28
|
+
Requires-Dist: hdx-python-utilities>=3.7.4
|
|
29
29
|
Requires-Dist: libhxl>=5.2.1
|
|
30
30
|
Requires-Dist: pyphonetics
|
|
31
31
|
Provides-Extra: dev
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
# uv pip compile pyproject.toml --resolver=backtracking --all-extras -o requirements.txt
|
|
3
3
|
annotated-types==0.7.0
|
|
4
4
|
# via pydantic
|
|
5
|
-
attrs==
|
|
5
|
+
attrs==24.2.0
|
|
6
6
|
# via
|
|
7
7
|
# frictionless
|
|
8
8
|
# jsonlines
|
|
9
9
|
# jsonschema
|
|
10
10
|
# referencing
|
|
11
|
-
certifi==2024.
|
|
11
|
+
certifi==2024.8.30
|
|
12
12
|
# via requests
|
|
13
13
|
cfgv==3.4.0
|
|
14
14
|
# via pre-commit
|
|
@@ -18,23 +18,23 @@ charset-normalizer==3.3.2
|
|
|
18
18
|
# via requests
|
|
19
19
|
click==8.1.7
|
|
20
20
|
# via typer
|
|
21
|
-
coverage==7.6.
|
|
21
|
+
coverage==7.6.1
|
|
22
22
|
# via pytest-cov
|
|
23
23
|
distlib==0.3.8
|
|
24
24
|
# via virtualenv
|
|
25
25
|
et-xmlfile==1.1.0
|
|
26
26
|
# via openpyxl
|
|
27
|
-
filelock==3.
|
|
27
|
+
filelock==3.16.1
|
|
28
28
|
# via virtualenv
|
|
29
|
-
frictionless==5.
|
|
29
|
+
frictionless==5.18.0
|
|
30
30
|
# via hdx-python-utilities
|
|
31
|
-
hdx-python-utilities==3.7.
|
|
31
|
+
hdx-python-utilities==3.7.4
|
|
32
32
|
# via hdx-python-country (pyproject.toml)
|
|
33
33
|
humanize==4.10.0
|
|
34
34
|
# via frictionless
|
|
35
|
-
identify==2.6.
|
|
35
|
+
identify==2.6.1
|
|
36
36
|
# via pre-commit
|
|
37
|
-
idna==3.
|
|
37
|
+
idna==3.10
|
|
38
38
|
# via requests
|
|
39
39
|
ijson==3.3.0
|
|
40
40
|
# via hdx-python-utilities
|
|
@@ -74,7 +74,7 @@ packaging==24.1
|
|
|
74
74
|
# via pytest
|
|
75
75
|
petl==1.7.15
|
|
76
76
|
# via frictionless
|
|
77
|
-
platformdirs==4.
|
|
77
|
+
platformdirs==4.3.6
|
|
78
78
|
# via virtualenv
|
|
79
79
|
pluggy==1.5.0
|
|
80
80
|
# via pytest
|
|
@@ -82,17 +82,17 @@ ply==3.11
|
|
|
82
82
|
# via
|
|
83
83
|
# jsonpath-ng
|
|
84
84
|
# libhxl
|
|
85
|
-
pre-commit==3.
|
|
85
|
+
pre-commit==3.8.0
|
|
86
86
|
# via hdx-python-country (pyproject.toml)
|
|
87
|
-
pydantic==2.
|
|
87
|
+
pydantic==2.9.2
|
|
88
88
|
# via frictionless
|
|
89
|
-
pydantic-core==2.
|
|
89
|
+
pydantic-core==2.23.4
|
|
90
90
|
# via pydantic
|
|
91
91
|
pygments==2.18.0
|
|
92
92
|
# via rich
|
|
93
93
|
pyphonetics==0.5.3
|
|
94
94
|
# via hdx-python-country (pyproject.toml)
|
|
95
|
-
pytest==8.3.
|
|
95
|
+
pytest==8.3.3
|
|
96
96
|
# via
|
|
97
97
|
# hdx-python-country (pyproject.toml)
|
|
98
98
|
# pytest-cov
|
|
@@ -107,7 +107,7 @@ python-io-wrapper==0.3.1
|
|
|
107
107
|
# via libhxl
|
|
108
108
|
python-slugify==8.0.4
|
|
109
109
|
# via frictionless
|
|
110
|
-
pyyaml==6.0.
|
|
110
|
+
pyyaml==6.0.2
|
|
111
111
|
# via
|
|
112
112
|
# frictionless
|
|
113
113
|
# pre-commit
|
|
@@ -127,9 +127,9 @@ requests-file==2.1.0
|
|
|
127
127
|
# via hdx-python-utilities
|
|
128
128
|
rfc3986==2.0.0
|
|
129
129
|
# via frictionless
|
|
130
|
-
rich==13.
|
|
130
|
+
rich==13.9.1
|
|
131
131
|
# via typer
|
|
132
|
-
rpds-py==0.
|
|
132
|
+
rpds-py==0.20.0
|
|
133
133
|
# via
|
|
134
134
|
# jsonschema
|
|
135
135
|
# referencing
|
|
@@ -155,7 +155,7 @@ tabulate==0.9.0
|
|
|
155
155
|
# via frictionless
|
|
156
156
|
text-unidecode==1.3
|
|
157
157
|
# via python-slugify
|
|
158
|
-
typer==0.12.
|
|
158
|
+
typer==0.12.5
|
|
159
159
|
# via frictionless
|
|
160
160
|
typing-extensions==4.12.2
|
|
161
161
|
# via
|
|
@@ -167,20 +167,22 @@ unidecode==1.3.8
|
|
|
167
167
|
# via
|
|
168
168
|
# libhxl
|
|
169
169
|
# pyphonetics
|
|
170
|
-
urllib3==2.2.
|
|
170
|
+
urllib3==2.2.3
|
|
171
171
|
# via
|
|
172
172
|
# libhxl
|
|
173
173
|
# requests
|
|
174
|
-
validators==0.
|
|
174
|
+
validators==0.34.0
|
|
175
175
|
# via frictionless
|
|
176
|
-
virtualenv==20.26.
|
|
176
|
+
virtualenv==20.26.6
|
|
177
177
|
# via pre-commit
|
|
178
|
-
wheel==0.
|
|
178
|
+
wheel==0.44.0
|
|
179
179
|
# via libhxl
|
|
180
180
|
xlrd==2.0.1
|
|
181
181
|
# via hdx-python-utilities
|
|
182
182
|
xlrd3==1.1.0
|
|
183
183
|
# via libhxl
|
|
184
|
+
xlsx2csv==0.8.3
|
|
185
|
+
# via hdx-python-utilities
|
|
184
186
|
xlsxwriter==3.2.0
|
|
185
187
|
# via tableschema-to-template
|
|
186
188
|
xlwt==1.3.0
|