Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Fork of file.io-cli
with maintenance and enhancements.
$ pip install file.io-cli-tddschn
Command-line tool to upload files to https://file.io
$ file.io-cli --help
usage: file.io-cli [-h] [--version] [-e E] [-n NAME] [-q] [-c] [-t PATH] [-z]
[-v] [-N UPLOAD_TIMES]
[file]
Upload a file to file.io and print the download link. Supports stdin.
positional arguments:
file the file to upload
options:
-h, --help show this help message and exit
--version show program's version number and exit
-e E, --expires E set the expiration time for the uploaded file
-n NAME, --name NAME specify or override the filename
-q, --quiet hide the progress bar
-c, --clip copy the URL to your clipboard
-t PATH, --tar PATH create a TAR archive from the specified file or
directory
-z, --gzip filter the TAR archive through gzip (only with -t,
--tar)
-v, --verbose print the server response
-N UPLOAD_TIMES, --upload-times UPLOAD_TIMES
upload the file N times
Upload a file and copy the link:
$ file.io hello.txt -c
[============================================================] 100% (15 bytes / 15 bytes)
https://file.io/pgiPc2 (copied to clipboard)
$ cat https://file.io/pgiPc2
Hello, File.io!
Upload a compressed archiveCompress a file/directory and upload it (streaming):
$ file.io -zt AllMyFiles/
/ (55MB)
https://file.io/sf2La
Upload from stdin:
$ find .. -iname \*.py | file.io -n file-list.txt
/ (312KB)
https://file.io/uRglUT
Upload a file 3 times concurrently:
$ file.io -N 3 file_io_cli_tddschn/cli.py
https://file.io/Vv7QtVfMVBr2
https://file.io/10Y2DgoXDJwQ
https://file.io/rCoWI2PN58cg
This is the recommended installation method.
$ pipx install file.io-cli-tddschn
$ pip install file.io-cli-tddschn
$ git clone https://github.com/tddschn/file.io-cli-tddschn.git
$ cd file.io-cli-tddschn
$ poetry install
.
time.clock
(removed in python 3.8) with time.perf_counter
-t, --tar
and -z, --gzip
options-c, --clip
FAQs
Command-line tool to upload files to https://file.io
We found that file-io-cli-tddschn demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.