Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daddycocoaman/azureipcheck
A Python Typer-based CLI tool to check IP addresses against Azure services. It also uses Rich for some dope console output. Additionally, it makes use of Clumper for parsing through the Azure Service Tag JSON files.
https://github.com/daddycocoaman/azureipcheck
azure cli clumper gazpacho network rich typer
Last synced: 3 days ago
JSON representation
A Python Typer-based CLI tool to check IP addresses against Azure services. It also uses Rich for some dope console output. Additionally, it makes use of Clumper for parsing through the Azure Service Tag JSON files.
- Host: GitHub
- URL: https://github.com/daddycocoaman/azureipcheck
- Owner: daddycocoaman
- Created: 2020-12-29T20:41:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T12:58:01.000Z (over 1 year ago)
- Last Synced: 2024-11-01T00:51:25.766Z (10 days ago)
- Topics: azure, cli, clumper, gazpacho, network, rich, typer
- Language: Python
- Homepage:
- Size: 86.9 KB
- Stars: 21
- Watchers: 5
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# azureipcheck
A Python [Typer-based](https://github.com/tiangolo/typer) CLI tool to check IP addresses against Azure services. It also uses [Rich](https://github.com/willmcgugan/rich) for some dope console output. Additionally, it makes use of [Clumper](https://github.com/koaning/clumper) for parsing through the Azure Service Tag JSON files.
## Installation
The recommended method of installation is with [pipx](https://github.com/pipxproject/pipx).
```
pipx install azureipcheck
```However, you can install the normal way from PyPi with `python3 -m pip install azureipcheck`.
## Usage
You should first run `azureipcheck update` to download the latest Service Tag JSON files. After downloading the files locally, you can run `azureipcheck check `, where `ip` can be a single address or CIDR (i.e., `51.8.227.233` or `51.8.227.233/24`).
Checking a CIDR does not check every IP in the network provided. It simply checks to see if the network is in a subnet of any of the Azure network ranges. Therefore `51.8.227.233/24` may return matches but `51.8.227.233/8` would not.
### Built With
- Typer: https://github.com/tiangolo/typer
- Rich: https://github.com/willmcgugan/rich
- Clumper: https://github.com/koaning/clumper
- Gazpacho: https://github.com/maxhumber/gazpacho
- Cookiecutter-RichTyper: https://github.com/daddycocoaman/cookiecutter-richtyperInspired by https://github.com/deanobalino/azureip