k3wsjobd
This module is a gevent based websocket server. When the server receives a job description from a client, it runs that job asynchronously in a thread, and reports the progress back to the client periodically.
k3wsjobd is a component of pykit3 project: a python3 toolkit set.
This module is a gevent based websocket server. When the server receives a job description from a client, it runs that job asynchronously in a thread, and reports the progress back to the client periodically.
Install
pip install k3wsjobd
Synopsis
import logging
import k3wsjobd
def run():
k3wsjobd.run(ip="127.0.0.1", port=33445)
if __name__ == "__main__":
logger = logging.getLogger()
logger.setLevel(logging.INFO)
file_handler = logging.FileHandler("wsjobd.log")
formatter = logging.Formatter("[%(asctime)s, %(levelname)s] %(message)s")
file_handler.setFormatter(formatter)
logger.addHandler(file_handler)
run()
Author
Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Metadata
Release files for k3wsjobd 0.1.8
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 |
|---|---|---|---|---|
| k3wsjobd-0.1.8.tar.gz | 10.2 kB | Without provenance | Details for k3wsjobd-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| k3wsjobd-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for k3wsjobd-0.1.8-py3-none-any.whl |
Total release size: 18.1 kB
Release files / k3wsjobd-0.1.8.tar.gz
| Download URL | k3wsjobd-0.1.8.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99eaacfb5806c03124166cb590416a1e0b1fac93a93c89b5faddcb431afdb020
|
|
BLAKE2b-256 checksum How to use checksums |
83fe8e1b456c1eeb39118fc5573ab86ba70edbd011b4457a45da477535387dcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / k3wsjobd-0.1.8-py3-none-any.whl
| Download URL | k3wsjobd-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
daa8783915cead157428506d682af7087fedc14225d34d06b87a031cee69b61d
|
|
BLAKE2b-256 checksum How to use checksums |
05c61328022d8c3776a43d7745d780ee3b283cd953fe9c481bdd33c96155c4a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for k3wsjobd 0.1.8
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.