`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
File details
Details for the file edwh_files_plugin-0.3.2.tar.gz
.
File metadata
- Download URL: edwh_files_plugin-0.3.2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7210edc0a95307e0a9b7a803d7face71dbceaaab1621d336162106d215f16c22 |
|
MD5 | e9fab223fd799e4f459388905ee793cf |
|
BLAKE2b-256 | ce28cd54e70e07fdb33c8658ce2bf8f8f902973fec8efbbcd7505be835e09c96 |
File details
Details for the file edwh_files_plugin-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: edwh_files_plugin-0.3.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81a3d865412b9753ad4dcfd1b0fc1d05876e4c21c022ad12b0fa19503a59a1d |
|
MD5 | 358083f5d2920f605e3455f1378ea949 |
|
BLAKE2b-256 | 571375c457a941eaaa0316b15bc049de332bff435a1d4009d22ae67d6e2517d1 |