mirror of
https://github.com/dcarrillo/digaws.git
synced 2024-12-22 22:08:00 +00:00
Merge pull request #2 from dcarrillo/1.1
Fix minimum python version required
This commit is contained in:
commit
fe12693de1
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -3,7 +3,7 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
14
README.md
14
README.md
@ -4,6 +4,12 @@ The digaws lookup tool displays information for a given IP address (v4 o v6) or
|
|||||||
In order to save bandwidth and time this tool requests the [AWS IP ranges](https://ip-ranges.amazonaws.com/ip-ranges.json) and keeps
|
In order to save bandwidth and time this tool requests the [AWS IP ranges](https://ip-ranges.amazonaws.com/ip-ranges.json) and keeps
|
||||||
a cached version until a new version is published.
|
a cached version until a new version is published.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
Python >= 3.7
|
||||||
|
|
||||||
|
Tests are verified on Linux, macos and Windows.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -12,7 +18,7 @@ pip install digaws
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```text
|
||||||
usage: digaws [-h] [--output <plain|json>] [--debug] <ip address|cidr> [<ip address|cidr> ...]
|
usage: digaws [-h] [--output <plain|json>] [--debug] <ip address|cidr> [<ip address|cidr> ...]
|
||||||
|
|
||||||
Look up canonical information for AWS IP addresses and networks
|
Look up canonical information for AWS IP addresses and networks
|
||||||
@ -31,7 +37,7 @@ optional arguments:
|
|||||||
|
|
||||||
- look up an IPv4 address
|
- look up an IPv4 address
|
||||||
|
|
||||||
```bash
|
```text
|
||||||
~ » digaws 52.218.97.130
|
~ » digaws 52.218.97.130
|
||||||
|
|
||||||
Prefix: 52.218.0.0/17
|
Prefix: 52.218.0.0/17
|
||||||
@ -47,7 +53,7 @@ Network border group: eu-west-1
|
|||||||
|
|
||||||
- look up an IPv6 address
|
- look up an IPv6 address
|
||||||
|
|
||||||
```bash
|
```text
|
||||||
~ » digaws 2600:1f1e:fff:f810:a29b:cb50:2812:e2dc
|
~ » digaws 2600:1f1e:fff:f810:a29b:cb50:2812:e2dc
|
||||||
|
|
||||||
IPv6 Prefix: 2600:1f1e::/36
|
IPv6 Prefix: 2600:1f1e::/36
|
||||||
@ -68,7 +74,7 @@ Network border group: sa-east-1
|
|||||||
|
|
||||||
- look up several addresses and print output as json
|
- look up several addresses and print output as json
|
||||||
|
|
||||||
```bash
|
```text
|
||||||
~ » digaws 2600:1f14::/36 13.224.119.88 --output json
|
~ » digaws 2600:1f14::/36 13.224.119.88 --output json
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
__version__ = '1.0'
|
__version__ = '1.0.1'
|
||||||
__description__ = 'Look up canonical information for AWS IP addresses and networks'
|
__description__ = 'Look up canonical information for AWS IP addresses and networks'
|
||||||
|
2
setup.py
2
setup.py
@ -25,7 +25,7 @@ setup(
|
|||||||
'License :: OSI Approved :: Apache Software License',
|
'License :: OSI Approved :: Apache Software License',
|
||||||
'Operating System :: OS Independent',
|
'Operating System :: OS Independent',
|
||||||
],
|
],
|
||||||
python_requires='>=3.6',
|
python_requires='>=3.7',
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': ['digaws=digaws.digaws:main']
|
'console_scripts': ['digaws=digaws.digaws:main']
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user