schemdraw
Electrical circuit schematic drawing
Decision gist · record as of 2026-08-14
Yes. Schemdraw is a solid choice for anyone needing to generate electrical schematics programmatically. It has zero runtime dependencies, active maintenance, broad Python version support, and a permissive MIT license. The 77-day-old release and no known vulnerabilities indicate a stable, well-maintained project. Install it if you need SVG circuit diagrams in code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Installation is straightforward with no runtime dependencies.
- The package is actively maintained with a recent release (77 days ago) and has been in development since 2014, supporting current Python versions (3.9 through 3.14).
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-05-29 (77 days) · last repo commit 2026-07-18 · 256 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 543,221 downloads/mo, #6,084 on PyPI
Alternatives
Verify before relying
import schemdraw
import schemdraw.elements as elm
with schemdraw.Drawing(file='schematic.svg') as d:
elm.Resistor().label('100KΩ')
elm.Capacitor().down().label('0.1μF', loc='bottom')
elm.Line().left()
elm.Ground()
elm.SourceV().up().label('10V')- Whether the package can export to formats other than SVG (e.g., PNG, PDF).
- Performance characteristics when drawing large or complex schematics.
- Whether interactive editing or real-time preview is supported.
What it is and what it does
Schemdraw is a Python library for drawing electrical circuit schematics programmatically. It provides a fluent API to place and connect standard electrical components—resistors, capacitors, transistors, opamps, and many others—and render them as high-quality SVG diagrams. Beyond circuits, it also supports timing diagrams, state machines, and flowcharts, making it useful for technical documentation, educational materials, and circuit design workflows.
The package has no external runtime dependencies, making installation lightweight. It supports Python 3.9 and later and has been actively maintained since its initial release in 2014, with a recent update 77 days ago. The library is designed for engineers, educators, and researchers who need to generate schematics programmatically rather than through GUI tools.
Use it for
- Generate circuit schematics for technical documentation and educational textbooks.
- Create timing diagrams to visualize signal behavior in digital circuits.
- Draw state machine diagrams for control system design and verification.
- Produce flowcharts for algorithm and process documentation.
- Automate schematic generation in circuit design workflows or batch processing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Schemdraw is a solid choice for anyone needing to generate electrical schematics programmatically. It has zero runtime dependencies, active maintenance, broad Python version support, and a permissive MIT license. The 77-day-old release and no known vulnerabilities indicate a stable, well-maintained project. Install it if you need SVG circuit diagrams in code.
Install
schemdraw on PyPI
Before you install
Installation is straightforward with no runtime dependencies. The package is actively maintained with a recent release (77 days ago) and has been in development since 2014, supporting current Python versions (3.9 through 3.14).
Requires Python 3.9 or later.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
import schemdraw
import schemdraw.elements as elm
with schemdraw.Drawing(file='schematic.svg') as d:
elm.Resistor().label('100KΩ')
elm.Capacitor().down().label('0.1μF', loc='bottom')
elm.Line().left()
elm.Ground()
elm.SourceV().up().label('10V')
Verify before relying
- Whether the package can export to formats other than SVG (e.g., PNG, PDF).
- Performance characteristics when drawing large or complex schematics.
- Whether interactive editing or real-time preview is supported.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 77 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 543,221 / month, #6,084 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: EducationIntended Audience :: End Users/DesktopIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9 |
Evidence: schemdraw-0.23-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “electrical circuit schematic drawing”
- schemdrawSchemdraw generates high-quality electrical circuit schematic…
- elvis-lvsElvis extracts connectivity from GDS layout files and compares them…
- power-grid-modelPower Grid Model is a Python/C++ library for steady-state…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also aggdraw · wavedrom · blockdiag · mermaid-builder · seedir · genbadge · pystructurizr · svg.py · gdsfactory · schematichq