allwhois-1.0.0
توضیحات
Get WHOIS information for a given domain.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | allwhois-1.0.0 |
| نام | allwhois |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sriram G |
| ایمیل نویسنده | marirs@gmail.com |
| آدرس صفحه اصلی | https://github.com/marirs/allwhois/ |
| آدرس اینترنتی | https://pypi.org/project/allwhois/ |
| مجوز | MIT |
All Whois
============
[](https://travis-ci.org/marirs/allwhois)
[](https://codecov.io/gh/marirs/allwhois)


[](https://github.com/marirs/allwhois/blob/master/LICENSE)
A Python package for retrieving WHOIS information of domains.
#### Description/Features
- Python wrapper for Linux "`whois`" command
- Get `parsed` & `raw` WHOIS data for a given domain
- Extract data for `any` TLD.
- No TLD regex's
- Date's as `datetime objects` or `strings`
- Caching of results
#### Requirements
- Python 3.6+
Support for python 3.6+ only. Works on `macos` & `linux` only
#### Issues
If there is something that is not parsing well, open a issue, and i will look into it.
Or if you fixed it, do make a pull request, and i can merge it.
#### Installation
```bash
pip install allwhois
```
#### Pre-requisite installation
- macOS
```bash
brew install whois
```
- Linux
```bash
apt install whois
```
#### Usage
```python
import sys
from allwhois import whois
from pprint import pprint
if __name__ == "__main__":
domain = None
try:
domain = sys.argv[1]
except:
exit(f"Usage: {sys.argv[0]} <domain_name>")
response = whois.query(domain)
pprint(response)
```
---
Authors:
- Sriram: [marirs](http://github.com/marirs)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl allwhois-1.0.0:
pip install allwhois-1.0.0.whl
نصب پکیج tar.gz allwhois-1.0.0:
pip install allwhois-1.0.0.tar.gz