Skip to content

Commit

Permalink
Bump v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Feb 3, 2021
1 parent 08f1ebd commit c817b02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,6 @@ Install
This library is compatible with Python 3.7+ (due to the use of *dataclass*).


Future change
-------------

I am making VietnamProvinces toward `Pydantic`_-friendly, so that ones can use this library for validating and correcting input data (like when you get province name from user form). This will cause some breaking changes:

- Change data type of ``Province``, ``District`` from *named tuple* to *dataclass*.
- Those classes become mutable.
- It is more verbose to retrieve ``Province``, ``District`` from enums.

Due to lack of time, the change is not made yet, but please aware if you are depending on this library.


Development
-----------

Expand Down Expand Up @@ -210,7 +198,6 @@ Given to you by `Nguyễn Hồng Quân <quan_>`_, after nights and weekends.

.. _gso_vn: https://www.gso.gov.vn/
.. _tb_ic: https://sotttt.thaibinh.gov.vn/tin-tuc/buu-chinh-vien-thong/tra-cuu-ma-vung-dien-thoai-co-dinh-mat-dat-ma-mang-dien-thoa2.html
.. _namedtuple: https://docs.python.org/3/library/collections.html#collections.namedtuple
.. _dataclass: https://docs.python.org/3/library/dataclasses.html
.. _fast-enum: https://pypi.org/project/fast-enum/
.. _pydantic: https://pypi.org/project/pydantic/
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "vietnam-provinces"
version = "0.2.2"
version = "0.3.0"
description = "Library to provide list of Vietnam administrative divisions (tỉnh thành, quận huyện, phường xã)."
authors = ["Nguyễn Hồng Quân <ng.hong.quan@gmail.com>"]
repository = "https://github.com/sunshine-tech/VietnamProvinces.git"
Expand Down

0 comments on commit c817b02

Please sign in to comment.