Skip to main content

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. 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.

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

opensarlab_backend-1.0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file opensarlab_backend-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for opensarlab_backend-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a121e1bf44eb6c63558c53a9d8fd0ef95014c4deb87861c3ce3ebc1a97cdbbae
MD5 b550db71052ca751edb3cfac49a2764e
BLAKE2b-256 0c0c65b957c8d4dc0291e5534069a2da3016bfac9cf658abef4c4d9a283f0247

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page