Skip to main content

Schemdraw Extension for Python-Markdown

a simpler way to document circuits in markdown

Inspiration: This project is inspired by the wonderful project: plantuml-markdown. So, shoutout to the folks who've toiled on that project to make it great!

Usage

This package allows you to configure a schematic drawing, directly in markdown using a code-fenced sample as follows:

::schemdraw:: alt="My super diagram"
    += elm.Resistor().right().label('1Ω')
    += elm.Capacitor().down().label('10μF')
    += elm.Line().left()
    += elm.SourceSin().up().label('10V')
::end-schemdraw::

:warning: Security Note

This package makes use of Python's exec functionality, which is inherently somewhat insecure, as it allows for arbitrary code execution. Only carfully curated drawings logic should be used.

Installation

Installing from PyPI

Yeah! It's "official," now! You can just pip-install the package with:

$ pip3 install schemdraw-markdown

Installing from Source

  1. Clone Repository
  2. From within local Repository folder, issue:
pip install .

Release files for schemdraw-markdown 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for schemdraw-markdown 0.0.3
File Size Uploaded
schemdraw-markdown-0.0.3.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for schemdraw-markdown 0.0.3
File Interpreter ABI Platform
schemdraw_markdown-0.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 12.3 kB

Release files / schemdraw-markdown-0.0.3.tar.gz

Download URL schemdraw-markdown-0.0.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
81d8e0cf0f77769b8e73a9d4f7d6bdb8b11e0aa3b938136d905df4fce1b90655
BLAKE2b-256 checksum
How to use checksums
96cb43c6a0a77aebcefeffdd6598d937338e03030b65b62917eb9d6cccbbb2ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / schemdraw_markdown-0.0.3-py2.py3-none-any.whl

Download URL schemdraw_markdown-0.0.3-py2.py3-none-any.whl
Size 6.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0bc661a514dfa326073beffe49f180783660095aa4f9744f5a44b9e40c7e2884
BLAKE2b-256 checksum
How to use checksums
5d743b444ca5a75f50416647bb267971220d21fcaeef523ef7f69dc746420a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page