Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

factocat/available

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

Is 'domain.x' Available?

IN WHOIS WE TRUST

My cheap way of checking whether a domain is available to be purchased or not (powered by whois).

Disclaimer

This package might not be able to check the available for every possible domain TLD, since whois does not work with some TLDs. In the future, I might include options to call different APIs (Gandi API, Domainr, etc.).

Example

package main
from available.checker import safe_domain
domain := "dreamdomain.io"
available, isBadTld = safe_domain(domain)
if available :
 print("[+] Success!")
 

The above example gives whether a domain is valid or not. Otherwise you could also simple check for domain availability

package main
from available.checker import domain
domain := "dreamdomain.io"
available = domain(domain)
if available :
 print("[+] Success!")
 

About

Domain Availability check for Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /