RFC 1924
This python library is an implementation of RFC 1924.
A Compact Representation of IPv6 Addresses
With this library you can store IPv6 addresses in a more compact form. It's Base85 encoded.
Usage
from rfc1924 import *
print(encode("2345:0425:2CA1::0567:5673:23b5")) # -> AN?6(i3Y+yVr74uX@J3P
print(decode("AN?6(i3Y+yVr74uX@J3P")) # -> 2345:0425:2CA1::0567:5673:23b5
Save up to 48% space with this compact form:
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff -> =r54lj&NUUO~Hi%c2ym0
Release files for rfc1924 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rfc1924-0.3.2.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rfc1924-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / rfc1924-0.3.2.tar.gz
| Download URL | rfc1924-0.3.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
309f050ae004e58fc00f20bd7451c2e4560bd06bdaf94e4aced287248ca27257
|
|
BLAKE2b-256 checksum How to use checksums |
056b48b537805e425535dbaf33c796c04423613688499a44e02e712c1f4c559d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.13
|
Release files / rfc1924-0.3.2-py3-none-any.whl
| Download URL | rfc1924-0.3.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5db9a3f93383df9c5052c316a56120cbc1dc706eab8796674867ec5f5b1537d8
|
|
BLAKE2b-256 checksum How to use checksums |
3e5ce283f0c0fa4a42859333738d32a0063e43502e0cebec50826fedd1f8c14c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.13
|