Skip to main content

k3wsjobd

Action-CI Documentation Status Package

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.6

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

Source distribution (sdist)

Source distribution for k3wsjobd 0.1.6
File Size Uploaded
k3wsjobd-0.1.6.tar.gz 9.0 kB Details

Built distribution (wheel)

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

Total release size: 16.5 kB

Release files / k3wsjobd-0.1.6.tar.gz

Download URL k3wsjobd-0.1.6.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1675d2209a1de1ea5fdd83333df96cca8070007f6f29c3a8819e6ba72da0efd2
BLAKE2b-256 checksum
How to use checksums
f68a2006f94cd3255cacdecc366fe170a856fa8bba0178a514f075d11aa0c916
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.6-py3-none-any.whl

Download URL k3wsjobd-0.1.6-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7c836b1730fa79c059ebfd1206c6e11695197f78104d969889231f819d6f5ea
BLAKE2b-256 checksum
How to use checksums
4f85515de24dd8933ba75aeccb01b7cce2c47a80cb35dc852b3635cdf17fe70e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

0.1.8

2 release files

0.1.7

2 release files

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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