Skip to main content

Schemdraw Markdown - A simpler way to document simple circuits in markdown.

Project description

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 .

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

schemdraw-markdown-0.0.3.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

schemdraw_markdown-0.0.3-py2.py3-none-any.whl (6.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file schemdraw-markdown-0.0.3.tar.gz.

File metadata

  • Download URL: schemdraw-markdown-0.0.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for schemdraw-markdown-0.0.3.tar.gz
Algorithm Hash digest
SHA256 81d8e0cf0f77769b8e73a9d4f7d6bdb8b11e0aa3b938136d905df4fce1b90655
MD5 50a4b702570cfa162c17c7c54a3c0a0a
BLAKE2b-256 96cb43c6a0a77aebcefeffdd6598d937338e03030b65b62917eb9d6cccbbb2ab

See more details on using hashes here.

File details

Details for the file schemdraw_markdown-0.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for schemdraw_markdown-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0bc661a514dfa326073beffe49f180783660095aa4f9744f5a44b9e40c7e2884
MD5 893f3e61e3cfea55a1c08bc970767bbb
BLAKE2b-256 5d743b444ca5a75f50416647bb267971220d21fcaeef523ef7f69dc746420a3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page