Skip to content

Releases: polm/posuto

Dropping Romaji, Multithread Support, and Monthly Updates

29 Jan 11:05
Compare
Choose a tag to compare

This month sees a number of changes.

Dropping Romaji Support

The romaji data from Japan Post is only updated twice a year or so, so it's often out of sync with the other files. Keeping it in sync worked at first, but starting a few months ago some unusual cases caused postal codes to throw exceptions due to missing romaji, and the fix wasn't as simple as I expected. After that fix another case occurred. Since the romaji data was low quality anyway it's been removed; if you need romaji support look at cutlet or open an issue.

Multithread Support

Since the change to a sqlite backend, posuto open a DB connection on import and manages it. In typical use cases that's fine, but in multithreaded environment it will generate warnings, and could potentially cause issues. This release introduces a wrapper class you can use when you need more control over DB connections, see the docs for details.

Monthly Updates

This month had a number of interesting changes. The photo below is of the new World Trade Center South Annex; I just visited the observation deck at the current World Trade Center before it's knocked down.

IMG_20210107_152354040_HDR

  • 世界貿易センタービルディング南館 added many codes; I just visited the soon-to-close non-南館 building
  • In Yamaguchi a new 小郡令和 neighborhood was created
  • In Shizuoka a neighborhood name was corrected from 桜が丘 to 桜ガ丘
  • In Oita a neighborhood name was corrected from 千歳木 to 千蔵木

Monthly Update

02 Jul 06:28
Compare
Choose a tag to compare

This release adds the latest postal data changes. A new building in Tokyo was added, one area in Machida implemented 住居表示, and there were some other adjustments.

This release also exposes the list of postal data, in case you want to iterate over it to calculate stats or anything else.

Happy posting.

Monthly Update

02 Apr 09:58
Compare
Choose a tag to compare

The data file have been updated with the latest data from JP Post. There weren't many updates this month.

  • Yomigana was fixed for a place called 井出蛯沢 (イテエビザワ -> イデエビザワ)
  • one new postal code in Kyoto and Hyogo each

There were no other code changes in this release.