Skip to main content

Mini-Framework for making APIs.

Project description

https://travis-ci.org/hawkowl/haddock.png?branch=master https://coveralls.io/repos/hawkowl/haddock/badge.png?branch=master

Haddock is a framework for easily creating APIs. It uses Python and Twisted, and supports both CPython 2.7 and PyPy.

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.

Long-form documentation can be found here.

Why?

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!

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 example.py and navigate to this example endpoint for a demonstration.

Project details


Release history Release notifications

This version
History Node

0.6.0

History Node

0.5.1

History Node

0.5.0

History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
haddock-0.6.0-py27-none-any.whl (22.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 Dec 28, 2013
haddock-0.6.0.tar.gz (15.7 kB) Copy SHA256 hash SHA256 Source None Dec 28, 2013

Supported by

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