Command line interface API and wrapper for namelix.com.
This library and command line interface (CLI) program can be used to generate names of businesses, websites, and more to help and inspire you with your project!
Note: This repository was intended to update the pynamelix library with the updated options on namelix.com. However, since I am unable to find the generation options provided by the server, apart from the previously documented options, I cannot continue developing this project.
From PyPi:
pip install pynamelix
From this repo:
git clone https://github.com/casychow/pynamelix
pip install .
From original repo:
git clone https://github.com/axju/pynamelix
pip install .
usage: pynamelix [-h] [-V] [-v] [-p] [-s {multiword,brandable,language,wordmix,spelling,dictionary,rhyme,person}] [-l {short,medium,long}]
[-f FILENAME]
keywords [keywords ...]
positional arguments:
keywords A word or words to base the word generator on. Multiple words should be separated by a space (' ').
optional arguments:
-h, --help show this help message and exit
-V, --version Show program version.
-v, --verbose
-p, --pypi
-s {multiword,brandable,language,wordmix,spelling,dictionary,rhyme,person}, --styles {multiword,brandable,language,wordmix,spelling,dictionary,rhyme,person}
Select a preferred STYLE of your generated words.
-l {short,medium,long}, --lengths {short,medium,long}
Select a preferred LENGTH of your generated words.
-f FILENAME, --filename FILENAME
Write API output to a file.
To display available commands:
python -m pynamelix -h
Example command to run the program using the wordmix
option to create words of medium
length based on the word axju
:
python -m pynamelix -p -s wordmix -l medium python axju
NOTE: Only one option for the styles
and length
can be chosen at a time. The furthest option of a command to run the program will be used. In the following example, the style multiword
will be chosen for word generation as it is the latest -s
option in the command.
python -m pynamelix -p -s wordmix -s multiword -l medium python axju
NOTE: I am intending allow this program to accept multiple style and length options by recursively running the API to produce permutational results based on the styles and word length options chosen. There is no set date for this feature, I hope to work on this task the next time I work on this project.
- Insert print out of Available Commands/Options (-h)
- Update to include 2024 options (cannot be done)
- Export API output to a file
- Recursively run API to produce outputs related to the number of styles and word length
- Simplify/condense the logic to run the API based on the filename or not