Skip to main content

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.

Metadata

Release files for xdrlib3 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xdrlib3 0.1.1
File Size Uploaded
xdrlib3-0.1.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xdrlib3 0.1.1
File Interpreter ABI Platform
xdrlib3-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / xdrlib3-0.1.1.tar.gz

Download URL xdrlib3-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
26697013af45afab6c6ff9a598fd04979cde83fa7215da059551b088aea88f34
BLAKE2b-256 checksum
How to use checksums
978eaab54b230c9f021678c75365d8247ac40bf5beaf5b08a7d88d6706b80e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / xdrlib3-0.1.1-py3-none-any.whl

Download URL xdrlib3-0.1.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
175c0645f347c64e76bb374c2109480007eb2ff04ad08acfe885a130d2b0877d
BLAKE2b-256 checksum
How to use checksums
669c14f0e5cafc672566c52ae54a1bb221f2ba2155be4830af7b17d0d3b5ec59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page