Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

binscheme_parser-0.0.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

binscheme_parser-0.0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for binscheme_parser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e419d7cdc9b87e77b311f60f356c7fd2d3fe4732de0b3947668e0a9dfb6eff30
MD5 1edf9fc666373206292b633fab8905ba
BLAKE2b-256 150f1e86c82c942e25ccc5e35b057b38ae4551a9ae24e95f5c91b38611ee9512

See more details on using hashes here.

File details

Details for the file binscheme_parser-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for binscheme_parser-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b59cc63419b71c8abbfd9e4fc555645dae84aad6fb8f8f6fd7cafe8bda9baba3
MD5 063a5a78c171c09b38157942b7ca4893
BLAKE2b-256 fd9c300f4956430630e6ecc8b5753d0df321cdfc6d1e7a9d6e5f8dd54ba9276c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page