Skip to main content

A Python CLI tool to check service tags for Azure IPs

Project description

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.

Installation

The recommended method of installation is with 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 <ip>, 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

Inspired by https://github.com/deanobalino/azureip

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azureipcheck-1.0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

azureipcheck-1.0.1-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page