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 hashes)
Built Distribution
Close
Hashes for py_https-0.0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c283aeec74cb5f2fe6c451116f9e83ece3828fbeee0e02f3456550ad1804048b |
|
MD5 | 37cce901dc6978a476f797890e220c9e |
|
BLAKE2b-256 | c5007c7835d6b3ea95789817168b70c9d6114d939be4cff62d67dbd8cf21b064 |