Skip to main content

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

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' .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nayose-0.1.15.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

nayose-0.1.15-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file nayose-0.1.15.tar.gz.

File metadata

  • Download URL: nayose-0.1.15.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.7.12 Linux/5.8.0-1042-azure

File hashes

Hashes for nayose-0.1.15.tar.gz
Algorithm Hash digest
SHA256 a7ae686d24e2908f02f744895296fc471d8de469b7f928a69d460f97bf8522af
MD5 ea5a1484d6361382322f085d960c6ec0
BLAKE2b-256 c14100764fcb43fa5a9a6e783bcb800a1feb2d985c64b053232969560a955023

See more details on using hashes here.

File details

Details for the file nayose-0.1.15-py3-none-any.whl.

File metadata

  • Download URL: nayose-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.7.12 Linux/5.8.0-1042-azure

File hashes

Hashes for nayose-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 c44f386d5b96bc4ec96aa1072a26b42bcae4ebaef87c5b54cedf75f3935ae2c0
MD5 655ed8d5340075e099c5844be88599fc
BLAKE2b-256 b3899bfb1bb7ae57a9588dddebf9dd4d7a5f6cccc73a90ffc796c59f5fb487e2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.6

2 files

Supported by

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