nayose is a Python module for data cleansing for Japanese address and is distributed under the MIT license.
Project description
nayose is a Python module for data cleansing for Japanese address and is distributed under the MIT license.
Installation
You can install the latest this module with the command:
pip install nayose
Quick start
nayose has two main function of data cleansing for Japanese address.
complement_address
is a function to complement dirty address. For example, the followings is a case of missing state(都道府県).
from nayose import complement_address
complement_address("千代田区大手町1−1−1大手町あいうえビル")
> "東京都千代田区大手町1−1−1大手町あいうえビル"
split_address
is a function to split full address to state(都道府県), city(市区郡) and street(その他).
from nayose import split_address
split_address("東京都千代田区大手町1−1−1大手町あいうえビル")
> ('東京都', '千代田区', '大手町1−1−1大手町あいうえビル')
Important links
- Official source code repo: https://github.com/sonesuke/nayose
- Download releases: https://pypi.org/project/nayose/
- Issue tracker: https://github.com/sonesuke/nayose/issues
Citation
If you use nayose in a publication, we would appreciate citations: https://github.com/sonesuke/nayose
For contributors
You can contribute it quickly by using docker image with the command.
git clone https://github.com/sonesuke/nayose.git
docker-compose run nayose bash
For test.
bash scripts/test
If you add any modules, please re-build docker image after 'poetry update' .
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
Built Distribution
File details
Details for the file nayose-0.1.13.tar.gz
.
File metadata
- Download URL: nayose-0.1.13.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.9 CPython/3.7.12 Linux/5.8.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7af15e46b7bb9c5b526003c3109a4b8fa3b49c0640e8dc035839c4f0bcc9753 |
|
MD5 | 16b9d13ebc6a8fe22049cb6b9d922d6e |
|
BLAKE2b-256 | 79473a00e12d7c9d9fd476e64bf3f2d26c3cfa583645a393c78ecb48da4a8c60 |
File details
Details for the file nayose-0.1.13-py3-none-any.whl
.
File metadata
- Download URL: nayose-0.1.13-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.9 CPython/3.7.12 Linux/5.8.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da51622155d1216ec177a45a13ab3f259c112ea31f2d1393f15e6aa1854efa89 |
|
MD5 | 4d53b1d55991803d5136061a50fef566 |
|
BLAKE2b-256 | fc445a8385c6f8001d2f3f106c17f696fb7b38dc66535ccd6a3e00f1992524e6 |