Skip to main content

generates the name and the address at random.

Project description

Gimei

This package generates the name and the address at random.

Original is gimei. Thank's @willnet

Installation

stable

$ pip install gimei

test version

pip install -i https://test.pypi.org/simple/ gimei

Usage

from gimei import Gimei

name = Gimei().name

print name                # 川端 一世 
print name.kanji          # 川端 一世
print name.hiragana       # かわばた ひとせ
print name.katakana       # カワバタ ヒトセ
print name.last.kanji     # 川端
print name.last.hiragana  # かわばた
print name.last.katakana  # カワバタ
print name.first.kanji    # 一世
print name.first.hiragana # ひとせ
print name.first.katakana # ヒトセ


address = Gimei().address 

print address             # 大分県三潴郡大木町小原西
print address.kanji       # 大分県三潴郡大木町小原西
print address.hiragana    # おおいたけんみずまぐんおおきまちこばらにし
print address.katakana    # オオイタケンミズマグンオオキマチコバラニシ

print address.prefecture.kanji     # 大分県
print address.prefecture.hiragana  # おおいたけん
print address.prefecture.katakana  # オオイタケン

print address.city.kanji     # 三潴郡大木町
print address.city.hiragana  # みずまぐんおおきまち
print address.city.katakana  # ミズマグンオオキマチ

print address.town.kanji     # 小原西
print address.town.hiragana  # こばらにし
print address.town.katakana  # コバラニシ

Recommendation

pyyaml is very convenient, but it's for a short while later to deal with a great deal of data. It's recommended hard to install libyaml.

License

MIT

Author

Mao Nabeta

twitter

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

gimei-0.2.3.tar.gz (150.8 kB view hashes)

Uploaded source

Built Distribution

gimei-0.2.3-py3-none-any.whl (151.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page