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:
| Type | Description | Required Keys |
|---|---|---|
| success | All went well, and (usually) some data was returned. | status, data |
| failure | There was a problem with the data submitted, or some pre-condition of the API call wasn't satisfied | status, data |
| error | An error occurred in processing the request, i.e. an exception was thrown | status, message |
Release files for python-jsend-response 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-jsend-response-0.0.3.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_jsend_response-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / python-jsend-response-0.0.3.tar.gz
| Download URL | python-jsend-response-0.0.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad89d95f47b88480d52cb1775cf7a5bcdbaf3c343f0ad46e429e5038fca45405
|
|
BLAKE2b-256 checksum How to use checksums |
c11f81d6b06073b34bf910696f81cddd02c30f3fbfad7bb0e6f0cb94920706bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
|
Release files / python_jsend_response-0.0.3-py3-none-any.whl
| Download URL | python_jsend_response-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d425d215e0bd3d9885ed9bf105945d9f817aea7b5acff483ca06af696eca06a
|
|
BLAKE2b-256 checksum How to use checksums |
372d6a70bb01de889d08f825bcda9e6c3a4583b985a0d9e491d55567d99ce871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
|