Coder Social home page Coder Social logo

overcat / xdrlib3 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 13 KB

A forked version of `xdrlib`, a module for encoding and decoding XDR (External Data Representation) data in Python.

Home Page: https://pypi.org/project/xdrlib3/

Python 100.00%
xdr xdrlib rfc-1014 python python-module

xdrlib3's Introduction

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.

xdrlib3's People

Contributors

overcat avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.