Country-converter

Latest version: v1.2

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

Scan your dependencies

Page 2 of 5

0.7.6

Breaking

- additional data must specify ISO2 (necessary for regex matching in ISO2)


Classifications

- added DACcode (pull request by jm-rivera)

Bug fixes

- N Korea matches North Korea - fix 95

Development

- All rst files (readme, changelog, etc. format changed to markdown
- ISO2 column accepts regex - fix 92

0.7.5

Classifications

- Changed name from Republic of Turkey to Republic of Türkiye (see
<https://en.wikipedia.org/wiki/Turkey> ).
- Changed Macedonia to North Macedonia (following the Prespa
agreement: <https://en.wikipedia.org/wiki/Prespa_agreement>).

Bug Fixes

- Escape characters in country names to allow for names with special
symbols (brackets) in regex (101)
- Updated regex of India to exclude Bassas Da India (111)

Development

- Minimum required version of Black is 22.3.0

0.7.4

Classifications

- added IEA classification (by Kajwan\]

Development

- changed development environment to python 3.9
- change github actions testing to development -\> production for
multiple os
- added link to example script on how to parse data for adding a new
classification:
<https://gist.github.com/konstantinstadler/dc3583a4674a39def0d4611c095eb788>

0.7.3

Classifications

- added GBDcode (numerical Global Burden of Disease codes)

Bug Fixes

- Update for regex for several regions which erroneous matched
countries (solves 86)
- CLI help fix (solves 81)
- Added HKSAR for Hong Kong, N.Korea for North Korea and some Macaou
tests (solves 84)
- Fixed for pandas Series inputs (solves 54)
- Fixed aggregation concordance (solves 82)
- Indiana does not match India

Development

- functionality for testing regions which should not match
- handle pandas future regex warning
- moved from travis to github actions for CI testing
- restructured tests and added test for consistent CHANGELOG - module
version

0.7.2

Classifications

- added FAOcode (numerical FAO code)

API

- added CountryConverter().valid_country_classifications which gives
all country classifications (without any aggregation like continents
or models)

Bug Fixes

- French Guyana resettled to America (was Africa before) (fixes 76)
- D.P.R of Korea resolves to North Korea (fixes 79)

0.7.1

Classifications

- added 2020 OECD membership for Colombia

Misc

- changed the description for installing from conda forge
- updated contributing.rst
- explained logging settings in the readme

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.