1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

A mini-framework for Django for creating RESTful APIs.

Piston is a relatively small Django application that lets you
create application programming interfaces (API) for your sites.

It has several unique features:

 * Ties into Django's internal mechanisms.
 * 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.)
 * Ships with a convenient reusable library in Python
 * Respects and encourages proper use of HTTP (status codes, ...)
 * Has built in (optional) form validation (via Django), throttling, etc.
 * Supports streaming, with a small memory footprint.

WWW: https://bitbucket.org/jespern/django-piston
This commit is contained in:
Cheng-Lung Sung 2011-11-02 01:45:20 +00:00
parent a1b8c7234f
commit 28a7e96c43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284894
4 changed files with 44 additions and 0 deletions

View File

@ -1477,6 +1477,7 @@
SUBDIR += py-django-livesettings
SUBDIR += py-django-mptt
SUBDIR += py-django-pipeline
SUBDIR += py-django-piston
SUBDIR += py-django-profiles
SUBDIR += py-django-registration
SUBDIR += py-django-signals-ahoy

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: py-django-piston
# Date created: 2011-11-02
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= django-piston
PORTVERSION= 0.2.2.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Piston is a Django mini-framework creating APIs
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (django-piston-0.2.2.1.tar.gz) = 0fcdc2d4e971a05539f2473f3b7563a8d8b297658d7b81537da0ce74e6b4ee4b
SIZE (django-piston-0.2.2.1.tar.gz) = 24351

View File

@ -0,0 +1,17 @@
A mini-framework for Django for creating RESTful APIs.
Piston is a relatively small Django application that lets you
create application programming interfaces (API) for your sites.
It has several unique features:
* Ties into Django's internal mechanisms.
* 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.)
* Ships with a convenient reusable library in Python
* Respects and encourages proper use of HTTP (status codes, ...)
* Has built in (optional) form validation (via Django), throttling, etc.
* Supports streaming, with a small memory footprint.
WWW: https://bitbucket.org/jespern/django-piston