Scramjet Middleware client
About:
This package provides a Middleware client to let you connect with your Scramjet Cloud Platform account.
Usage:
❗NOTE: You need to provide your middleware access token if you are not hosting STH locally.
import asyncio
from middleware_client.middleware_client import MiddlewareClient
from client_utils.base_client import BaseClient
# your middleware token
token = ''
# set the token
BaseClient.setDefaultHeaders({'Authorization': f'Bearer {token}'})
# middleware url
api_base ='https://api.scramjet.cloud/api/v1'
middleware = MiddlewareClient(api_base)
res = asyncio.run(middleware.get_managers())
print(res)
Release files for scramjet-middleware-client 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scramjet-middleware-client-1.1.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scramjet_middleware_client-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / scramjet-middleware-client-1.1.0.tar.gz
| Download URL | scramjet-middleware-client-1.1.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53335f1c24c999a6018525e56d682a4f0e77ac29e273cc46d57dfe8a05b85204
|
|
BLAKE2b-256 checksum How to use checksums |
6a6f9a5b8ccd1aa1abb9f916a30a76af3d1d3c4017c300e9cf9e223234328b12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / scramjet_middleware_client-1.1.0-py3-none-any.whl
| Download URL | scramjet_middleware_client-1.1.0-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66ac9a0749992ba6427a95b58dd8fea298729b0e6b7ad7f5ad65a62d1b116c79
|
|
BLAKE2b-256 checksum How to use checksums |
72c20b59c50a7143e639e4bdbed707d206bf0d6dd66c5373b554a5b87ada966b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|