A simple python https server
Project description
py-https
A simple python https server
INSTALLATION:
pip install py-https
USAGE:
As a module from any location
python3 -m pyhttps [-option value] [port]
In script
from pyhttps import startserver startServer(host,port,cert,key) ##cert : certificate file location ##key : key file location
OPTIONS:
--v Version Info(**)
--help Help and usage Info(**)
-p Port Number [Port 443,80 may require sudo or elivated permissions]
-h Host address
-c ssl cert file location
-k ssl key file location
-gencert Auto Generate SSL Cert and Key(#)
(-gencert [Value]: Target Path for generating certificates)
** [No value needed for these type of options]
# [Optional value for this type of option]
>>> openssl must be installed and included in PATH for -gencert]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-https-0.0.2.1.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file py-https-0.0.2.1.tar.gz
.
File metadata
- Download URL: py-https-0.0.2.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5b2c3f286ea0b7320cc2695215370dcc921328d4f95c1f972d5f00fbf67d8cbe
|
|
MD5 |
9946ff02e4be32cd8b826c513fe9a044
|
|
BLAKE2b-256 |
00f5aceabb1d57bc56e388fd1ed017f89e952238611bbac24cd91b7b598d2fb0
|
File details
Details for the file py_https-0.0.2.1-py3-none-any.whl
.
File metadata
- Download URL: py_https-0.0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c283aeec74cb5f2fe6c451116f9e83ece3828fbeee0e02f3456550ad1804048b
|
|
MD5 |
37cce901dc6978a476f797890e220c9e
|
|
BLAKE2b-256 |
c5007c7835d6b3ea95789817168b70c9d6114d939be4cff62d67dbd8cf21b064
|