Skip to main content

A CLI tool for uploading files with https://qrshare.io service

Project description

QRshare.io CLI

A CLI tool for uploading files with qrshare.io service.

It returns a QR-code with a download URL back in the console

Installation

The package is available at https://pypi.org/project/qrshare-io-cli/

Execute the following command

pip install qrshare-io-cli

If you see a warning like this: WARNING: The script qrs is installed in '/usr/local/Cellar/python@3.8/3.8.17/Frameworks/Python.framework/Versions/3.8/bin' which is not on PATH., then add the path specified about to ${PATH} environment variable.

E.g.

echo '# Added by qrshare.io-cli' >> ~/.bash_profile
echo 'export PATH="/usr/local/Cellar/python@3.8/3.8.17/Frameworks/Python.framework/Versions/3.8/bin:${PATH}"' >> ~/.bash_profile
echo -e "\n" >> ~/.bash_profile

Usage

qrs <filename>

Output

Uploading: .gitignore...
                                                                          
                                                                          
    ██████████████    ████████████  ██      ████  ████  ██████████████    
    ██          ██    ██      ████    ██                ██          ██    
    ██  ██████  ██  ████      ██          ████    ████  ██  ██████  ██    
    ██  ██████  ██  ██████      ██████████      ██  ██  ██  ██████  ██    
    ██  ██████  ██  ██████  ██    ██    ██    ████      ██  ██████  ██    
    ██          ██  ████    ██████████████  ██    ████  ██          ██    
    ██████████████  ██  ██  ██  ██  ██  ██  ██  ██  ██  ██████████████    
                    ██████████  ████  ████  ██    ██                      
    ██  ██████████    ██████  ██████████        ██      ██████████        
      ██            ██            ██    ████  ██    ██  ██████████        
      ██    ██████████████            ██    ██  ████████    ██    ██      
      ████  ██    ██            ██  ██  ██████    ██    ████      ████    
    ██████████  ██  ██  ██████    ██          ████  ████  ████  ████      
    ██      ██      ████  ████████████    ██  ████    ██      ████        
    ██  ██████████          ██████    ██    ██  ██  ██    ██████    ██    
      ████████    ██      ██    ██  ████████  ██████    ██      ██████    
    ████      ████████  ██      ██      ██  ████    ██████  ██            
    ██████    ██  ████    ████  ████          ████  ████████  ████████    
    ██    ████████        ██  ██  ████████            ██    ████  ████    
    ██  ████      ████    ██    ██  ██    ████  ████  ████    ████  ██    
    ████  ██  ████  ██  ██    ██████    ██  ████    ██      ██  ██        
    ██    ████      ██    ██  ██████    ██  ██████      ████  ████        
    ██      ██  ██      ██      ████  ██  ██    ██  ██      ██    ██      
    ██  ██  ██    ████  ██    ██  ██  ████  ████████    ██      ██  ██    
    ██        ████  ██  ██████    ██████            ██████████████  ██    
                    ██        ██  ██          ██  ████      ██████  ██    
    ██████████████            ██  ██  ██████    ██  ██  ██  ████          
    ██          ██  ████████████    ██    ████      ██      ██████████    
    ██  ██████  ██  ████████████████  ██    ██      ██████████  ██        
    ██  ██████  ██  ████    ██████████  ██    ██      ██████  ██████      
    ██  ██████  ██  ████      ████    ████  ██  ████████████              
    ██          ██      ████  ██    ██████  ████████        ████  ████    
    ██████████████  ████        ████████    ██    ██    ██        ██      
                                                                          
                                                                          
    ╔══════════════╦══════════════════════════════════════════════════════════╗
         Filename  .gitignore                                                   ╠══════════════╬══════════════════════════════════════════════════════════╣
             Size  29 bytes                                                     ╠══════════════╬══════════════════════════════════════════════════════════╣
     Download URL  https://api2.qrshare.io/api/v2/transfer/ddl/m9jQM2Pre06l     ╚══════════════╩══════════════════════════════════════════════════════════╝

Downloading with cURL

curl --content-disposition https://api2.qrshare.io/api/v2/transfer/ddl/m9jQM2Pre06l

Note: make sure to use --content-disposition parameter to keep the original filename

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

qrshare_io_cli-0.0.5.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

qrshare_io_cli-0.0.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file qrshare_io_cli-0.0.5.tar.gz.

File metadata

  • Download URL: qrshare_io_cli-0.0.5.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.3 Darwin/22.4.0

File hashes

Hashes for qrshare_io_cli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3facadf4dd3ba061af1a1ee2da86b5782d09f18509b6ce557950e17904ed2553
MD5 a7009027b02128ad4762b850e52aa29d
BLAKE2b-256 21a96745d957532350705d52ddc044ec0219b711e67c1fe8b1bc1e399d8ab095

See more details on using hashes here.

File details

Details for the file qrshare_io_cli-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: qrshare_io_cli-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.3 Darwin/22.4.0

File hashes

Hashes for qrshare_io_cli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7e2b7ba29bed89085a76cfc528dd8de2867ef4f50a9ae70d40c0dda6aafa0cca
MD5 1fe1354fe0a7b3dd7b9b2b4c3ba3553f
BLAKE2b-256 b8c5eb1a518b2df58dccf6a2dad5fc88211aaf5b556b1a4992891c961fde09f7

See more details on using hashes here.

Supported by

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