Skip to main content

generates the name and the address at random.

Project description

wercker status

This package generates the name and the address at random.

Original is gimei. Thank’s @willnet

Installation

$ pip install 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
gimei-0.1.53.tar.gz (148.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page