Japanese address parser
Project description
A japanese addresses parser
installation
pip install japanese-address
Usage
> from japanese_address import parse
> parse('北海道 札幌市 中央区北5条西4-7')
{'prefecture': '北海道',
'prefecture_eng': 'Hokkaido',
'unparsed_right': '北5条西4-7',
'city': '札幌市',
'city_eng': 'Sapporo',
'ward': '中央区',
'ward_eng': 'Chūō'}
> parse('東京都江東区豊洲2丁目4-9')
{'prefecture': '東京都',
'prefecture_eng': 'Tokyo',
'unparsed_right': '4-9',
'ward': '江東区',
'ward_eng': 'Kōtō',
'city_district': '豊洲2丁目'}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
japanese-address-0.1.2.3.tar.gz
(308.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file japanese-address-0.1.2.3.tar.gz.
File metadata
- Download URL: japanese-address-0.1.2.3.tar.gz
- Upload date:
- Size: 308.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ba13b0fbd7394dc1e2b66193c5770007c9590f6adc55780610a8efbb7c58980
|
|
| MD5 |
27ce82e63dfe397552f7a1504e6e1902
|
|
| BLAKE2b-256 |
3d2b053a8d9993d8ac2576cb3c24ff19d1281cd09950193b756a08d90de6e680
|
File details
Details for the file japanese_address-0.1.2.3-py3-none-any.whl.
File metadata
- Download URL: japanese_address-0.1.2.3-py3-none-any.whl
- Upload date:
- Size: 309.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f79c1eb59aa4c928a1af946f5f09c58a49bba4a0133db4da1d11051eb69980ce
|
|
| MD5 |
9986adab0b18bcefe1a243a951759517
|
|
| BLAKE2b-256 |
1aaa6059954cd2b21f52ae0842d602c27c7a29ab52a53d86f709fb92bba65f87
|