Circuits as Code
This is a collection of pre-built circuits written as scripts in SKiDL.
Description
SKiDL lets you create electronic circuits by writing Python scripts instead of using a schematic editor.
The circuitsascode auxiliary Python package gives you a library of ready-made electronic circuits that serves several purposes:
- It provides a set of lower-level modules that you can integrate within your own designs.
- It shows you examples of how to write SKiDL code.
- Free software: MIT license
- Documentation: http://devbisme.github.io/circuitsascode
- User Forum: https://github.com/xesscorp/skidl/discussions
Installation
You can install this circuit library using pip:
pip install circuitsascode
Usage
Just import the library to use a circuit module:
# Import the function that creates a VGA display interface.
from circuitsascode.displays.vga import vga
# Create color and sync signals to connect to the VGA interface.
red, grn, blu = Bus(5), Bus(4), Bus(3)
hsync, vsync, gnd = Net(), Net(), Net()
# Create a VGA interface circuit customized for the widths
# of the RGB buses.
vga1 = vga(rgb=(len(red), len(grn), len(blu)))
# Connect the signals to the VGA interface circuit.
vga1.red += red
vga1.grn += grn
vga1.blu += blu
vga1.hsync += hsync
vga1.vsync += vsync
vga1.gnd += gnd
Changelog
Version 0.0.1
- Initial release.
Metadata
Release files for circuitsascode 0.0.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 | Actions |
|---|---|---|---|---|
| circuitsascode-0.0.2.tar.gz | 19.9 kB | Without provenance | Details for circuitsascode-0.0.2.tar.gz |
Release files / circuitsascode-0.0.2.tar.gz
| Download URL | circuitsascode-0.0.2.tar.gz |
|---|---|
| Size | 19.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1cb33504f59dd9066dca02cc132a83c453b7d2019c6ce7fc10f0739219cff30
|
|
BLAKE2b-256 checksum How to use checksums |
db733c5d69841a6337401c105591b233dd8574e6cf82e61fe673e66e6fb3afb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.7
|
Security for circuitsascode 0.0.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.