Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

python-jsend-response is a simply python implementation of JSend.

Project description

Description

python-jsend-response is a simple implementation of JSend.

JSend is a specification that lays down some rules for how JSON responses from web servers should be formatted. JSend focuses on application-level (as opposed to protocol- or transport-level) messaging which makes it ideal for use in REST-style applications and APIs.:

You'll have all kinds of different types of calls and responses. JSend separates responses into some basic types, and defines required and optional keys for each type:

TypeDescriptionRequired Keys
successAll went well, and (usually) some data was returned.status, data
failureThere was a problem with the data submitted, or some pre-condition of the API call wasn't satisfiedstatus, data
errorAn error occurred in processing the request, i.e. an exception was thrownstatus, message

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 python-jsend-response, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size python_jsend_response-0.0.3-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-jsend-response-0.0.3.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page