Tessitura
Tools for talking to the Tessitura API from Python. This is all just wet paint at the moment.
Requires Python 3.6+
To install just do:
$ pip install tessitura
To use see the following example:
import tessitura
import pprint
endpoint = "https://your.tessitura-endpoint.org/TessituraService/"
credentials = "username:group:location:password"
# The REST API method you wish to call. This may need to be created with other information depending on the request, such as a session id -- See Tessitura documentation for more information. Please note there should be no trailing slash at the end.
method = "Diagnostics/Status"
# The type of request you wish to make. Currently supports GET and POST.
request_type = "GET"
# Use this to add any query string parameters to a GET request
params = {}
# Use this to add any form data to a POST request
data = {}
# Call the API
rsp = tessitura.rest_call(endpoint, credentials, request_type, method, params=params, data=data)
# Print out the results in JSON format
pprint.pprint(rsp)
Metadata
Release files for tessitura 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tessitura-0.0.5.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tessitura-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / tessitura-0.0.5.tar.gz
| Download URL | tessitura-0.0.5.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd65374becfc1b96e72eecdc1ef63463d5d464b37323a9d273f6fafccfdaa37e
|
|
BLAKE2b-256 checksum How to use checksums |
532faa5b76f8e730c1a35b018ffbca6eb326948b7a4276c3e67bd41a2671c1b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / tessitura-0.0.5-py3-none-any.whl
| Download URL | tessitura-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ca95a6e9fe2da4ba0559f792bf36542a1eb0f1be84fc80a325f06eb5feb3093
|
|
BLAKE2b-256 checksum How to use checksums |
0a3c10004a8901942da5c59bb2a5181290acb63423b5a70abdcebff86f26e260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|