Micro proxy for uploading to kDrive drop boxes with a simple POST call
Project description
kDrive Proxy
A Micro proxy for uploading to kDrive drop boxes with a simple POST call, using kdrive-uploader.
Quickstart
First install with pip then run:
pip install kdrive-proxy
# run the server
kdrive-proxy run --host 0.0.0.0 --port 80
You can also run it directly using uv:
uvx kdrive-proxy --help
Or with docker (still using uv):
docker run --rm --workdir /io -v .:/io -v uv-cache:/root/ ghcr.io/astral-sh/uv:alpine uvx kdrive-proxy --help
Dev quickstart
# create dev env
uv sync --dev
# install prek (git hooks manager)
uv run prek install
# run from source
fastapi dev --entrypoint kdrive_proxy:app
# test a request
curl -X POST http://localhost:8000/0000000/00000000-0000-0000-0000-000000000000/README.md --data-binary '@README.md'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kdrive_proxy-0.0.2.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kdrive_proxy-0.0.2.tar.gz.
File metadata
- Download URL: kdrive_proxy-0.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c7c6d9d7ad054e586835f5aee4b2dd22ba44109612e8159a848c0a2f71d8234
|
|
| MD5 |
e624869623f2cef0ae9c47dd7d85b255
|
|
| BLAKE2b-256 |
8312c8de8e37fa8b7aec9c4d6cacab052b1fb947cdab8d47c02955c9f7760d8d
|
File details
Details for the file kdrive_proxy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: kdrive_proxy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e23aae467b147aa89080e12fb58f5096e53179229f26eaa9ab7e3fe64e428f6c
|
|
| MD5 |
8d3621427377235c87d8f965a38ccea8
|
|
| BLAKE2b-256 |
2491aa6a6cee78f90e05187ab8378c1478d85c394194b450762167d30a667b3a
|