a library providing Pythonic manipulation, validation and classification of common networking address notations, including :-
IPv4
IPv6
CIDR (Classless Inter-Domain Routing)
IEEE EUI-48, EUI-64 and MAC (Media Access Control)
Each object represents an individual address or address range and behaves as you would expect when treated like standard Python types. For example :-
If you call list() on a CIDR object, it provides an iterator yielding IP addresses.
Calling len() returns the number of addresses found within the range.
Indexing and/or slicing returns the addresses you’d expect. int() and hex() return the numerical value of an address in network byte order in the respective formats.
Metadata
Release files for netaddr 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| netaddr-0.4.zip | 167.8 kB | Without provenance | Details | |
| netaddr-0.4.tar.gz | 125.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netaddr-0.4.win32.exe | Details |
Total release size: 374.9 kB
Release files / netaddr-0.4.zip
| Download URL | netaddr-0.4.zip |
|---|---|
| Size | 167.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c08fed39330d7e95a1c85583cf8e94e8b1b3ece2e2514c0d02496925076acd60
|
|
BLAKE2b-256 checksum How to use checksums |
fe82277ff0585e04ed4bda3d033799ad156098eeac940581c3a3c4e5d407721f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / netaddr-0.4.tar.gz
| Download URL | netaddr-0.4.tar.gz |
|---|---|
| Size | 125.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efcf7c2ad85989469e1d9635a23d0011b5298b76474a4337b762fc112cd91e66
|
|
BLAKE2b-256 checksum How to use checksums |
84404addc5ebcfceae61967fdc66696c42b07d60a13fb00450ee63b0283b10cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / netaddr-0.4.win32.exe
| Download URL | netaddr-0.4.win32.exe |
|---|---|
| Size | 81.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
281e84769e9eb2588dfaab3106c7789fbf40520e838db86dce126e63323c5959
|
|
BLAKE2b-256 checksum How to use checksums |
0be7b3ae29e71ab43a48a87aa19db5596384f315ff70d2bd8be2f417842b964b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for netaddr 0.4
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.