Schemdraw documentation

Schemdraw is a Python package for producing high-quality electrical circuit schematic diagrams. Circuit elements are added, one at a time, similar to how you might draw them by hand, using Python methods.

For example,

with schemdraw.Drawing() as d:
    d += elm.Resistor().right().label('1Ω')

creates a new schemdraw drawing with a resistor going to the right with a label of “1Ω”. The next element added to the drawing will start at the endpoint of the resistor.

with schemdraw.Drawing() as d:
    d += elm.Resistor().right().label('1Ω')
    d += elm.Capacitor().down().label('10μF')
    d += elm.Line().left()
    d += elm.SourceSin().up().label('10V')
_images/index_1_0.svg

Contents:


Want to support Schemdraw development? Need more circuit examples? Check out the Schemdraw Examples Pack:

Schemdraw Examples Pack