Skip to main content

CLI program to quickly share directories using a http server

Project description

Description

QuickShare (qs) is a variant of the (now legacy) SimpleHTTPServer present in python 2.x. It allows one to share quickly directories by opening a http server. qs supports both python2 and python3.

You can define an upload rate limit to prevent the clients from using all your bandwidth and it automatically searches a free port if the given or default one is taken.

Why QuickShare?

http://xkcd.com/949/

Sharing is fun, but it quickly becomes a pain when dealing with multiple operating systems, platforms and unexperimented users. Nowadays, almost everything has a web interface, why should’nt we use it?

Documentation

Usage: qs [-h] [-p PORT] [-r RATE] [--no-sf] [FILE]...

Options:
    -h, --help       Print this help and exit.
    -p, --port PORT  Port on which the server is listenning.
                     Default is 8000
    -r, --rate RATE  Limit upload to RATE in ko/s.
                     Default is 0 meaning no limitation.
    --no-sf          Do not search a free port if the selected one is taken.
                     Otherwise, increase the port number until it finds one.
    --version        Print the current version

Arguments:
    FILE             Files or directory to share.
                     Default is the current directory: `.'
                     If '-' is given, read from stdin.
                     If 'index.html' is found in the directory, it is served.

Dependencies

docopt https://github.com/docopt/docopt or “pip install docopt”

Install

The simplest is to use

pip install qs

or, in this directory,

python setup.py install

License

This program is under the GPLv3 License.

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

Contact

Main developper: Cédric Picard
Email:           cedric.picard@efrei.net

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

qs-1.4.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file qs-1.4.1.tar.gz.

File metadata

  • Download URL: qs-1.4.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qs-1.4.1.tar.gz
Algorithm Hash digest
SHA256 9592e0ea034275018ac880237b28e47671e8156ea3da78b644eeba266cf90b34
MD5 71273fb0809272dcefb10ba85b718fcf
BLAKE2b-256 88f843fc812686bab58108d90a35f1f4b00b681a832e1d801feabeac74d64d8e

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