pydeflate 2.1.1__tar.gz → 2.1.2__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.
Files changed (25) hide show
  1. {pydeflate-2.1.1 → pydeflate-2.1.2}/PKG-INFO +1 -1
  2. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/__init__.py +1 -1
  3. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/sources/common.py +4 -1
  4. {pydeflate-2.1.1 → pydeflate-2.1.2}/pyproject.toml +1 -1
  5. {pydeflate-2.1.1 → pydeflate-2.1.2}/LICENSE +0 -0
  6. {pydeflate-2.1.1 → pydeflate-2.1.2}/README.md +0 -0
  7. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/.pydeflate_data/README.md +0 -0
  8. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/core/__init__.py +0 -0
  9. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/core/api.py +0 -0
  10. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/core/deflator.py +0 -0
  11. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/core/exchange.py +0 -0
  12. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/core/source.py +0 -0
  13. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/deflate/__init__.py +0 -0
  14. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/deflate/deflators.py +0 -0
  15. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/deflate/legacy_deflate.py +0 -0
  16. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/exchange/__init__.py +0 -0
  17. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/exchange/exchangers.py +0 -0
  18. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/pydeflate_config.py +0 -0
  19. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/settings/emu.json +0 -0
  20. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/settings/oecd_codes.json +0 -0
  21. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/sources/__init__.py +0 -0
  22. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/sources/dac.py +0 -0
  23. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/sources/imf.py +0 -0
  24. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/sources/world_bank.py +0 -0
  25. {pydeflate-2.1.1 → pydeflate-2.1.2}/pydeflate/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pydeflate
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: Package to convert current prices figures to constant prices and vice versa
5
5
  License: MIT
6
6
  Author: Jorge Rivera
@@ -1,5 +1,5 @@
1
1
  __author__ = """Jorge Rivera"""
2
- __version__ = "2.1.1"
2
+ __version__ = "2.1.2"
3
3
 
4
4
  from pydeflate.deflate.deflators import (
5
5
  oecd_dac_deflate,
@@ -59,7 +59,10 @@ def _match_regex_to_iso3(
59
59
  matches = {}
60
60
 
61
61
  for match in to_match:
62
- match_ = country.get_iso3_country_code_fuzzy(match)[0]
62
+ try:
63
+ match_ = country.get_iso3_country_code_fuzzy(match)[0]
64
+ except:
65
+ match_ = None
63
66
  matches[match] = match_
64
67
  if match_ is None and match not in additional_mapping:
65
68
  logger.debug(f"No ISO3 match found for {match}")
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pydeflate"
3
- version = "2.1.1"
3
+ version = "2.1.2"
4
4
  description = "Package to convert current prices figures to constant prices and vice versa"
5
5
  authors = [
6
6
  {name = "Jorge Rivera",email = "jorge.rivera@one.org"}
File without changes
File without changes
File without changes