pyCSBinaryWriter
A simple library for .NET binary (de)serialization.
This package gives developers access to simple method calls from decoding binary data written by .NET BinaryWriter.
Limitations
- Decimal is not implemented yet. Pull requests are welcome.
- asyncio support is brand new and may be buggy.
Installation
$ pip install -U pycsbinarywriter
Usage
from pycsbinarywriter import cstypes
# Decode .NET 7-bit-prefixed string
assert 'abc123' == cstypes.string.unpack(b'\x06\x61\x62\x63\x31\x32\x33')
# Decode .NET uint8 (ubyte)
assert 127 == cstypes.uint8.unpack(b'\x7f')
# Encode .NET int16
assert b'\x2e\xfb' == cstypes.int16.pack(-1234)
License
MIT License
Metadata
Release files for pycsbinarywriter 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pycsbinarywriter-0.1.2.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycsbinarywriter-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / pycsbinarywriter-0.1.2.tar.gz
| Download URL | pycsbinarywriter-0.1.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0894a4543b8dbb20bbcdfb75315c15877864dcbeb1b8275541cbe677d35ad83
|
|
BLAKE2b-256 checksum How to use checksums |
57b3d34821ba8cfee95a0c3762a3474ea7b2f80f16309659d8a9e2b5c8386f94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / pycsbinarywriter-0.1.2-py3-none-any.whl
| Download URL | pycsbinarywriter-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3982b0250863550059c410e6e5a02a935999caa7f0c746b6b9c686ade93949ba
|
|
BLAKE2b-256 checksum How to use checksums |
157489c8c2d68d684e33a12da2bfccc9ae2ad9b16a2726185f40b083092bee01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for pycsbinarywriter 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.