Skip to main content

Opload: Open Loading Server

Project description

Opload: Open Loading Server

Local installation

You should be able to clone this repo and install the package:

$ pip install -e opload

For local testing, be sure to set the following env.variables:

  • OPLOAD_BACKEND_SERVICE=STDLIB

To facilitate endpoint calling while developing, you may also want to set FRD_RESTAPI_DISABLE_AUTH=1.

Start the server:

$ fred serve --classname RouterCatalog --classpath opload.router.catalog
  • Or just fred serve if the env.variables are correctly set.
  • Or use the direct opload serve command.

A key that doesn't exist will return a null value (i.e., "val":null):

$ curl --request GET http://0.0.0.0:8000/get?key=demo/1.txt

You can define the holding value of a key via the set endpoint:

$ curl --request POST http://0.0.0.0:8000/set --data '
{
  "key": "demo/1.txt",
  "value": "Hello, world."
}
'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opload-0.3.0.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file opload-0.3.0.tar.gz.

File metadata

  • Download URL: opload-0.3.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for opload-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e2af8cf126a1a99d95a2111f6780047ea27ad4dfde78a43874648f14d8349cc6
MD5 4f30ab7752e384b1faa1a13c20968222
BLAKE2b-256 94ec31631fe8145614c8111ecc25700fabc4a0bbd6c81a46cfbae8a2fde0f671

See more details on using hashes here.

Supported by

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