Support python>=2.7, python>=3.0
More information on https://smappi.org/
This client is delivered without any dependencies!
pip install smappi
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!"