Skip to main content

No project description provided

Project description

japanese-addresses

PyPI version Python package codecov Binder

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


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.2.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

japanese_addresses-0.0.2-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

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

Hashes for japanese-addresses-0.0.2.tar.gz
Algorithm Hash digest
SHA256 27290d3b7b5013a35bb1dc138696650a6516e27b4a77ac25bf64defc00d864a9
MD5 0a1227b19bd95454a2a5a7c3ac905217
BLAKE2b-256 768f249c911dbcf04ec669341843e1f478eb3f33b69d1eb75eb471dad7b404c6

See more details on using hashes here.

File details

Details for the file japanese_addresses-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for japanese_addresses-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4553c1f552aa7d5772983fa59ac3accdc18072355e1d386878d2b24d797cb7ac
MD5 dfec40134055970d7de68ffceabcc761
BLAKE2b-256 e7f4b173c276c4deaa394434952564cbf7c553ff4da2380c2cef0038dc369a00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page