Skip to main content

qrshare

PyPI Python Version Repo Size Contributors Last Commit Issues Pull Requests License

Serve files or folders on local network with ease.

For extra security provide a password --password [password]

Install

pip install qrshare

Termux

  1. Install Termux from Google Play.

  2. Update packages: apt update && apt upgrade

  3. Setup storage: termux-setup-storage

  4. Install Python: pkg install python

  5. Install qrshare: pip install qrshare

  6. Use as described below in Terminal.

Usage

Terminal

Serve a specific directory or file

qrshare serve path/to/share

Serve the current directory

qrshare serve .

Send to

Windows only

Creating a shortcut in shell:sendto provides for easier use of convenience

commandline

qrshare config --sendto

manually

Press Windows + r and enter shell:sendto

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo

Create shortcut with command qrshare serve in folder

now option qrshare should appear when you right click to a file or folder

Commandline

qrshare --help

Usage: __main__.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  config  change user configurations
  serve   serve given list paths as per given options

qrshare serve --help

Usage: __main__.py serve [OPTIONS] PATHS...

  serve given list paths as per given options

Options:
  -p, --password TEXT  when provided every device require authentication
  --port INTEGER       waitress server port
  --help               Show this message and exit.
  • password is given preference over global password

qrshare config --help

Usage: __main__.py config [OPTIONS]

  change user configurations

Options:
  -p, --password TEXT  set a global password
  --remove-password    remove currently set global password
  --sendto             reset windows 'Send To' shortcut
  --open               open config directory
  --help               Show this message and exit.
  • global password can be removed by setting it an empty string ("")

Code Example

from qrshare import App

app = App(paths, debug=True)
app.serve()

Metadata

Release files for qrshare 0.4.0

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

Source distribution (sdist)

Source distribution for qrshare 0.4.0
File Size Uploaded
qrshare-0.4.0.tar.gz 183.2 kB Details

Built distribution (wheel)

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

Total release size: 390.9 kB

Release files / qrshare-0.4.0.tar.gz

Download URL qrshare-0.4.0.tar.gz
Size 183.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e641646a6c88b2b6efaeef92efce06fe36e63db5bec42221276508cc3b80aa2d
BLAKE2b-256 checksum
How to use checksums
14395afdc1e484a187bd338c8a79939cca3546cf537473aa38dfd2f24e897f67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / qrshare-0.4.0-py3-none-any.whl

Download URL qrshare-0.4.0-py3-none-any.whl
Size 207.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7878bc95eb342466f3a3317af4eb828c189fcdcfa8d3c2de83b31bd7c907615e
BLAKE2b-256 checksum
How to use checksums
7bf4aa50f3dc2ca70d1a3a22ae4b1be85542005f39381bac1138d48c21a4d1ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.3

2 release files

0.1.2

2 release files

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