Skip to main content

Python Client for Smappi API

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!"

Metadata

Release files for smappi 0.1.7

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

Source distribution (sdist)

Source distribution for smappi 0.1.7
File Size Uploaded Provenance Actions
smappi-0.1.7.tar.gz 2.6 kB Without provenance Details for smappi-0.1.7.tar.gz

Release files / smappi-0.1.7.tar.gz

Download URL smappi-0.1.7.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ae71e976c5a570131af27f9281b8b51b8faa0e9871265a6b76023c119ce19bfa
BLAKE2b-256 checksum
How to use checksums
78ba7cdecd5f0d39dc1318b4dc3ad3996808c859433e77c53c1e93e793a78c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for smappi 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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