A parser for the binScheme language, a declarative language for defining binary data layouts.
Project description
binScheme Parser
A parser for the binScheme language.
This library provides a parser for .binscheme files, which define binary data layouts. It parses the schema definition into a collection of Python data structures.
Installation
pip install binscheme-parser
Usage
To parse a .binscheme file, use the load function from the binscheme_parser module:
from binscheme_parser import load
schema_collection = load('path/to/your/schema.binscheme')
# You can now access the parsed schemes, enums, and instances
print(schema_collection.schemes)
print(schema_collection.enums)
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 binscheme_parser-0.0.1.tar.gz.
File metadata
- Download URL: binscheme_parser-0.0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e419d7cdc9b87e77b311f60f356c7fd2d3fe4732de0b3947668e0a9dfb6eff30
|
|
| MD5 |
1edf9fc666373206292b633fab8905ba
|
|
| BLAKE2b-256 |
150f1e86c82c942e25ccc5e35b057b38ae4551a9ae24e95f5c91b38611ee9512
|
File details
Details for the file binscheme_parser-0.0.1-py3-none-any.whl.
File metadata
- Download URL: binscheme_parser-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b59cc63419b71c8abbfd9e4fc555645dae84aad6fb8f8f6fd7cafe8bda9baba3
|
|
| MD5 |
063a5a78c171c09b38157942b7ca4893
|
|
| BLAKE2b-256 |
fd9c300f4956430630e6ecc8b5753d0df321cdfc6d1e7a9d6e5f8dd54ba9276c
|