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.10.tar.gz
(7.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file etpy2png-0.0.10.tar.gz.
File metadata
- Download URL: etpy2png-0.0.10.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca4cb7f4b385573bc356bb01026222026d3162ce2057cd937e5b3d3330beb892
|
|
| MD5 |
06374718cc516ae4bf5d8553cb6c6b29
|
|
| BLAKE2b-256 |
1a715e828f096c0d4b682be40ad7e8596f38b6d30deac6ec1119effbea7e49bb
|
File details
Details for the file etpy2png-0.0.10-py3-none-any.whl.
File metadata
- Download URL: etpy2png-0.0.10-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bc977db19150d6c1245fb5ae41933022d2e0281ef40322ce9c624d818a93dc4
|
|
| MD5 |
4b5bdf966de59c52f31f167010c4b747
|
|
| BLAKE2b-256 |
2a8d59687d00b1a7b6753d10c95e22b682db8e1da86337b1f8a798c19b8e5442
|