A Package For Generating Domain Names.
Project description
python-domaingistry
DomainGistry - A Domain Name Generation Package For Python
DomainGistry also comes with a CLI that you can use in the terminal as well as the package itself.
DomainGistry Suite of Tools
- DomainGistry Pkg
- Domain-Gistry CLI
- DomainGistry.js
Installation
- To install DomainGistry, simply use pip or pipenv
pip install domaingistry
Usage
>>> from domaingistry import Domain
>>> d = Domain('example','common')
>>> d.generate()
Alternatively
>>> 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
Get Common Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_common()
Get New Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_new()
Get Extra Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_extra()
Get Prefixed Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_prefix()
Get Suffixed Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_suffix()
Get Shuffled Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_shuffled()
Saving Results To JSON
Get Common Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example','common')
>>> d.to_json()
Working with the Command Line Interface(CLI) DomainGistry CLI
The CLI is made for easy of use in the terminal.
Usage
Global Usage
domain-gistry --help
Local Usage If You Used The Repository to Install
python domain-gistry.py --help
Generating Domain Names
- 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
Generating Domain Names By Category
- [Common | Extra | New | Prefixed | Suffixed]
- Generate the domain name per category and show it on the console
Get Common Domain Names[.com,.org]
domain-gistry get-common "yourdomain name"
Get New Domain Names[.ai,.io]
domain-gistry get-new "yourdomain name"
Get Extra Domain Names[.tv,.media]
domain-gistry get-extra "yourdomain name"
Get Prefixed Domain Names[myexample.com,theexample.com]
domain-gistry get-prefix "yourdomain name"
Get Suffixed Domain Names[exampleworld.com,examplify.com]
domain-gistry get-suffix "yourdomain name"
Get All Domain Names
domain-gistry get-all "yourdomain name"
Author
- Jesse E.Agbe(JCharis)
- Jesus Saves @JCharisTech
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
domaingistry-0.0.1.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for domaingistry-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7872e88601aeb63ed17f2afc0c08d69d939ba73a5f798718c54bfd85e1777d0 |
|
MD5 | 2d2531d7ee0f837c2d79cfc88ea6bccf |
|
BLAKE2b-256 | c477d528a8c5a38c1ef1b17b94aa942a73868cc66d69d19e60c29598facd4866 |