DomainGistry also comes with a CLI that you can use in the terminal as well as the package itself.
- DomainGistry Pkg
- Domain-Gistry CLI
- DomainGistry.js
- To install DomainGistry, simply use pip or pipenv
pip install domaingistry
>>> from domaingistry import Domain
>>> d = Domain('example','common')
>>> d.generate()
>>> from domaingistry import Domain
>>> d = Domain()
>>> d.name ='yourdomain'
>>> d.category = 'extra'
>>> d.generate()
These will generate a list of domain names using the name and category supplied. The categories include the following:
- common : for common domain names.This is the default
- new : for new domain name extensions eg ai,io
- extra : for extra domain name extensions eg. tv,app
- prefix : for prefixed domain names eg. adomain,thedomain,topdomain
- suffix: for suffixed domain names eg. domainify.com,domainly.com
- shuffled: this shuffles two or more terms given.
Let us see how to use each category
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_common()
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_new()
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_extra()
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_prefix()
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_suffix()
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_shuffled()
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_subdomain()
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.subdomain
>>> from domaingistry import Domain
>>> d = Domain('example','common')
>>> d.to_json()
The CLI is made for easy of use in the terminal.
domain-gistry --help
python domain-gistry.py --help
- Generate the domain name, shows you the common domain name generated, saves to a json file
domain-gistry generate yourdomainname
or
domain-gistry generate "yourdomainname"
- Generate the domain name by category and with the option to save
domain-gistry generate yourdomainname --category common --save yes
or
domain-gistry generate "yourdomainname" --category common --save yes
- [Common | Extra | New | Prefixed | Suffixed | SubDomain]
- Generate the domain name per category and show it on the console
domain-gistry get-common "yourdomain name"
domain-gistry get-new "yourdomain name"
domain-gistry get-extra "yourdomain name"
domain-gistry get-prefix "yourdomain name"
domain-gistry get-suffix "yourdomain name"
domain-gistry get-subdomain "yourdomain name"
domain-gistry get-all "yourdomain name"
- Jesse E.Agbe(JCharis)
- Jesus Saves @JCharisTech