Skip to main content

A simple server app for serving directories via http or https and BASIC authorization

Project description

https://img.shields.io/pypi/v/sauth.svg

S erver auth A simple server for serving directories via http or https and BASIC authorization:

$ sauth --help
Usage: sauth [OPTIONS] USERNAME PASSWORD [IP] [PORT]

  Start http server with basic authentication current directory.

Options:
  --https     use https
  --dir TEXT  use different directory
  --help      Show this message and exit.
  • Free software: GNU General Public License v3

Installation

pip install sauth

Usage

To serve your current directory simply run:

$ sauth someuser somepass
Serving "/home/user/somedir" directory on http://0.0.0.0:8333

You can specify port and ip to serve on with 3rd and 4th arguments:

$ sauth someuser somepass 127.0.0.1 1234
Serving "/home/user/somedir" directory on http://127.0.0.1:1234

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sauth, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sauth-1.0.1-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sauth-1.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page