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.2.tar.gz
(306.7 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.2.tar.gz.
File metadata
- Download URL: japanese-address-0.1.2.2.tar.gz
- Upload date:
- Size: 306.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a24431ad16093e27d9909666c9944f124eeab5db31b1de14aec83c0ebc5fb4b7
|
|
| MD5 |
1d40ac17ab0abf34980283592e9e3a69
|
|
| BLAKE2b-256 |
dcc9e2e28b915417d25b6a61ddea4cc8a332315a497ba070c4744cd8de2fc34c
|
File details
Details for the file japanese_address-0.1.2.2-py3-none-any.whl.
File metadata
- Download URL: japanese_address-0.1.2.2-py3-none-any.whl
- Upload date:
- Size: 309.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
989f21793d54c9d7bad3f15d2d31fb00fe72d5eed4948acc2832e8e6ccda4fff
|
|
| MD5 |
f52caa97f8696db755cf35fff2cdad69
|
|
| BLAKE2b-256 |
3494fe0af3157c887481784281c0ec0d42b4540e032260519e4dca9213614b96
|