Skip to main content

Python Client for Smappi API

Project description

Support python>=2.7, python>=3.0

https://secure.travis-ci.org/smappi/smappi-py.png

More information on https://smappi.org/

Installation

This client is delivered without any dependencies!

pip install smappi

Examples

Use the helper:

>>> from smappi import smappi
>>> smappi('adw0rd/example').greeting(name='friend')
"Hello, friend!"

Or use the full version:

>>> import smappi
>>> smappi.Request('adw0rd/example', 'json').calculator(digits=[42, 42, 42])
126
>>> smappi.Request('adw0rd/example', 'json').calculator(digits='42,42,42')
126

For local development and debug specify host as path:

>>> from smappi import smappi
>>> smappi('localhost:8000').greeting(name='friend')
"Hello, friend!"

Project details


Download files

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

Files for smappi, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size smappi-0.1.7.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page