Skip to main content

bbyu-nickname-generator

Project description

# bbyu-nickname-generator

Generate nickname with various options(animal, color etc.)

Currently supports only korean. but have plans to add all of the language in the world

### Objects

  • adjective

  • animal

  • color

## Install `shell pip install bbyu-nickname-generator `

## Usage `python >> from bbyu import generator >> print(generator.easy_generate()) >> '수다스러운도마뱀' >> print(generator.generate(max_length=12, number_length=3, seperator='-')) >> '뒤늦은-물개-234' >> print(generator.generate(max_length=10, number_length=2)) # default seperator = None >> '외로운원숭이28' >> generate(max_length=10, number_length=2, items=['number', '번째', 'color', 'animal']) >> '72번째분홍색문어' `

  • Find out test.py for basic use case.

## Setting

### easy_generate() ` generator.easy_generate() ` * = generate(max_length=15, number_length=0))

### generate() `python generator.generate(max_length=12, number_length=3, items=['color', 'animal', 'number'], seperator='-') ` * max_length : The maximum length of nickname. It’s easy to limit length of field. * number_length : The length of number which locates end of the nickname. * item : List of item type. item is the object which you can put in nickname. If you don’t set any sequence, default is ['adjective', 'number'].

  • item list : 'color', 'animal', 'number'

  • else : except above item name, generator understand it’s plain text. So they just put it to all nicknames. ex) ‘73``th``_red_mouse’, ‘42``th``_green_horse’

  • seperator : The seperator which shows up in between two item(adj, color, animal etc).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

bbyu_nickname_generator-0.16-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file bbyu_nickname_generator-0.16-py3-none-any.whl.

File metadata

  • Download URL: bbyu_nickname_generator-0.16-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4

File hashes

Hashes for bbyu_nickname_generator-0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b170a9bcaa9e39646d567bae94149a9ea7606ef44982f68a499cac161e1f06b1
MD5 afba1ae0fcf29490469721207935734f
BLAKE2b-256 e0372da26edf4f4d39d1f1204e0c15c20e95b787db84fb76e795ebf346a6f172

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