Country-converter

Latest version: v1.2

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.7.0

Breaking

- removed support for python 3.5
- minimum pandas version = 1.0
- The classifications for the EU are now based on names (EU27, EU15,
...) - the years have been removed (Brexit had made this necessary).
- The output of the class level attributes and methods for the
classifications (e.g. coco.OECD or coco.EXIO3as()) has changed
- The standard output of the command line changed from ISO3 to short
names, pass --to=ISO3 for the previous behaviour

Classifications

- Added EU12, EU15, EU25, EU27_2007, EU28 and EU27 classification.
This follows the names as explained here
<https://ec.europa.eu/eurostat/statistics-explained/index.php/Glossary:EU_enlargements>
- The classification EU is linked to EU27 (thus status after Brexit)
- The classification UN is a shortcut for UNmember
- Added IAM IMAGE and REMIND classifications
- Added EEA, for now including UK as it is still in place
- Added Schengen region classification
- Updated Lithuania OECD membership
- fixed Ireland, UK, US regex problems - UK, GB and US are now
included in the regex search term
- changed official name of Macao to Macau

Internals

- Adding class level attributes for the shortcuts to the
classifications is now automated
- multiple bug and spelling fixes
- using black and isort for the code style
- logger used in the country_converter is named (based on module
\_\_name\_\_)
- re-established test coverage

0.6.7

- fixed various country spellings

- Calling the command line (coco) without arguments prints help
message

- Deprecated pandas methods (ix, read_table) replaced

- CLI interface allows to
- include obsolete countries (--include_obsolete, -i)
- restrict to only UN membersstates (--UNmember_only, -u)
- return classifications (e.g. coco OECD or coco EXIO1)

- Extended classification helper

0.6.6

- Added Cecilia2050 classification (merging pull request 36 (with
some futher modifications)
- Changing Swaziland to Eswatini, following the official name change
in April 2018
(<https://unterm.un.org/UNTERM/Display/Record/UNHQ/NA/01b637e1-1497-4825-b73d-e0114a7f4d22>
…). Closes issue 35
- Removed space from McDonald in "Heard and Mc Donald Islands" and
updated offical name to "Territory of Heard Island and McDonald
Islands". Closes issus 34.

0.6.5

Coco now includes as switch for including obsolete countries (off by
default), see
<https://github.com/konstantinstadler/country_converter#classification-schemes>

Further improved test coverage

0.6.4

Improved test coverage Changed ISO3 for Kosovo from KSV to XKV

0.6.3

Switched ROW in WIOD to RoW

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.