Conventions for writing code in the notebook.
pidgy is literate programming kernel and shell for
pidgy is enabled:
- Write code in
markdown, indented and fenced are executed.
notebooks can be woven and tangled as documentation and code.
notebooks can be reproduced as tests.
".md.ipynb"is a composite extension that indicates
notebooks primarly written in
pidgy programming paper.
pidgy is written as literate programming in
the narrative develop together into a cohesive program
that serves dually as literature and reusable source code.
pidgy command line application
pidgy kernel so you can use whenever you want.
pidgy kernel install
Otherwise, using the
IPython extension any
Likely, the only other paper of the api you made need is the
pidgy documents to be imported as normal source code.
The loader searches for
notebooks with the
and adds them to the python import system.
pidgy documents as modules
with pidgy.pidgyLoader(): import readme assert readme.__file__.endswith('.md.ipynb')
pidgy is a
pytest plugin that can be used to include literature (eg. blog posts, issues, docs)
in software test suites.
pytest --nbval--doctest-modules readme.md.ipynb
The plurality of
Above we've highlight a few outcomes of
pidgy is written as both documentation and source code therefore it
can be viewed by the following tools.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pidgy-0.2.2-py3-none-any.whl (35.0 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size pidgy-0.2.2.tar.gz (26.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|