pydeflate 2.3.0__tar.gz → 2.3.1__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.
- {pydeflate-2.3.0 → pydeflate-2.3.1}/PKG-INFO +4 -4
- {pydeflate-2.3.0 → pydeflate-2.3.1}/pyproject.toml +4 -4
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/deflate/get_deflators.py +3 -1
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/exchange/get_rates.py +3 -1
- {pydeflate-2.3.0 → pydeflate-2.3.1}/LICENSE +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/README.md +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/.pydeflate_data/README.md +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/__init__.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/cache.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/constants.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/context.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/core/__init__.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/core/api.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/core/deflator.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/core/exchange.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/core/source.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/deflate/__init__.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/deflate/deflators.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/deflate/legacy_deflate.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/exceptions.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/exchange/__init__.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/exchange/exchangers.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/plugins.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/protocols.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/pydeflate_config.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/schemas.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/settings/emu.json +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/settings/oecd_codes.json +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/sources/__init__.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/sources/common.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/sources/dac.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/sources/imf.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/sources/world_bank.py +0 -0
- {pydeflate-2.3.0 → pydeflate-2.3.1}/src/pydeflate/utils.py +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pydeflate
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: Package to convert current prices figures to constant prices and vice versa
|
|
5
5
|
Author: Jorge Rivera
|
|
6
6
|
Author-email: Jorge Rivera <Jorge.Rivera@one.org>
|
|
7
7
|
License-Expression: MIT
|
|
8
8
|
License-File: LICENSE
|
|
9
9
|
Requires-Dist: hdx-python-country>=3.9.8
|
|
10
|
-
Requires-Dist: imf-reader>=1.
|
|
11
|
-
Requires-Dist: oda-reader>=1.
|
|
10
|
+
Requires-Dist: imf-reader>=1.4.1
|
|
11
|
+
Requires-Dist: oda-reader>=1.3.0
|
|
12
12
|
Requires-Dist: pandas>=2.0
|
|
13
13
|
Requires-Dist: pandera>=0.20.0
|
|
14
|
-
Requires-Dist: pyarrow>=
|
|
14
|
+
Requires-Dist: pyarrow>=14.0
|
|
15
15
|
Requires-Dist: requests>=2.32.5
|
|
16
16
|
Requires-Dist: wbgapi>=1.0.12
|
|
17
17
|
Requires-Dist: platformdirs>=3.0.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pydeflate"
|
|
3
|
-
version = "2.3.
|
|
3
|
+
version = "2.3.1"
|
|
4
4
|
description = "Package to convert current prices figures to constant prices and vice versa"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -11,11 +11,11 @@ license-files = ["LICENSE*"]
|
|
|
11
11
|
|
|
12
12
|
dependencies = [
|
|
13
13
|
"hdx-python-country>=3.9.8",
|
|
14
|
-
"imf-reader>=1.
|
|
15
|
-
"oda-reader>=1.
|
|
14
|
+
"imf-reader>=1.4.1",
|
|
15
|
+
"oda-reader>=1.3.0",
|
|
16
16
|
"pandas>=2.0",
|
|
17
17
|
"pandera>=0.20.0",
|
|
18
|
-
"pyarrow>=
|
|
18
|
+
"pyarrow>=14.0",
|
|
19
19
|
"requests>=2.32.5",
|
|
20
20
|
"wbgapi>=1.0.12",
|
|
21
21
|
"platformdirs>=3.0.0",
|
|
@@ -72,7 +72,9 @@ def _get_deflator(deflator_source_cls, price_kind):
|
|
|
72
72
|
data = deflator.pydeflate_data.copy()
|
|
73
73
|
|
|
74
74
|
# Determine the entity column based on use_source_codes
|
|
75
|
-
entity_col =
|
|
75
|
+
entity_col = (
|
|
76
|
+
"pydeflate_entity_code" if use_source_codes else "pydeflate_iso3"
|
|
77
|
+
)
|
|
76
78
|
|
|
77
79
|
# Filter by countries if specified
|
|
78
80
|
if countries is not None:
|
|
@@ -66,7 +66,9 @@ def _get_exchange_rates(exchange_source_cls, **fixed_params):
|
|
|
66
66
|
data = exchange.pydeflate_data.copy()
|
|
67
67
|
|
|
68
68
|
# Determine the entity column based on use_source_codes
|
|
69
|
-
entity_col =
|
|
69
|
+
entity_col = (
|
|
70
|
+
"pydeflate_entity_code" if use_source_codes else "pydeflate_iso3"
|
|
71
|
+
)
|
|
70
72
|
|
|
71
73
|
# Filter by countries if specified
|
|
72
74
|
if countries is not None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|