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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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