No project description provided
Project description
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 is licensed under MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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-addresses-0.0.2.tar.gz.
File metadata
- Download URL: japanese-addresses-0.0.2.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.6.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27290d3b7b5013a35bb1dc138696650a6516e27b4a77ac25bf64defc00d864a9
|
|
| MD5 |
0a1227b19bd95454a2a5a7c3ac905217
|
|
| BLAKE2b-256 |
768f249c911dbcf04ec669341843e1f478eb3f33b69d1eb75eb471dad7b404c6
|
File details
Details for the file japanese_addresses-0.0.2-py3-none-any.whl.
File metadata
- Download URL: japanese_addresses-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.6.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4553c1f552aa7d5772983fa59ac3accdc18072355e1d386878d2b24d797cb7ac
|
|
| MD5 |
dfec40134055970d7de68ffceabcc761
|
|
| BLAKE2b-256 |
e7f4b173c276c4deaa394434952564cbf7c553ff4da2380c2cef0038dc369a00
|