Literate computing for literate programming
Project description
The pidgy
package and paper
pidgy
is a fun way to program in [Markdown] in your favorite IDE (jupyter, nteract, colab, vscode) and use them in python modules, scripts, and applications.
pip install pidgy # Install pidgy
pidgy
provides an interactive literate programming experience that allows fluid combinations of code and prose. It has some added language features like block markdown variables, emoji variables names, and interactive formal testing. It is designed primarily for Jupyter notebooks and Markdown source files.
The pidgy shell and kernel
pidgy
can be used as a native jupyter
kernel in Jupyter, nteract, colab, and vscode. Install the kernel with
pidgy kernel install # install the pidgy kernel.
Or, in your standard Python shell, load the pidgy
IPython
extension.
Importing pidgy
documents
pidgy
uses the importnb
machinery to import files into [Python] that are not native ".py"
files.
import pidgy
with pidgy.pidgyLoader(): ...
The pidgy
CLI
The pidgy
cli helps to tangle and weave entire literate pidgy programs.
Usage: pidgy [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
kernel
render
run `pidgy` `run` makes it possible to execute `pidgy` documents as...
template
test Formally test markdown documents, notebooks, and python files.
to
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
Built Distribution
Hashes for pidgy-2020.4.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83118fb22ec91967fb1704ade8c31b812a78a46641d593eecd7d09ce96553eb3 |
|
MD5 | 26e931f67e3c1424deae802dbe3c8c35 |
|
BLAKE2b-256 | df1d5e58c73c1fe0e98ef51b6ca36aef18117a20be6bc7191d82473db19422a5 |