A library for decoding Virtual Circuit Board blueprint strings
Project description
Visual Circuit Board (VCB) Python Library
Description
This Python library provides a way to read Visual Circuit Board (VCB) blueprint strings and convert them into a convenient data structure.
Installation
pip install vcbblueprint
Usage
Here is a simple usage example:
import vcbblueprint
blueprint_string = "VCB+..." # a VCB blueprint string
# read the blueprint string and get the version and layers
version, layers = vcbblueprint.read_blueprint(blueprint_string)
# use the filter function to get a boolean matrix of pixels of a
# specific component type
and_pixels = vcbblueprint.filter(layers[0], vcbblueprint.ComponentType.AND)
Contributions
Contributions are welcome. Feel free to open an issue or submit a pull request.
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
vcbblueprint-0.1.0.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for vcbblueprint-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb4c42a2131668a18aa8ffc330523a933c41c2928cb7212ff29428195d88898 |
|
MD5 | 27e72746cf60ba27c243641d10ff062c |
|
BLAKE2b-256 | 45e0f8a5b1b33cdf699514fad4138cf6b7260cb939c26f44e8040c1d4ddae945 |