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 safe_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.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dom-available-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8b0fee5cd3861d13e43ac74e0bd6ff382f4c2f4e6ddc494bb8cdb1a08ac3ce72
MD5 de3415b5a908988bca027a4acc247afa
BLAKE2b-256 ca08d629346dc4d89c6e6a15ae7b01546df1561a44db981914456bfc99171df7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dom_available-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8902fbd2eb77fcec9bca72716142e28528731462a767965d6cef8c6d7723e53b
MD5 de3acbcd1750fccef476ec8444414ee3
BLAKE2b-256 a7a2e6a89df0f1255108c59652339529dfa8542549d64abbf485dec0a3b40281

See more details on using hashes here.

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