Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Check domain name availability from the command line.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 domainr
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 dom
Octocat-spinner-32 requirements.txt
Octocat-spinner-32 setup.py
Octocat-spinner-32 test.py
README.md

dom

Build Status

An easy-to-use command line utility for checking domain name availability using Domainr's JSON API.

Installation

If you want to use the package through pip, simply run:

pip install dom

Or, if you'd prefer to clone the repo, run the following command:

git clone git@github.com:zachwill/dom.git
cd dom
python setup.py install

Optional Flags

The optional --ascii flag can be used to look up domain availability without the use of the Unicode characters.

dom --ascii zachwill

X  zachwill.com
A  zachwill.net
A  zachwill.org
A  zachwill.co
X  za.ch
X  z.ac

The --available flag only shows domain names that are currently available:

dom --available zachwill

✓  zachwill.net
✓  zachwill.org
✓  zachwill.co
✓  zachwill.io
✓  zachwill.me

And, the --tld flag only shows top-level domains:

dom --tld zachwill

✗  zachwill.com
✓  zachwill.net
✓  zachwill.org

Deploying

You won't need to worry about this, but since the Python upload command is so obtuse, I'm going to keep it here:

python setup.py sdist bdist_egg upload
Something went wrong with that request. Please try again.