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 uploadserverisfiles.edwh.nlby default, but can be anytransfer.shinstance.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.uploaddecrypt: if--encryptis 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.
Metadata
Release files for edwh-files-plugin 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edwh_files_plugin-1.2.0.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edwh_files_plugin-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.1 kB
Release files / edwh_files_plugin-1.2.0.tar.gz
| Download URL | edwh_files_plugin-1.2.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c31c2e5c24d4a40f98eb8c419a12ac74d8e84c99c2abdeb037d241da95c25999
|
|
BLAKE2b-256 checksum How to use checksums |
1fbe2f695a73b5e43265075d8825ce225ab7c322aab5e0268c65fe0bd906b8ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / edwh_files_plugin-1.2.0-py3-none-any.whl
| Download URL | edwh_files_plugin-1.2.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c33ede10073c8efdc9b3e00468ce5e652f1d98562a5d963d1f5df67510aa874
|
|
BLAKE2b-256 checksum How to use checksums |
d84847f2184e1902e8698c44266ec8c8dc1991a3efa701b10594ffa8f4f96b6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|