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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xdrlib3-0.1.0.dev0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.4 Darwin/22.4.0

File hashes

Hashes for xdrlib3-0.1.0.dev0.tar.gz
Algorithm Hash digest
SHA256 5c6125d410e1e6e1ee3595cdffb83b3b2bc18978168319d7fb483c00f4ed997d
MD5 e6df8fc350bf6b34fe9393544a2285eb
BLAKE2b-256 404d03dba51a6724e0995e70c770321d7a597d61f042ccb39d68429228ce5645

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: xdrlib3-0.1.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.4 Darwin/22.4.0

File hashes

Hashes for xdrlib3-0.1.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fc57f85016220f944b5e143dc8c6e2d8bdf425378dba4310cb65202c53dd77b
MD5 8a3f4a87c137734ee6e0bd67031cfe5c
BLAKE2b-256 4cba4ba38d38852a64dce453dad3885642a8e7d35d77c0bb9c7e17026c8618b2

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