No project description provided
Project description
japanese-addresses
Parsing Japan addresses to prefectures and cities.
Installation
pip install git+https://github.com/wakamezake/japanese-addresses.git
Examples
from japanese_addresses import separate_address
parsed_address = separate_address('宮城県仙台市泉区市名坂字東裏97-1')
print(parsed_address)
"""
ParsedAddress(prefecture='宮城県', city='')
"""
Testing
pip install poetry
poetry install
poetry run pytest
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
japanese-addresses-0.0.1.tar.gz
(22.9 kB
view hashes)
Built Distribution
Close
Hashes for japanese_addresses-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4301190c8c4cf5e9ceb839b0087b4aadad58675612a4b26c8af00949022d241d |
|
MD5 | 1269d4bf2abf4ef55c51c12a65401766 |
|
BLAKE2b-256 | f5c91388a5a6cbea8ba02dd73b59ffe24ba79f61ca614f81d29386b68183e1f8 |