japanese-addresses
Parsing Japan addresses to prefectures and cities.
Installation
pip install japanese-addresses
Examples
from japanese_addresses import separate_address
parsed_address = separate_address('宮城県仙台市泉区市名坂字東裏97-1')
print(parsed_address)
"""
ParsedAddress(prefecture='宮城県', city='仙台市泉区', street='市名坂')
"""
parsed_address = separate_address('鹿児島県志布志市志布志町志布志')
print(parsed_address)
"""
ParsedAddress(prefecture='鹿児島県', city='志布志市', street='志布志町志布志')
"""
Testing
pip install poetry
poetry install
poetry run pytest
License
Japanese_addresses are licensed under MIT
prefecture2city2street.pkl
prefecture2city2street.pkl is a derivative work with a modification of geolonia / japanese-addresses
Also, prefecture2city2street.pkl was created using csv_to_dict.py
Information on the original work
https://geolonia.github.io/japanese-addresses/
タイトル
Geolonia 住所データ
出典
本データは、以下のデータを元に、毎月 Geolonia にて更新作業を行っています。
スポンサー
ライセンス
Metadata
Release files for japanese-addresses 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| japanese-addresses-0.0.3.tar.gz | 1.3 MB | Without provenance | Details for japanese-addresses-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| japanese_addresses-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for japanese_addresses-0.0.3-py3-none-any.whl |
Total release size: 2.7 MB
Release files / japanese-addresses-0.0.3.tar.gz
| Download URL | japanese-addresses-0.0.3.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9300008f9dbd96d34bc47485a905bfa608c6dd1f54ef18f99370fe9edad7468
|
|
BLAKE2b-256 checksum How to use checksums |
b1d13ca5bf6ed9992edb6e3d482e39a137f898796674da2c7097080a3ddc7ebc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.5 Windows/10
|
Release files / japanese_addresses-0.0.3-py3-none-any.whl
| Download URL | japanese_addresses-0.0.3-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da7e3701f9bccf582085d45172f6833a03dc6c0b78b78d20c97dec0b8b7a5fb9
|
|
BLAKE2b-256 checksum How to use checksums |
90f8adc85496f17208dfcee6a87d32eb35d243aa2db74cc26624a46b6f7922a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.5 Windows/10
|
Security for japanese-addresses 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.