Skip to content

breuleux/descr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

descr: a pretty-printing package

Features

  • Pretty-prints Python structures as HTML+CSS in the IPython Notebook or Terminus.
    • I'll add one for the terminal soon enough, it's just less amusing to work on, and quite a lot more limited.
  • Basic datatypes, tuple, lists, dictionaries, sets, tracebacks.
  • Highlighting of parts using selectors.
  • Customizable and extensible.

Installing

pip install descr

IPython tutorials

Pre-made IPython notebooks are available here. You can simply run ipython notebook in the directory.

You can also view the results directly:

  • Tour showing off important capabilities.
  • Documentation of the rules that can be used to manipulate the output.
  • Survey of available methods to inspect the system.

About

Customizable HTML pretty-printing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages