Metadata-Version: 2.1
Name: xdrlib3
Version: 0.1.0.dev1
Summary: A forked version of `xdrlib`, a module for encoding and decoding XDR (External Data Representation) data in Python.
Home-page: https://github.com/overcat/xdrlib3
Keywords: xdrlib,xdr
Author: overcat
Author-email: 4catcode@gmail.com
Maintainer: overcat
Maintainer-email: 4catcode@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Project-URL: Bug Tracker, https://github.com/overcat/xdrlib3/issues
Project-URL: Documentation, https://github.com/overcat/xdrlib3
Project-URL: Repository, https://github.com/overcat/xdrlib3
Description-Content-Type: text/markdown

# 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:

```bash
pip install xdrlib3
```

## Usage
`xdrlib3` has the same functions and methods as `xdrlib`. Here's an example of how to use it:

```python
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](https://github.com/python/cpython/blob/024ac542d738f56b36bdeb3517a10e93da5acab9/LICENSE) for the original code's licensing agreement, while other parts of the code are released under the MIT license.

