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. Tests pass against Python 3, but oauth tests are skipped as the oauth module still doesn’t have Python 3 support.

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.2

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.2
File Size Uploaded
piston-mini-client-0.7.2.tar.gz 35.4 kB Details

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

Download URL piston-mini-client-0.7.2.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6d7a172e9f65c844e1d8dfc23ae062dbaff2941465cda1634b362fd4e47de2d9
BLAKE2b-256 checksum
How to use checksums
32a38dd3f6070025447a7dc596fa0d3ac1b7b150a952ef75f1f30aa9b2ee334b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

This release

0.7.2 This release

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