skip to navigation
skip to content

Not Logged In

haddock 0.4.1

Mini-Framework for making APIs.

Latest Version: 0.6.0

Haddock is a micro-framework for creating APIs. It is both the Python code to assemble the APIs and an API description format. It uses Klein and Twisted in the back end.

Haddock revolves around versions - it is designed so that you can write code for new versions of your API without disturbing old ones. You simply expand the scope of the unchanged methods, and copy a reference into your new version.


Because I liked the look of Praekelt's Aludel ( but it didn't kind of work how I thought it would. So, I wrote something similar, to play around!

How do I use it?

You need two things - the API description document, and the implementation.

You can find the example description document and the example Python in the root directory. Simply run and navigate to http://localhost:8094/v1/weather?postcode=61000&unixTimestamp=1 for a demonstration.

More Detail

Check docs/ for more information on the API Description. A more complete API example can be seen in haddock/test/betterAPI.json.

File Type Py Version Uploaded on Size
haddock-0.4.1-py27-none-any.whl (md5) Python Wheel 2.7 2013-12-20 17KB
haddock-0.4.1.tar.gz (md5) Source 2013-12-20 12KB
  • Downloads (All Versions):
  • 31 downloads in the last day
  • 270 downloads in the last week
  • 1377 downloads in the last month