A forked version of `xdrlib`, a module for encoding and decoding XDR (External Data Representation) data in Python.
Project description
xdrlib3
A forked version of xdrlib
, a module for encoding and decoding XDR (External Data Representation) data in Python. xdrlib
is planned to be removed in Python 3.13 and later versions, therefore this fork has been created to add type hints and maintain compatibility with future versions of Python.
Installation
You can install xdrlib3
using pip:
pip install xdrlib3
Usage
xdrlib3
has the same functions and methods as xdrlib
. Here's an example of how to use it:
import xdrlib3
packer = xdrlib3.Packer()
packer.pack_int(16)
packed_data = packer.get_buffer()
unpacker = xdrlib3.Unpacker(packed_data)
unpacked_data = unpacker.unpack_int()
License
xdrlib3
is a fork of xdrlib
, so please refer to the LICENSE file for the original code's licensing agreement, while other parts of the code are released under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xdrlib3-0.1.1.tar.gz
.
File metadata
- Download URL: xdrlib3-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26697013af45afab6c6ff9a598fd04979cde83fa7215da059551b088aea88f34 |
|
MD5 | a748101784c859a9b7c2245b17a1f379 |
|
BLAKE2b-256 | 978eaab54b230c9f021678c75365d8247ac40bf5beaf5b08a7d88d6706b80e3a |
File details
Details for the file xdrlib3-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: xdrlib3-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 175c0645f347c64e76bb374c2109480007eb2ff04ad08acfe885a130d2b0877d |
|
MD5 | 9b2d507be5652927baba4fac8e5d0e79 |
|
BLAKE2b-256 | 669c14f0e5cafc672566c52ae54a1bb221f2ba2155be4830af7b17d0d3b5ec59 |