Skip to content

Instantly share code, notes, and snippets.

@pmuston
pmuston / TestPyPeg2.ipynb
Created April 8, 2017 08:05
Parser Notebook from More Adventures in Python Talk
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pmuston
pmuston / README.md
Last active March 7, 2017 13:16
Fake API in Python with Flask

Concept

Quickly create a fake API for testing client with Python and Flask.

Inspired by https://github.com/gchaincl/httplab seemed a bit heavyweight for my needs.

You can create responses in httplab.json file. "Responses" maps path to status, headers, body (content) returned (text or json). You can specify a delay for realisim.