Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xdrlib3-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

xdrlib3-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file xdrlib3-0.1.0.tar.gz.

File metadata

  • Download URL: xdrlib3-0.1.0.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

Hashes for xdrlib3-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4f18a5fa7b77d9581e65aa58fcb6de303d6da5e155ec8f2715901fba2325a6c
MD5 fe435063f56b19440f1098fb64515aad
BLAKE2b-256 79d0b6e60ac6cf34881612c686e4f77a9b7f7ccd2bb8672445f1fba485edbdd2

See more details on using hashes here.

Provenance

File details

Details for the file xdrlib3-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xdrlib3-0.1.0-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

Hashes for xdrlib3-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae2ab13c0312ef30ff7f0830dc351fcdc8358f9f82b0342417a62d7a29e4e36
MD5 681cd24a20cd28d818f90732f19bf350
BLAKE2b-256 ef42f41a443d8334cc329002b212831ee30a4a136381016fbaea09cb0f20dc18

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page