This repo has moved to https://github.com/des-labs/desaccess_bulk_downloader
#!/usr/bin/env python3 | |
import os | |
import sys | |
import requests | |
import time | |
import json | |
try: | |
# Import credentials and config from environment variables |
To test the DESaccess login API and general programmatic access pattern, try the following. Define environment variables as shown, inserting your username and password. Then run the Python script to test that you can authenticate and fetch an API access token.
export DESACCESS_API_BASEURL=https://des.ncsa.illinois.edu
export DESACCESS_API_DB=desdr
export DESACCESS_API_USER=
export DESACCESS_API_PASS=
FROM python:3 | |
RUN pip install openapi-core | |
COPY ./ ./ | |
Syncthing provides a way to share arbitrary numbers of files between any number of people without the need for a central server. It is a peer-to-peer (P2P) application that automagically syncs files in the background. This deployment app launches a Syncthing "device" (Persistent Peer) that offers a high-availability peer for members of a team to include in their file shares.
For example, imagine there are three people in a team who want to share various folders with each other during the course of their work. They can accomplish this with Syncthing using only their three workstations, by exchanging Device IDs and sharing the folders. However, what if one person modifies or adds a file while the other two are offline, and then that person goes offline before the other two come online? In that event, they would not receive the update. This is where a Persistent Peer is helpful, because in