Skip to main content

No project description provided

Project description

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!")
        

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

dom-available-0.1.4.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dom_available-0.1.4-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file dom-available-0.1.4.tar.gz.

File metadata

  • Download URL: dom-available-0.1.4.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.7 Windows/10

File hashes

Hashes for dom-available-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e2bf3b4fe184e6377a275aa481d96035a1da681338e17f47a0defe5e20b2812e
MD5 1b75a65e7916c28da4b8b4cfd1d17df3
BLAKE2b-256 b171526a4f95b6802c0bed71159fb5ba42fd8c8c128a7c52f65f760aef1d95dd

See more details on using hashes here.

File details

Details for the file dom_available-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dom_available-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.7 Windows/10

File hashes

Hashes for dom_available-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aef70e87fc83821b4e40ca5e1dbf42ee3bb23170af6a63c1f9bc2843fd27ab36
MD5 bff43b183882f2fbc224892b841e90aa
BLAKE2b-256 35ac0ae243ef164cb10a44869e8fcc98169eac9c3bff97196576fc12c84a5315

See more details on using hashes here.

Supported by

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