Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Small Python library for quick prototyping and code demonstrations

Project description

quickdemo - For When Unit Tests Would Be Too Much

Work In Progress - Interfaces might change in the future!

quickdemo is a tiny python library for quick prototyping and code demonstrations. If your debugging tool of choice is printing to stdout, this might well be the right library for you.

There may be times when you only need to demonstrate that a function works on a few well-chosen inputs. In that case, it might suffice to just call the function with your test input and print the results.

However, during early prototyping your function interface might change very rapidly and you would have to adjust your print statement every time your function call changes. Or perhaps you would like to provide multiple equivalent implementations of the same function that share the same signature and run all your test on all of them.

Fortunately, there is a way to ease this tedious task. quickdemo offers function decorators that will call the decorated function using the supplied arguments when the file is run and print the result (if any).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for quickdemo, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size quickdemo-0.0.6-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size quickdemo-0.0.6.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page