Skip to content

Commit

Permalink
v1.6.0; subdivision updates, attribute changes, new update_subdivisio…
Browse files Browse the repository at this point in the history
…ns features, bug fixes, docs updates, update_subdivisions unit tests
  • Loading branch information
amckenna41 committed Jun 3, 2024
1 parent 0723d84 commit ae02aba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
- Fixed syntax of some function parameters that can take multiple data types
- Fixed parameter typing syntax for some function parameters that can be multiple data types


## v1.5.4 - March 2024


Expand All @@ -54,13 +55,15 @@
- Added custom_subdivision function where user can add a custom subdivision to the iso3166-2 object
- Add UPDATES.md file that outlines all recent subdivision changes to the ISO 3166-2 data


### Changed
- Changed data encapsulation for object, with the dataset now accessible after creating an instance of the ISO3166_2 class
- Change search functionality algorithm from difflib to thefuzz libary
- Change setup.py to pyproject.toml
- Update unit tests to reflect changes made to the software such as likeness score and searching method etc
- Change iso3166_2_updates directory to iso316_2_updates


### Fixed
- Incorrect subdivision data returning when searching for a subdivision using its name when its name had a comma in it
- GitHub repo badges not displaying correctly
Expand All @@ -69,6 +72,7 @@

## v1.4.0 - December 2023


### Added
- readthedocs documentation added
- Search for a particular subdivision via its subdivision name, finding the closest match using difflib libary
Expand Down Expand Up @@ -97,11 +101,12 @@
### Changed
- When running unit tests on iso3166-2.json object, create a backup/archive of object before running tests


### Fixed
- Subdivision codes not sorting alphabetically in output


## <=v1.2.0 - < September 2023
## <=v1.2.0 - <September 2023

### Added
- Initial software release
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
graft iso3166_2/*
graft docs/*
include README.md
recursive-exclude __pycache__ *
exclude API.md
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ ISO 3166-2 Scripts
* The [`iso3166_2_scripts/get_iso3166_2.py`](https://github.com/amckenna41/iso3166-2/blob/main/iso3166_2_scripts) script is used for pulling and exporting the latest ISO 3166-2 data from the various data sources
* The [`iso3166_2_scripts/update_subdivisions.py`](https://github.com/amckenna41/iso3166-2/blob/main/iso3166_2_scripts) script is used for adding, amending and or deleting subdivisions to the `iso3166-2` software and object.

Please visit the [README](https://github.com/amckenna41/iso3166-2/blob/main/iso3166_2_scripts) of the `iso3166_2_scripts` folder for more in depth info about the usage and requirements of the above two scripts <b>vital<b> to the `iso3166-2` software.
Please visit the [README](https://github.com/amckenna41/iso3166-2/blob/main/iso3166_2_scripts) of the `iso3166_2_scripts` folder for more in depth info about the usage and requirements of the above two scripts <b>vital</b> to the `iso3166-2` software.

Directories
-----------
Expand Down

0 comments on commit ae02aba

Please sign in to comment.