An open API service indexing awesome lists of open source software.

https://github.com/tobyxdd/ipv4-cidr-visualizer


https://github.com/tobyxdd/ipv4-cidr-visualizer

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# IPv4 CIDR visualizer

A simple Python script to visualize IPv4 CIDR ranges with a colored bar.

## Usage

Prepare a text file with one CIDR range per line, e.g.:

```text
1.0.0.0/8
2.0.0.0/8
3.0.0.0/8
```

Run the script:

```bash
python main.py
```

## Examples

### Google

![Google](screenshots/google.png)

### Cloudflare

![Cloudflare](screenshots/cloudflare.png)

### United States

![United States](screenshots/us.png)

### China

![China](screenshots/china.png)