sauth
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: -d, --dir TEXT use different directory -s, --https use https -t, --thread serve each request in a different thread --help Show this message and exit.
Free software: GNU General Public License v3
Installation
pip install sauth
Also available on Arch User Repository if you’re running arch:
pacaur -S 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
Threading is also supported through -t or –thread flags:
$ sauth someuser somepass 127.0.0.1 1234 –thread Serving “/home/user/somedir” directory on http://127.0.0.1:1234 using threading
Metadata
Release files for sauth 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sauth-1.1.0.tar.gz | 4.3 kB | Without provenance | Details for sauth-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sauth-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for sauth-1.1.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / sauth-1.1.0.tar.gz
| Download URL | sauth-1.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3274fb30e65f9e6e23a012d159f461d46cc02748530621aa4451c1a33e77d78
|
|
BLAKE2b-256 checksum How to use checksums |
bf00a08b96379741ba5addaf7894d7f8870c2c80f381732610a0c9f218bdabf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.9 Linux/5.15.4-1-MANJARO
|
Release files / sauth-1.1.0-py3-none-any.whl
| Download URL | sauth-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5748c33574fe15c4b0582f6424c0a30c37e6851f81f6b7911321b0c481dbb273
|
|
BLAKE2b-256 checksum How to use checksums |
b87530c60e9a24fea693fec09978107e412da180248acf162c8cb3e51c7b7d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.9 Linux/5.15.4-1-MANJARO
|
Security for sauth 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.