jupickhr
| docs | install | extend | demo |
|---|---|---|---|
pikchr text-based diagrams for JupyterLab, etc.
features
- supports writing and rendering
pikchrin:pikchrfenced code blocks in.ipynbcells and.mddocuments- rich display for the
text/x-pikchrMIME type - Open With... ⯈ Pikchr for
.pikchrtext documents jupickhr.widget.Pikchrfor live updating
- generates:
- portable
imgtags (with fixed up special entities and fonts)- these can be drag-and-dropped directly into other tools, like ipydrawio
- inline SVG
- portable
- light, dark and autodetected themes
install
pip install jupikchr "jupyterlab>=3.4,<4"
or
mamba install -c conda-forge jupikchr "jupyterlab>=3.4,<4"
or
conda install -c conda-forge jupikchr "jupyterlab>=3.4,<4"
If you want to integrate with, or just hack on,
jupikchritself, try the development installation steps.
how it works
- in the browser
pikchrsource and metadata is found:- in Markdown by jupyterlab-markup
- in
text/x-pikchrrich display outputs - in the Jupyter widget
- a WebWorker is started which loads the
pickchrC executable, compiled to WebAssembly- these are vendored directly from fossil's pikchrshow
- the resulting HTML is either displayed directly, or embedded inside a portable
imgtag- in the case of rich outputs, the
text/htmldisplay type is also stored inside the output as a fallback, e.g. fornbconvert
- in the case of rich outputs, the
Metadata
Release files for jupikchr 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jupikchr-0.2.0.tar.gz | 297.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jupikchr-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 555.7 kB
Release files / jupikchr-0.2.0.tar.gz
| Download URL | jupikchr-0.2.0.tar.gz |
|---|---|
| Size | 297.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbe904cc82abc70ab18983ec6c1df86f2830721169ca0204cbb92321376504f6
|
|
BLAKE2b-256 checksum How to use checksums |
0e67fb28123f778cf9ad135659f82c5bac3ac8cfb362882080dbb0c0317197a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / jupikchr-0.2.0-py3-none-any.whl
| Download URL | jupikchr-0.2.0-py3-none-any.whl |
|---|---|
| Size | 258.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b9a95b6ccfe4fb3aca67514f3ef77bd7e4ae044d197d8986014f86746ff7517
|
|
BLAKE2b-256 checksum How to use checksums |
5af2e795ccee9b56e1af0d776f2a0c35a46fd63e707774c87a08df4a70c8f206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|