Skip to main content

`edwh` plugin for files.edwh.nl

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edwh_files_plugin-1.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edwh_files_plugin-1.2.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

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

Hashes for edwh_files_plugin-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c31c2e5c24d4a40f98eb8c419a12ac74d8e84c99c2abdeb037d241da95c25999
MD5 1807352aee8ebaadc5a06b186e7eab8a
BLAKE2b-256 1fbe2f695a73b5e43265075d8825ce225ab7c322aab5e0268c65fe0bd906b8ba

See more details on using hashes here.

File details

Details for the file edwh_files_plugin-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for edwh_files_plugin-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c33ede10073c8efdc9b3e00468ce5e652f1d98562a5d963d1f5df67510aa874
MD5 315392911ff8b94f21f5aee4edf6e053
BLAKE2b-256 d84847f2184e1902e8698c44266ec8c8dc1991a3efa701b10594ffa8f4f96b6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page