Skip to main content

edwh-files-plugin

PyPI - Version PyPI - Python Version


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 upload
  • server is files.edwh.nl by default, but can be any transfer.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 from file.upload
  • decrypt: if --encrypt is used in file.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 from file.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)

Source distribution for edwh-files-plugin 1.2.0
File Size Uploaded
edwh_files_plugin-1.2.0.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for edwh-files-plugin 1.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page