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.dev1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xdrlib3-0.1.0.dev1.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.dev1.tar.gz
Algorithm Hash digest
SHA256 1b102be7904fabefa0060f3245d1059be0b30295e99f221865a3ea2337428dc2
MD5 8f26a9ec1d3ddf78a1ccb6fb85455415
BLAKE2b-256 9d634f4248081a96e1b4873bad9ed3184fd75b2758fc5950bf83f36f5d2f672c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for xdrlib3-0.1.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 4164585c372fd98717874700dd6dc85127b57e1d78839b190440fc1a5911b69d
MD5 b22152f7592cd867fe022b1fe9954345
BLAKE2b-256 c2d94c29cea39974e80e2efb39af5986e21ce7b885c234b7fc9d64f4780d0d66

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