awsip
A simple python library to check if an ip, a list of ips or a list of ip ranges exist inside Amazon (AWS) infrastructure.
pip install awsip
After installation, you can make use of awsip utility to check for ips.
awsip 1.1.1.1 2.2.2.2 5.4.3.0/28
You can provide a white-spaced list of ip addresses / ranges. You can also provide a filename containing ip address / range on each line. For example, you have a file myips.txt with following format.
192.0.0.1
7.7.7.0/28
9.9.9.0/30
You can pass the ips to utility while providing extra ips on the go like this:
awsip myips.txt 1.1.1.1 2.2.2.0/24
You can also make use of it in your custom code like this:
from awsip import AWSIPChecker
checker = AWSIPChecker()
checker.get_aws_range(['18.208.0.0', '18.208.0.0/16'])
You can provide a list of ip address, ip ranges or a mixture of both and program will check if they belong to AWS and return appropriate data if they do belong.
Metadata
Release files for awsip 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awsip-0.2.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awsip-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / awsip-0.2.1.tar.gz
| Download URL | awsip-0.2.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4926221df100bfbaa5c86221638f54fa544c9e529319907af2dac2a24c5fbb22
|
|
BLAKE2b-256 checksum How to use checksums |
a15fb608dda637a1a2611edd1a475de767696e7073e1a0851b01b011c19f36c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Release files / awsip-0.2.1-py3-none-any.whl
| Download URL | awsip-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e229666b36df87d9f87576d6619d66ed7f9d01e5847a18ae1a72b8aae8b0a9f8
|
|
BLAKE2b-256 checksum How to use checksums |
84d3bea5b5b3acc83cee52029698f104b8be0edc4aef763318f447970b79a349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|