Giter Club home page Giter Club logo

python-domaingistry's Introduction

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

python-domaingistry's People

Contributors

jcharis avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.