Skip to content

jrog612/nicky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nicky

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

How to use

1. with pip

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