Skip to main content

Generated Python bindings for @tscircuit/props 0.0.506

Project description

pycircuits

Generated Python bindings for tscircuit components from @tscircuit/props@0.0.506.

from pycircuits import Circuit, board, led, resistor, trace

led1 = led(name="LED1", color="red", footprint="0603", pcbY=4)
r1 = resistor(name="R1", resistance="1k", footprint="0603", pcbY=-4)

circuit = Circuit(
    board(
        width="12mm",
        height="20mm",
        children=[
            led1,
            r1,
            trace(from_=r1.pin2, to=led1.anode),
            trace(from_=r1.pin1, to="net.VCC"),
            trace(from_=led1.cathode, to="net.GND"),
        ],
    )
)

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

pycircuits-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

pycircuits-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pycircuits-0.1.0.tar.gz.

File metadata

  • Download URL: pycircuits-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pycircuits-0.1.0.tar.gz
Algorithm Hash digest
SHA256 af3eafd7f717831b50bd3f2c249e77f852d47b0431b487faec3d950a3198f886
MD5 034395a5230a4143581c9e36b349cdc4
BLAKE2b-256 6892e98b3c35e502ce182fd25b97bdaa309c27cea940470a81c4191cad4681ec

See more details on using hashes here.

File details

Details for the file pycircuits-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pycircuits-0.1.0-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.14.3

File hashes

Hashes for pycircuits-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f89f424fd3e4d5bf881f065f06052700e86f5bd38c8ef6590e46e35ebd8fed04
MD5 5a5683e0482bd10a3c2c84dd56aab267
BLAKE2b-256 35038cbde81739bcfb3c49f9a77dfb1199ceedae8b0fac00eb94b7605272dd4a

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