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.

Filename, size & hash SHA256 hash help File type Python version Upload date
sauth-1.0.1-py3-none-any.whl (3.3 kB) Copy SHA256 hash SHA256 Wheel py3
sauth-1.0.1.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page