Skip to main content

A Package For Generating Domain Names.

Project description

python-domaingistry

DomainGistry - A Domain Name Generation Package For Python

Build Status PyPI - Python Version

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


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.2.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

domaingistry-0.0.2-py2-none-any.whl (15.3 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page