Posuto

Latest version: v2024.5.0

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

Scan your dependencies

Page 4 of 4

0.4.1

This release includes monthly updates to the source files as well as a bugfix related to multithreaded environment handling (9).

This month's updates included an unusual number of minor updates in Hokkaido.

Thanks to yukota for the fix!

0.4.0

In addition to monthly updates this release adds support for 大口事業所の個別番号, or postal codes for high-volume office destinations.

While these codes look the same as other codes, the data associated with them is very different, and includes an explicity address and recipient name. You can access them with the same `posuto.get` you're familiar with, but the returned object may be an `OfficeCode` instead of a `PostalCode`, so be sure to check.

See 4 for further details on this feature.

0.3.0

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](https://github.com/polm/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](https://github.com/polm/posuto#multi-threaded-environments) 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](https://user-images.githubusercontent.com/286278/106267279-c2da2b80-626c-11eb-9097-38403c341f0e.jpg)

- 世界貿易センタービルディング南館 added many codes; I just visited the soon-to-close non-南館 building
- In Yamaguchi a new 小郡令和 neighborhood [was created](https://www3.nhk.or.jp/lnews/yamaguchi/20210127/4060008519.html)
- In Shizuoka a neighborhood name was corrected from 桜が丘 to 桜ガ丘
- In Oita a neighborhood name was corrected from 千歳木 to 千蔵木

0.1.10

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.

0.1.7

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.

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.