Skip to main content

trnsfr

Description

A simple Python script to upload files on transfer.sh servers from CLI.

Usage

$ pip install trnsfr

$ trnsfr
usage: trnsfr.py [-h] [-s SERVER] [-i] [-k MAX_DAYS] [-t MAX_DOWNLOADS] [-d] [-v | -n | -q] [-e ENCRYPT_PASSWORD]
                 [-m {clamav,virustotal}]
                 file [file ...]

version: 1.2

positional arguments:
  file                  File(s) to upload

options:
  -h, --help            show this help message and exit

Connection parameters:
  -s, --server SERVER   Server instance URL (default: "https://transfer.adminforge.de/")
  -i, --ignore-tls-errors
                        Ignore TLS validation errors (default: False)

Upload parameters:
  -k, --max-days MAX_DAYS
                        Maximum number of days to keep file on the server
  -t, --max-downloads MAX_DOWNLOADS
                        Maximum number of times that file can be downloaded

Output parameters:
  -d, --show-delete-url
                        Show URL to delete (default: False)

Display parameters:
  -v, --verbose         Verbose output (default: False)
  -n, --no-progress-bar
                        Do not display the progress bar (default: False)
  -q, --quiet           Display only the download link without progress bar (default: False)

Confidentiality parameters:
  -e, --encrypt-password ENCRYPT_PASSWORD
                        Encrypt file with that password on the server-side (default: None)

Malware scan parameters:
  -m, --scan-malware {clamav,virustotal}
                        Scan for malware with ClamAV or Virustotal (default: None): /!\ this feature can be
                        unavailable on the server and hence failing the whole upload !

Credits

trnsfr is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

trnsfr is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with trnsfr. If not, see http://www.gnu.org/licenses/.

Contact

  • Thomas Debize < tdebize at mail d0t com >

Metadata

Release files for trnsfr 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trnsfr 1.3
File Size Uploaded Provenance Actions
trnsfr-1.3.tar.gz 4.3 kB Without provenance Details for trnsfr-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trnsfr 1.3
File Interpreter ABI Platform Actions
trnsfr-1.3-py3-none-any.whl Python 3 none any Details for trnsfr-1.3-py3-none-any.whl

Total release size: 9.2 kB

Release files / trnsfr-1.3.tar.gz

Download URL trnsfr-1.3.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1f58c48c7dcd06acb051d686b43085c59a529b786906d8c65856cd7240bdc90a
BLAKE2b-256 checksum
How to use checksums
93d41ba124f1dbb53d72e9bfc621b3e2cfce6dd281229ce1b873279f0c580da0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release files / trnsfr-1.3-py3-none-any.whl

Download URL trnsfr-1.3-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e4b338798e60e8b871c5368ab368267901892261e25a56a99fd50d914448995
BLAKE2b-256 checksum
How to use checksums
33b8a1022a1d70797fbc0ea5a8c91d154bb1f1f7c1755ed1cd6283bd1cff8c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Security for trnsfr 1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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