hdx-python-country 4.2.7__tar.gz → 4.2.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-4.2.7 → hdx_python_country-4.2.9}/PKG-INFO +3 -3
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/pyproject.toml +3 -3
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/Countries & Territories Taxonomy MVP - C&T Taxonomy.csv +255 -255
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/_version.py +2 -2
- hdx_python_country-4.2.9/src/hdx/location/wfp_api.py +481 -0
- hdx_python_country-4.2.9/tests/fixtures/wfp/Currency_List.csv +129 -0
- hdx_python_country-4.2.9/tests/fixtures/wfp/Currency_UsdIndirectQuotation_AFN.csv +8695 -0
- hdx_python_country-4.2.9/tests/fixtures/wfp/Currency_UsdIndirectQuotation_SYP.csv +4 -0
- hdx_python_country-4.2.9/tests/fixtures/wfp/MarketPrices_PriceMonthly_BTN.csv +5 -0
- hdx_python_country-4.2.9/tests/fixtures/wfp/Markets_List_AFG.csv +3 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/hdx/location/Countries_UZB_Deleted.csv +254 -254
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/hdx/location/test_country.py +24 -24
- hdx_python_country-4.2.9/tests/hdx/location/test_wfp_api.py +230 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/uv.lock +338 -314
- hdx_python_country-4.2.7/src/hdx/location/wfp_api.py +0 -323
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_List_1.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_List_2.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_1.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_10.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_2.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_3.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_4.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_5.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_6.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_7.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_8.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Currency_UsdIndirectQuotation_9.json +0 -1
- hdx_python_country-4.2.7/tests/fixtures/wfp/Markets_List_AFG_1.json +0 -28
- hdx_python_country-4.2.7/tests/fixtures/wfp/Markets_List_AFG_2.json +0 -5
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/.github/workflows/publish.yaml +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/.github/workflows/run-python-tests.yaml +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/.gitignore +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/.pre-commit-config.yaml +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/LICENSE +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/README.md +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/documentation/.readthedocs.yaml +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/documentation/index.md +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/documentation/mkdocs.yaml +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/__init__.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/adminlevel.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/country.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/currency.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/int_timestamp.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/src/hdx/location/wfp_exchangerates.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/fixtures/adminlevel.yaml +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/fixtures/adminlevelparent.yaml +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/fixtures/fixtures-download-global-pcode-lengths.csv +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/fixtures/fixtures-download-global-pcodes-adm-1-2.csv +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/fixtures/secondary_historic_rates.csv +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/fixtures/secondary_rates.json +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/hdx/location/__init__.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/hdx/location/conftest.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/hdx/location/test_adminlevel.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/hdx/location/test_currency.py +0 -0
- {hdx_python_country-4.2.7 → hdx_python_country-4.2.9}/tests/hdx/location/test_wfp_exchangerates.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: hdx-python-country
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.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
|
Project-URL: Repository, https://github.com/OCHA-DAP/hdx-python-country
|
|
@@ -26,12 +26,12 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
26
26
|
Classifier: Programming Language :: Python :: 3.14
|
|
27
27
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
28
28
|
Requires-Python: >=3.11
|
|
29
|
-
Requires-Dist: hdx-python-utilities<5,>=4.2.
|
|
29
|
+
Requires-Dist: hdx-python-utilities<5,>=4.2.7
|
|
30
30
|
Requires-Dist: tenacity
|
|
31
31
|
Provides-Extra: docs
|
|
32
32
|
Requires-Dist: mkapi; extra == 'docs'
|
|
33
33
|
Provides-Extra: wfp
|
|
34
|
-
Requires-Dist: data-bridges-client<10,>=9.0.
|
|
34
|
+
Requires-Dist: data-bridges-client<10,>=9.0.3; extra == 'wfp'
|
|
35
35
|
Description-Content-Type: text/markdown
|
|
36
36
|
|
|
37
37
|
[](https://github.com/OCHA-DAP/hdx-python-country/actions/workflows/run-python-tests.yaml)
|
|
@@ -35,13 +35,13 @@ dynamic = ["version"]
|
|
|
35
35
|
requires-python = ">=3.11"
|
|
36
36
|
|
|
37
37
|
dependencies = [
|
|
38
|
-
"hdx-python-utilities>=4.2.
|
|
38
|
+
"hdx-python-utilities>=4.2.7,<5",
|
|
39
39
|
"tenacity",
|
|
40
40
|
]
|
|
41
41
|
|
|
42
42
|
[project.optional-dependencies]
|
|
43
43
|
docs = ["mkapi"]
|
|
44
|
-
wfp = ["data-bridges-client>=9.0.
|
|
44
|
+
wfp = ["data-bridges-client>=9.0.3,<10"]
|
|
45
45
|
|
|
46
46
|
[dependency-groups]
|
|
47
47
|
dev = [
|
|
@@ -49,7 +49,7 @@ dev = [
|
|
|
49
49
|
"pytest-cov",
|
|
50
50
|
"pre-commit",
|
|
51
51
|
"ruff==0.17.3",
|
|
52
|
-
"data-bridges-client>=9.0.
|
|
52
|
+
"data-bridges-client>=9.0.3,<10",
|
|
53
53
|
]
|
|
54
54
|
|
|
55
55
|
[project.urls]
|