Metadata-Version: 2.1
Name: spanning-cidr
Version: 0.1.4
Summary: Function that accepts a sequence of IP addresses returning a single subnet that is large enough to span the lower and upper bound IP addresses with a possible overlap on either end.
Home-page: https://github.com/moskrc/spanning-cidr/
License: MIT
Keywords: Networking,Systems Administration,CIDR,IP,IPv4
Author: Vitalii Shishorin
Author-email: moskrc@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Project-URL: Repository, https://github.com/moskrc/spanning-cidr/
Description-Content-Type: text/markdown

## Spanning Cidr

Function that accepts a sequence of IP addresses returning a single subnet that is large enough to span the lower and upper bound IP addresses with a possible overlap on either end.

### Installation

Run `pip install spanning-cidr`

### How To Use

```Python
from spanning_cidr import spanning_cidr

spanning_cidr(['192.168.1.1','192.168.1.2', '192.168.1.3', '192.168.1.4'])
>> '192.168.1.0/29'

spanning_cidr(['192.168.2.10', '192.168.1.10'])
>> '192.168.0.0/22'
```

