Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricelambert/simplewhois
This pure python module implements WHOIS protocol and performs WHOIS requests.
https://github.com/mauricelambert/simplewhois
Last synced: about 10 hours ago
JSON representation
This pure python module implements WHOIS protocol and performs WHOIS requests.
- Host: GitHub
- URL: https://github.com/mauricelambert/simplewhois
- Owner: mauricelambert
- License: gpl-3.0
- Created: 2024-01-19T11:47:33.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-25T14:08:45.000Z (10 months ago)
- Last Synced: 2024-01-25T15:30:49.981Z (10 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
![SimpleWhois logo](https://mauricelambert.github.io/info/python/code/SimpleWhois_small.png "SimpleWhois logo")
# SimpleWhois
## Description
This module implements WHOIS protocol and performs WHOIS requests.
> This module is a pure python implementation and doesn't use `whois` executable.
## Requirements
This package require:
- python3
- python3 Standard Library## Installation
```bash
python3 -m pip install SimpleWhois
``````bash
git clone "https://github.com/mauricelambert/SimpleWhois.git"
cd "SimpleWhois"
python3 -m pip install .
```## Usages
### Command line
```bash
SimpleWhois # Using CLI package executable
python3 -m SimpleWhois # Using python module
python3 SimpleWhois.pyz # Using python executable
SimpleWhois.exe # Using python Windows executableSimpleWhois 8.8.8.8
SimpleWhois example.com 2001:1c00::78
```### Python script
```python
from SimpleWhois import *
whois("8.8.8.8")
whois("example.com")
whois("2001:1c00::78")
```## Links
- [Pypi](https://pypi.org/project/SimpleWhois)
- [Github](https://github.com/mauricelambert/SimpleWhois)
- [Documentation](https://mauricelambert.github.io/info/python/code/SimpleWhois.html)
- [Python executable](https://mauricelambert.github.io/info/python/code/SimpleWhois.pyz)
- [Python Windows executable](https://mauricelambert.github.io/info/python/code/SimpleWhois.exe)## License
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).