生成随机用户名的命令行应用程序。
username-generator的Python项目详细描述
a生成随机用户名的命令行应用程序。
每个用户名都是一个形容词和一个串在一起的名词。有142个 词表中的形容词和484个名词,可能有68728个 形容词和名词的组合。
字表来源:
- http://www.talkenglish.com/vocabulary/top-500-adjectives.aspx
- http://www.talkenglish.com/vocabulary/top-1500-nouns.aspx
安装
使用pip:
sudo pip3 install username_generator
手册:
git clone https://github.com/abactel/username_generator_cli
cd username_generator_cli
setup.py install
用法
打开终端并运行usernames。提供以下选项:
Command line argument | Description |
---|---|
^{tt6}$, ^{tt7}$ | Show this help message and exit |
^{tt8}$ | Change number of usernames generated |
^{tt9}$ | Use underscores instead of camelCase |
^{tt10}$ | Set maximum size of usernames |
^{tt11}$ | Set minimum size of usernames |
^{tt12}$ | Prevent printing usernames to terminal |
^{tt13}$ | Save output in a text file |
^{tt14}$ | Number of spaces to indent usernames |
^{tt15}$ | Hide short introductory notes |