Converting .py Code-Files to .png with Code-Highlighting.
Project description
etpy2png
Package to convert .py Code-Files to .png with Code-Highlighting.
Writes .py to Markdown in .ipynb and uses jupyter-nbconvert to convert to html with Code Highlighting (via pygments). Runs Selenium to capture a screenshot of the located html-element.
Usage
from etpy2png import convert
file = "sample.py"
convert(file)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
etpy2png-0.0.6.tar.gz
(10.5 MB
view hashes)