Skip to main content

httpself

HTTP server over SSL/TLS with an automatically generated self-signed certificate.

Usage

Serve static files from the current working directory:

$ https [-p/--port <NNNN>] [--public]

Example #1

By default, the server runs on port number 443, which requires superuser privileges. Note that the server will only be accessible from the localhost:

$ https
Running server at https://localhost:443

Example #2

To specify an alternative port number:

$ https --port 8443
Running server at https://localhost:8443

Example #3

To make the server accessible from other devices:

$ https --public
Running server at https://0.0.0.0:443

Example #4

To run the server publicly on a custom port:

$ https --public -p 8443
Running server at https://0.0.0.0:8443

Installation

$ pip install httpself

Release files for httpself 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for httpself 1.0.0
File Size Uploaded
httpself-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for httpself 1.0.0
File Interpreter ABI Platform
httpself-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / httpself-1.0.0.tar.gz

Download URL httpself-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0e5da5a1f2b9f339436017431d8bdedca4306ea7996432b17f063883d412540e
BLAKE2b-256 checksum
How to use checksums
1657dae51f38e7dda30fedc393e06cdd1b2919b17e801d6c7e67cb205f040c8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.8.0 Linux/4.15.0-74-generic

Release files / httpself-1.0.0-py3-none-any.whl

Download URL httpself-1.0.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c88b54285dcafd9529597c282b4b3a424c4f72f95e1bf51e18df9a610ba1761e
BLAKE2b-256 checksum
How to use checksums
bdac5a7b24883be846e0748628edf190291412248bba6f4196dd45b8a80b0455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.8.0 Linux/4.15.0-74-generic

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page