iputils
iputils is the wrapper of ipaddress.py, easy for use.
Install
pip install iputils
Usage
from iputils import IPUtils print(IPUtils.is_valid("1988.0.0.1/22")) print(IPUtils.is_ipv4("199.201.90.100/22")) print(IPUtils.is_ipv6("2001::1/64")) print(IPUtils.is_network("2001::/64")) print(IPUtils.get_network_addr("199.201.90.100/22")) print(IPUtils.with_prefix("199.201.90.100/255.255.252.0")) and more... see the api docs
Keywords: IPv4,IPv6 Platform: any Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3.6 Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Utilities
Metadata
Release files for iputils 0.6
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 |
|---|---|---|---|---|
| iputils-0.6.tar.gz | 4.1 kB | Without provenance | Details for iputils-0.6.tar.gz |
Release files / iputils-0.6.tar.gz
| Download URL | iputils-0.6.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1986a6d93df972c854036d012955ac1634b4a1037e7183c86085a823a676aeb9
|
|
BLAKE2b-256 checksum How to use checksums |
5f56ff1edc10eb84130e9ce1748b5578a11d26725031e7d9a864771b393d658d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
|
Security for iputils 0.6
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.