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 serveif the env.variables are correctly set. - Or use the direct
opload servecommand.
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.1.0.tar.gz
(4.3 kB
view details)
File details
Details for the file opload-0.1.0.tar.gz.
File metadata
- Download URL: opload-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2fed22a766cbc5ca1407d9961a9a574f96ac9b966233eb385d61c092cbd1090
|
|
| MD5 |
f50b271dff9688e236dd054acdbb93d1
|
|
| BLAKE2b-256 |
75123768e7e661ecaeaed548f895b6dadf150be78daa0a1a8b68af81d2c9e65e
|