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()
Get Sub Domain Names
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.get_subdomain()
Get Sub Domain Names (Alternatively)
>>> from domaingistry import Domain
>>> d = Domain('example')
>>> d.subdomain
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 | SubDomain]
- 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 Sub Domain Names[blog.exampleworld.com,app.examplify.com,support.examplify.com]
domain-gistry get-subdomain "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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file domaingistry-0.0.2.tar.gz.
File metadata
- Download URL: domaingistry-0.0.2.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e4a34b3fee75787083d1602fb434ef3c8515346e7fee9846d373e3e19b54901
|
|
| MD5 |
6ad12ef2d4631de9260c3a5016acfe4c
|
|
| BLAKE2b-256 |
380d24df0f35895650eaa44aa11d88458425c57711ef04cd8f4bae9e1958ddac
|
File details
Details for the file domaingistry-0.0.2-py2-none-any.whl.
File metadata
- Download URL: domaingistry-0.0.2-py2-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c972350a7fe95b6a2734a9a55f1bb1b4f7fb778e43094bc10bbd0e82eef010f3
|
|
| MD5 |
8dbc593d1f6940ff719ba7b9a0c4c18a
|
|
| BLAKE2b-256 |
83ad702c2bb33f462954e3ef6ac2f0fee43f02e5562763d4d36a9976a39e4c52
|