Skip to main content

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


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.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

vcbblueprint-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file vcbblueprint-0.1.1.tar.gz.

File metadata

  • Download URL: vcbblueprint-0.1.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for vcbblueprint-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5af9598ab34f0a6d1038336ccf877df4ff161aea7db4a403aef417edc73c5ee8
MD5 4fd78dd8b8191a7c930958fe61235a50
BLAKE2b-256 6d47ec8fd5bcf2be93be538985b2dc48b659c525ef4f13d4b6561c3e3c721836

See more details on using hashes here.

File details

Details for the file vcbblueprint-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vcbblueprint-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b087da393fd3207948a2eff1ad4ad6d41059436b62e5b421bd538aef95868385
MD5 dc3ebc98bd029215d7f334a3b3f98a03
BLAKE2b-256 3126e114903a0f91d93493880cb86a3e815a3a5eaacfcec6c46d67c3310476e7

See more details on using hashes here.

Supported by

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