Skip to main content

A package to consume Django-Piston web services

Project description

Overview

Piston mini client is a package that allows you to easily describe an API provided by a Django server using django-piston that takes care of:

  • Serializing call arguments and deserializing responses from the api. It can deserialize json provided by Piston into light-weight objects.

  • Making the http calls for you. You should be able to call a method on an api object instead of having to fetch a particular URL.

  • Provide a in-code description of your API. Developers should be able to know your API by looking at the client code you provide.

You can read the latest docs online.

Installation

piston-mini-client uses a standard distutils setup.py script, so you can use:

python setup.py install

Running the tests

To run the tests, just install tox (can be in a virtualenv) and then run:

tox

This will ensure the tests run on Python 2.6, 2.7 and 3.2, and the docs build correctly.

Building the docs locally

With sphinx installed, you should be able to build the documentation for this code with:

cd doc
make html

Enjoy!

Project details


Download files

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

Source Distribution

piston-mini-client-0.7.5.tar.gz (39.0 kB view details)

Uploaded Source

File details

Details for the file piston-mini-client-0.7.5.tar.gz.

File metadata

File hashes

Hashes for piston-mini-client-0.7.5.tar.gz
Algorithm Hash digest
SHA256 41a287c252359a43bc5020cba706c4fe42021abfe4dabf32e588cc53c41a3d03
MD5 b667701e3e4cffc3c3e9cf45b1447181
BLAKE2b-256 da5c3e92f252ffcb2e69e9521d6444eae5bd7bda45cd59c97588fe8a1f83bc7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page