hostray
hostray is a pure python project adding simple, scalable, and configurable module framework and utilties to opensource web frameworks. It's currently based on Tornado Web Server
prerequest: python 3.6+, pip
Install hostray with pip: pip install hostray
Hello world
create a minimal runable server project:
- In command prompt, create a project named hello:
python3 -m hostray create hello - Start the project:
python3 -m hostray start hello - Open Browser views the response of hello api, http://localhost:8888/hello
- To stop server, press ctrl+c in the command prompt
Read documentation for more information (still updating...)
Change log
-
0.7.5.1 - Mar. 20, 2020:
- Add missing dependency, requests
-
0.7.5 - Mar. 20, 2020:
- Use aiohttp for sending requests asynchronously.
- Set logger level to Error when debug set to false in server_config.yaml.
- Method dispose() of component classes become awaitable.
- Add certification authority 'ca' parameter for ssl settings in server_config.yaml.
- Fix bugs.
-
0.7.3 - Dec. 31, 2019:
-
Bug Fix:
- Arcpath (path in compressed file) might be incorrect when packing projects.
- Changing test server port in unittest of hostray library to avoid conflict with default port 8888
- The 'required' parameter of ConfigValidator classes does not work properly in all cases.
-
-
0.7.2 - Dec. 8, 2019:
- Initalizing github project.
Metadata
Release files for hostray 0.7.5.1
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 |
|---|---|---|---|---|
| hostray-0.7.5.1.tar.gz | 49.6 kB | Without provenance | Details for hostray-0.7.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hostray-0.7.5.1-py3-none-any.whl | Python 3 | none | any | Details for hostray-0.7.5.1-py3-none-any.whl |
Total release size: 123.8 kB
Release files / hostray-0.7.5.1.tar.gz
| Download URL | hostray-0.7.5.1.tar.gz |
|---|---|
| Size | 49.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7a27a38fbc66037992e5731d62b79101664b6511b8f78f13793b5f11f3a4d97
|
|
BLAKE2b-256 checksum How to use checksums |
cac40b293095eeb104131980ac02e5da6fa17c34c4ee3fb7a1824a78dc8ed80c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/3.6.7
|
Release files / hostray-0.7.5.1-py3-none-any.whl
| Download URL | hostray-0.7.5.1-py3-none-any.whl |
|---|---|
| Size | 74.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d16c4763b1bbae650894952b019d1e720f1c830d0bc3433c242083b2487b5ab6
|
|
BLAKE2b-256 checksum How to use checksums |
7eddc6aaf04f0410565b8521060183443b4c81baed56cace72615e04ae74572e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/3.6.7
|
Security for hostray 0.7.5.1
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.