{"id":41386569,"url":"https://github.com/pykit3/k3wsjobd","last_synced_at":"2026-01-23T11:58:50.394Z","repository":{"id":39612711,"uuid":"398221313","full_name":"pykit3/k3wsjobd","owner":"pykit3","description":"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.","archived":false,"fork":false,"pushed_at":"2025-08-28T12:39:02.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-28T20:01:05.465Z","etag":null,"topics":["python","thread"],"latest_commit_sha":null,"homepage":"https://blog.openacid.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pykit3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-20T09:18:51.000Z","updated_at":"2025-08-28T12:39:06.000Z","dependencies_parsed_at":"2023-02-01T07:00:36.447Z","dependency_job_id":null,"html_url":"https://github.com/pykit3/k3wsjobd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"pykit3/tmpl","purl":"pkg:github/pykit3/k3wsjobd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykit3%2Fk3wsjobd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykit3%2Fk3wsjobd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykit3%2Fk3wsjobd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykit3%2Fk3wsjobd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pykit3","download_url":"https://codeload.github.com/pykit3/k3wsjobd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pykit3%2Fk3wsjobd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28690611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","thread"],"created_at":"2026-01-23T11:58:49.706Z","updated_at":"2026-01-23T11:58:50.386Z","avatar_url":"https://github.com/pykit3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k3wsjobd\n\n[![Action-CI](https://github.com/pykit3/k3wsjobd/actions/workflows/python-package.yml/badge.svg)](https://github.com/pykit3/k3wsjobd/actions/workflows/python-package.yml)\n[![Documentation Status](https://readthedocs.org/projects/k3wsjobd/badge/?version=stable)](https://k3wsjobd.readthedocs.io/en/stable/?badge=stable)\n[![Package](https://img.shields.io/pypi/pyversions/k3wsjobd)](https://pypi.org/project/k3wsjobd)\n\nThis 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.\n\nk3wsjobd is a component of [pykit3] project: a python3 toolkit set.\n\n\nThis module is a gevent based websocket server. When the server receives a job description from a client,\nit runs that job asynchronously in a thread, and reports the progress back to the client periodically.\n\n\n\n\n# Install\n\n```\npip install k3wsjobd\n```\n\n# Synopsis\n\n```python\n\nfrom geventwebsocket import Resource, WebSocketServer\nimport k3wsjobd\nfrom k3wsjobd import logging\n\n\ndef run():\n    k3wsjobd.run(ip='127.0.0.1', port=33445)\n\n\nif __name__ == \"__main__\":\n    logger = logging.getLogger()\n    logger.setLevel(logging.INFO)\n\n    file_handler = logging.FileHandler('wsjobd.log')\n    formatter = logging.Formatter('[%(asctime)s, %(levelname)s] %(message)s')\n    file_handler.setFormatter(formatter)\n    logger.addHandler(file_handler)\n    run()\n\n```\n\n#   Author\n\nZhang Yanpo (张炎泼) \u003cdrdr.xp@gmail.com\u003e\n\n#   Copyright and License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Zhang Yanpo (张炎泼) \u003cdrdr.xp@gmail.com\u003e\n\n\n[pykit3]: https://github.com/pykit3","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpykit3%2Fk3wsjobd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpykit3%2Fk3wsjobd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpykit3%2Fk3wsjobd/lists"}