`edwh` plugin for files.edwh.nl
Project description
edwh-files-plugin
Table of Contents
Installation
pip install edwh-files-plugin
But probably you want to install the whole edwh package:
pipx install edwh[files]
# or
pipx install edwh[plugins,omgeving]
Usage
(Arguments between < >
are required, arguments between [ ]
are optional)
Upload
edwh file.upload <path_to_file> --server [str] --max-downloads [int] --max-days [int] --encrypt [str]
path_to_file
: which file to uploadserver
isfiles.edwh.nl
by default, but can be anytransfer.sh
instance.max-downloads
: how often can the file be downloaded?max-days
: for how long can the file be downloaded?encrypt
: secret to encrypt the file with
This command outputs the upload status code, file url and deletion url.
Download
edwh file.upload <url> --decrypt [str] --output-file [str]
url
: file url fromfile.upload
decrypt
: if--encrypt
is used infile.upload
, the same secret can be used to decrypt the file.output-file
: where to store the download
Delete
edwh file.upload <url>
url
: deletion url fromfile.upload
License
edwh-files-plugin
is distributed under the terms of the MIT license.
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
Built Distribution
Close
Hashes for edwh_files_plugin-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc39e02e040dc29983ceb1799d24eb8de8e44ca2baa9bad845d8207bed0481b4 |
|
MD5 | 4defb98afb9a2992ce7c0e4f1e03bc1c |
|
BLAKE2b-256 | 9da5bbd6dc988c1b5f78391613f3870b9df1ecddfc1b5b50b8af781a57c4640b |