New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deathbeds/jupikchr

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deathbeds/jupikchr

pikchr text-based diagrams for JupyterLab, etc.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

jupickhr

docsinstallextenddemo
rtd-badgepypi-badge
conda-badge
npm-badgebinder-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

FAQs

Package last updated on 11 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc