nicky

Nicky the nicknamer


Keywords
python, naming, nickname, namer, nicknamer, nicky
License
MIT
Install
pip install nicky==2.0.0

Documentation

Nicky

Nicky is the nicknamer. You can make funny nickname with nicky!

How to use

1. with pip

# install local env
pip install nicky

# or install globally.
pip install --user nicky

nicky name
> ν–₯κΈ‹ν•œ 까치

nicky name 5
> μ‹ μ„±ν•œ 슀콘
> λ˜˜λ§λ˜˜λ§ν•œ 였미자차
> ν–₯κΈ‹ν•œ μŠ€ν…Œμ΄ν¬
> ν™œκΈ°μ°¬ 사탕
> μ—„μ²­λ‚œ μˆœλŒ€

2. with code

from nicky import Nicky

n = Nicky(lang='ko')
n.get_nicknames(3)
> ['μ‹ μ„±ν•œ 슀콘', 'λ˜˜λ§λ˜˜λ§ν•œ 였미자차', 'ν–₯κΈ‹ν•œ μŠ€ν…Œμ΄ν¬']

If you want more, just type nicky [command] --help

Localization and more nicknames

Folk and clone this project. and add your language code folder in nicky/nicknames

After then, you can use nicky-cli.py to add your nickname prefix and suffix.

python3 nicky-cli.py add [prefix|suffix|pre|suf|p|s] {values} [-l|--lang] {language}
You can add multiple values. Separate your values with comma like a,b,c. Remember, there's no space.

example)

python3 nicky-cli.py add pre melon,potato,tomato --lang en

After all, pull requests to master branch.