Skip to main content

jupickhr

docs install extend demo
rtd-badge pypi-badge
conda-badge
npm-badge binder-badge
lite-badge

pikchr text-based diagrams for JupyterLab, etc.

features

  • supports writing and rendering pikchr in:
    • pikchr fenced code blocks in .ipynb cells and .md documents
    • rich display for the text/x-pikchr MIME type
    • Open With... ⯈ Pikchr for .pikchr text documents
    • jupickhr.widget.Pikchr for live updating
  • generates:
    • portable img tags (with fixed up special entities and fonts)
      • these can be drag-and-dropped directly into other tools, like ipydrawio
    • inline SVG
  • 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, jupikchr itself, try the development installation steps.

how it works

  • in the browser
    • pikchr source and metadata is found:
      • in Markdown by jupyterlab-markup
      • in text/x-pikchr rich display outputs
      • in the Jupyter widget
    • a WebWorker is started which loads the pickchr C executable, compiled to WebAssembly
    • the resulting HTML is either displayed directly, or embedded inside a portable img tag
      • in the case of rich outputs, the text/html display type is also stored inside the output as a fallback, e.g. for nbconvert

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)

Source distribution for jupikchr 0.2.0
File Size Uploaded
jupikchr-0.2.0.tar.gz 297.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupikchr 0.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.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