Hi list,

For some time, I've been working on a Django-app for creating APIs.
This was specifically crafted for Bitbucket.org, but we decided early
on to make it reusable for others, since there's a lack of code in
this area.

It's been making its rounds on HN and proggit seeing it's only alpha,
but it's been well received and I feel confident enough to post it to
here.

Major features include:

* Ties into Django's internal mechanisms, so you don't have to.
* Supports OAuth out of the box (as well as Basic/Digest or custom
auth.)
* Doesn't require tying to models, allowing arbitrary resources.
* Speaks JSON, YAML, Python Pickle & XML (and HATEOAS.)
* Respects and encourages proper use of HTTP (status codes, ...)
* Has built in (optional) form validation (via Django), throttling,
etc.

Any feedback would be greatly appreciated, and hopefully the community
will find this helpful!

Get it here: http://bitbucket.org/jespern/django-piston/wiki/Home

It's also documented thoroughly with examples, tips & tricks, etc.:
http://bitbucket.org/jespern/django-piston/wiki/Documentation

To top it off, it comes bundled with an extremely simple Django app
(emulating a blog), with an API on top. It contains a README.txt
demonstrating how to speak to the API via curl (reading both
authorized and anonymous, and creating new posts.)

The API specific parts live in api/, and should give a good example of
how easy and powerful this is: 
http://bitbucket.org/jespern/django-piston/src/tip/examples/blogserver/


Jesper Noehr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to