HTTPlus-Server
A fast, multithreaded HTTP server with authentication & partial content support!
Features
Multithreaded - Handles multiple requests concurrently
Basic Authentication - Secure access with a username & password
Custom Directory Serving - Serve files from any folder
Partial Content Support - Resume downloads with HTTP range requests
Lightweight & Easy to Use - Run with a single command
Installation
Install via pip:
pip install httplus-server
Usage
Run the server with default settings (binds to 0.0.0.0, port 8080, no authentication):
httplus-server
Start with Custom Port
httplus-server 9090
Enable Multithreading
httplus-server -p 8080 -t
Serve a Specific Directory
httplus-server -p 8080 -d /path/to/directory
Enable Basic Authentication
httplus-server -p 8080 -u myuser -P mypassword
Full Example
httplus-server -b 0.0.0.0 -p 8000 -d mydir -u admin -P Secret123 -t
This starts a multithreaded HTTP server on port 8000, serving files from mydir/, requiring "admin" as the username and "Secret123" as the password.
Command Line Options
| Option | Short | Description | Default |
|---|---|---|---|
--bind |
-b |
Bind to a specific IP (e.g., 0.0.0.0, [::]) |
0.0.0.0 |
--port |
-p |
Port to listen on | 8080 |
--dir |
-d |
Directory to serve files from | Current directory |
--user |
-u |
Username for authentication | None (no auth) |
--pass |
-P |
Password for authentication | None (no auth) |
--threaded |
-t |
Enable multithreading | Off |
Metadata
Release files for httplus-server 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httplus_server-0.1.3.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httplus_server-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / httplus_server-0.1.3.tar.gz
| Download URL | httplus_server-0.1.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2927e81a5365a175d35231781f7c6aa0aec39057bd0a4fb01db3671026a96a01
|
|
BLAKE2b-256 checksum How to use checksums |
adf999f1df5a6c52079a72c490ed0908471eab66edf3a9106faf77c527363f5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Release files / httplus_server-0.1.3-py3-none-any.whl
| Download URL | httplus_server-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
110c49281d68858f9b91c5939c6136052bdfb4ebe1e2d4ecb6d9c0086c4f4652
|
|
BLAKE2b-256 checksum How to use checksums |
9d0d1403afba2d0d9512e58fa614ccb6ba786f69aad46e3ab038790bd1a285f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|