Python Script: ipaddresstools
Documentaion
Written By: Benjamin P. Trachtenberg
Contact Information: e_ben_75-python@yahoo.com
If you have any questions e-mail me
LinkedIn: Ben Trachtenberg
Docker Hub: Docker Hub
PyPi Page for ipaddresstools
Requirements
- Nothing Specific, I would suggest Python 3.6 and above.
Installation
- From source "setup.py install"
- From pip "pip install ipaddresstools"
Languages
- Python
About
This is a library used to verify, and correct ipv4 address's, and subnets. I wrote it before a good library was out there for network engineers.
Functions included in v1.0.0
- ucast_ip_mask(ip_addr_and_mask, return_tuple=True)
- ucast_ip(ip_addr, return_tuple=True)
- mcast_ip_mask(ip_addr_and_mask, return_tuple=True)
- mcast_ip(ip_addr, return_tuple=True)
- cidr_check(cidr, return_cidr=True)
- get_neighbor_ip(ip_addr, cidr="30")
- whole_subnet_maker (ip_addr, cidr)
Functions Added in v1.1.0
- number_check(check, return_number=True)
Functions Added in v1.1.1
- subnet_range(ip_net, cidr)
- all_subnets_possible(ip_net, cidr)
Functions Added in v1.1.2
- all_subnets_longer_prefix(ip_net, cidr)
- all_subnets_shorter_prefix(ip_net, cidr, include_default=False)
- all_subnets_possible(ip_net, cidr) = AllSubnetsPossibleLongerPrefix(strIpNet,strCidr)
Functions Added in v1.2.1
- ip_mask(ip_addr_and_mask, return_tuple=True):
- ip(ip_addr, return_tuple=True):
Functions Added to v1.2.3
- mask_conversion = __mask_conversion
Functions Added to v1.2.4
- all_ip_address_in_subnet(ip_net, cidr)
Functions Added to v1.2.5
- random_cidr_mask(lowest_mask=16)
- random_ucast_ip()
- random_mcast_ip()
- random_ucast_ip_mask(lowest_mask=16)
- random_mcast_ip_mask(lowest_mask=16)
Metadata
Release files for ipaddresstools 1.2.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ipaddresstools-1.2.12.tar.gz | 8.7 kB | Without provenance | Details for ipaddresstools-1.2.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ipaddresstools-1.2.12-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ipaddresstools-1.2.12-py2.py3-none-any.whl |
Total release size: 16.9 kB
Release files / ipaddresstools-1.2.12.tar.gz
| Download URL | ipaddresstools-1.2.12.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f716e49cdee0577fc9caa51e75b559b8366843a478af03287ab00e54810ebf7d
|
|
BLAKE2b-256 checksum How to use checksums |
65863eb9773067af9402b89fc39858f23dc090f853e60f580bf53d08e61fbbde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13
|
Release files / ipaddresstools-1.2.12-py2.py3-none-any.whl
| Download URL | ipaddresstools-1.2.12-py2.py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0993315f3c927e1a0c779a5aaaf40b52b99978666b77589c64c84f5677aa8797
|
|
BLAKE2b-256 checksum How to use checksums |
064aa6db8f00403971e1ee3ae646f4a6fe9a1d13300dcba055fc308c46619bbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13
|
Security for ipaddresstools 1.2.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.