Read, edit, export, and rebuild .NET BinaryFormatter / NRBF streams.
Project description
dnbflib
dnbflib reads, indexes, edits, exports, and rebuilds .NET BinaryFormatter / NRBF
binary streams in Python.
Warning
BinaryFormatter is unsafe for untrusted data. Use this library for inspection, migration, recovery, and editing of files you already trust. Do not accept arbitrary BinaryFormatter payloads from users or the network.
Features
- Memory-conscious object graph traversal with
DNBFDocument. - Editing of supported primitive, string, reference, object, and array values.
- Creation of new class instances from existing object templates.
- Creation and mutation of typed one-dimensional arrays.
- Lossless YAML export and rebuild with raw binary sidecars.
- SQLite-backed record storage through
DNBFRecordStore. - Stream rebuilding through
DNBFWriter.
Requirements
- Python 3.11 or newer.
pydatastreams
Installation
From PyPI, once published:
pip install dnbflib
From a local checkout:
python -m pip install -e .
Documentation
Full usage documentation and tutorials are available in docs/index.html.
License
dnbflib is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dnbflib-1.1.1.tar.gz.
File metadata
- Download URL: dnbflib-1.1.1.tar.gz
- Upload date:
- Size: 46.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.12.13 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f76a5107edfc16d6de1d3d3780b04a5caa56ff912cb2dc99e2161cb45f2c494c
|
|
| MD5 |
fb094617c95aefc7410d507852ab3cd0
|
|
| BLAKE2b-256 |
c7f053aef35abee080b28321220a25a3d2e91f7da170f40d04aaddb8638de8ff
|
File details
Details for the file dnbflib-1.1.1-py3-none-any.whl.
File metadata
- Download URL: dnbflib-1.1.1-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.12.13 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6ef53dee9188e49a3162caacb6640d24cf2481a19f8a681b5b9e5e9b1cbe66e
|
|
| MD5 |
bccad6d329204d7edc2e529cee70496d
|
|
| BLAKE2b-256 |
6b7fe9bf5199c38b2b1cec1e78e7fd637f1430fa142653540325a9aa7138dc1a
|