Backend python modules for OpenSARLab
Project description
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
or /usr/local/etc/jupyterhub/existing-secret/sso_token
.
This module safely allows the sharing of JupyterHub user information between separate servers/containers.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file opensarlab_backend-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: opensarlab_backend-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d3ba3164dd6cdb19c0493713bcb97c008e74ecdca20a7fe5090807d1b28007d |
|
MD5 | 88148da5c0cfb74876681195fc24bb9c |
|
BLAKE2b-256 | fea9b7a560dc88477d5bb2db0fe54ed434a4f5935e2d87ca20740ad4060f5799 |