dom-available-0.1.4
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dom-available-0.1.4 |
| نام | dom-available |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aman Jha |
| ایمیل نویسنده | amanjha22@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dom-available/ |
| مجوز | - |
# 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](https://github.com/domainr/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
```Python
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
```Python
package main
from available.checker import domain
domain := "dreamdomain.io"
available = domain(domain)
if available :
print("[+] Success!")
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl dom-available-0.1.4:
pip install dom-available-0.1.4.whl
نصب پکیج tar.gz dom-available-0.1.4:
pip install dom-available-0.1.4.tar.gz