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.

Source Distribution

sauth-1.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sauth-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file sauth-1.0.1.tar.gz.

File metadata

  • Download URL: sauth-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sauth-1.0.1.tar.gz
Algorithm Hash digest
SHA256 821a90dc1d1fb1b5a7000504a33b37f6b1cee9002ea679fbe735398b8c29f362
MD5 e7b93752838c0d04dfa08d4a29460325
BLAKE2b-256 51f4794cd59bc9c11b4a503c70cad87ec8db44cd73b7447876a9b6dfa2a5c375

See more details on using hashes here.

File details

Details for the file sauth-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sauth-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd0ed69aa9f24de0572682ba60266a4f81dd66aeb9778c745b1c85baab8a16c7
MD5 8712d3f4d71c376b8b93f0ef0c3f059a
BLAKE2b-256 029bcbfea1b64b9325ad27fa790807f33706785f662cb84575228e5bff9e54d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page