opensarlab-backend
Intro
OpenSARLab is a customized JupyterHub instance running in AWS and operated by the Alaska Satellite Facility (ASF). The purpose of OpenSARLab is make Synthetic Aperture Radar (SAR) data more accessible.
This Python library is for common code used in the backend of OpenSARLab that would be better served in a pip-able package.
It is intended that these code can be found on PyPi:
python3 -m pip install opensarlab-backend
Auth Package
Module: encryptedjwt
from opensarlab.auth import encryptedjwt
Take data, encode into a jwt token, and encrypt the token. Also decrypt the token and decode the data.
The encode/encrypt secret is by default found at /run/secrets/sso_token. If not found there, then it will check for the path to the token defined in the environment variable OPENSARLAB_SSO_TOKEN_PATH.
This module safely allows the sharing of JupyterHub user information between separate servers/containers.
Metadata
Release files for opensarlab-backend 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opensarlab_backend-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for opensarlab_backend-1.0.4-py3-none-any.whl |
Release files / opensarlab_backend-1.0.4-py3-none-any.whl
| Download URL | opensarlab_backend-1.0.4-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a17a43fc2a41c79c8bc74062e3da088ac5bdaa8f8a4af7970b43c9c5324d1a31
|
|
BLAKE2b-256 checksum How to use checksums |
4ade5fac4b1c792ae29346247aef70e7b4ef1b8d1779f8878f78a1c6cff8f1be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for opensarlab-backend 1.0.4
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.