Python Client for Smappi API
Project description
Support python>=2.7, python>=3.0
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smappi-0.1.7.tar.gz
(2.6 kB
view details)
File details
Details for the file smappi-0.1.7.tar.gz
.
File metadata
- Download URL: smappi-0.1.7.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae71e976c5a570131af27f9281b8b51b8faa0e9871265a6b76023c119ce19bfa |
|
MD5 | b9bcdcc23e25e56b1099a79f72a0b984 |
|
BLAKE2b-256 | 78ba7cdecd5f0d39dc1318b4dc3ad3996808c859433e77c53c1e93e793a78c92 |