Peptide: Interactive, REPL-driven programming for PythonThis extension is still in early development. Peptide provides key-bindings to interactively develop Python programs, like CIDER/SLIME in the Lisp world. Peptide is syntax-aware. It uses Instead of printing the evaluation result to the terminal, Peptide displays the result inline, in the text editor. This provides instantaneous feedback and greater interactivity to the development experience. Quick StartPeptide uses Jupyter as a REPL backend.
FeaturesEvaluate current top-level statement
This command selects the top-level statement (e.g. function definition, assign statement, function call, etc.) under cursor, and evaluates it. Evaluate preceding form
A form is one of:
This command selects a form that's immediately before the cursor. This is useful when inspecting parameters passed into a function call. Evaluate the entire script
This command sends the entire source file to the REPL for evaluation. This is useful when loading up the functions in the file before calling the evaluation commands. Release NotesThis extension is still in early development. Why the name?Peptide is the Python Editor Plugin To Interactively Develop and Evaluate, à la CIDER and SLIME. |