`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 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.
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
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 edwh_files_plugin-1.2.0.tar.gz.
File metadata
- Download URL: edwh_files_plugin-1.2.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31c2e5c24d4a40f98eb8c419a12ac74d8e84c99c2abdeb037d241da95c25999
|
|
| MD5 |
1807352aee8ebaadc5a06b186e7eab8a
|
|
| BLAKE2b-256 |
1fbe2f695a73b5e43265075d8825ce225ab7c322aab5e0268c65fe0bd906b8ba
|
File details
Details for the file edwh_files_plugin-1.2.0-py3-none-any.whl.
File metadata
- Download URL: edwh_files_plugin-1.2.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c33ede10073c8efdc9b3e00468ce5e652f1d98562a5d963d1f5df67510aa874
|
|
| MD5 |
315392911ff8b94f21f5aee4edf6e053
|
|
| BLAKE2b-256 |
d84847f2184e1902e8698c44266ec8c8dc1991a3efa701b10594ffa8f4f96b6c
|