Skip to main content

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!

Release files for piston-mini-client 0.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piston-mini-client 0.7.5
File Size Uploaded
piston-mini-client-0.7.5.tar.gz 39.0 kB Details

Release files / piston-mini-client-0.7.5.tar.gz

Download URL piston-mini-client-0.7.5.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
41a287c252359a43bc5020cba706c4fe42021abfe4dabf32e588cc53c41a3d03
BLAKE2b-256 checksum
How to use checksums
da5c3e92f252ffcb2e69e9521d6444eae5bd7bda45cd59c97588fe8a1f83bc7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.7.5 This release

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page