{"id":16302806,"url":"https://github.com/himenon/hakka-py","last_synced_at":"2026-05-15T23:08:19.061Z","repository":{"id":62568887,"uuid":"122350209","full_name":"Himenon/hakka-py","owner":"Himenon","description":"Container Oriented Worker","archived":false,"fork":false,"pushed_at":"2020-07-04T06:56:27.000Z","size":43,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T19:30:48.784Z","etag":null,"topics":["asynctask","redis","taskqueue","worker"],"latest_commit_sha":null,"homepage":"","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/Himenon.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-21T14:57:35.000Z","updated_at":"2020-07-04T06:56:10.000Z","dependencies_parsed_at":"2022-11-03T16:47:07.725Z","dependency_job_id":null,"html_url":"https://github.com/Himenon/hakka-py","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fhakka-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fhakka-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fhakka-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himenon%2Fhakka-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Himenon","download_url":"https://codeload.github.com/Himenon/hakka-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166945,"owners_count":21058480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["asynctask","redis","taskqueue","worker"],"created_at":"2024-10-10T20:59:00.534Z","updated_at":"2026-05-15T23:08:19.014Z","avatar_url":"https://github.com/Himenon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"============\nhakka-py\n============\n\n.. image:: https://img.shields.io/pypi/v/hakka.svg\n        :target: https://pypi.python.org/pypi/hakka\n\n.. image:: https://img.shields.io/travis/Himenon/hakka-py.svg\n        :target: https://travis-ci.org/Himenon/hakka-py\n\n.. image:: https://readthedocs.org/projects/hakka-py/badge/?version=latest\n        :target: https://hakka-py.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https:/  /pyup.io/repos/github/Himenon/hakka-py/shield.svg\n     :target: https://pyup.io/repos/github/Himenon/hakka-py/\n     :alt: Updates\n\n\nSmall Task Queue\n\n* Free software: MIT license\n* Documentation: \u003chttps://hakka.readthedocs.io\u003e.\n\nUsage\n=====\n\n.. code-block:: bash\n\n    $ pip install hakka\n\n\n**Worker**\n\n.. code-block:: python\n\n    from hakka import Hakka\n\n    app = Hakka()\n\n    @app.watch('hello:msg')\n    def hello_msg(name=None, msg=None, **kwargs):\n        print(\"Hello {name}!, {msg}\".format(name=name, msg=msg))\n\n    app.listen('localhost', 6379, 0, debug=True)\n\n**Sender**\n\n.. code-block:: python\n\n    from hakka import HakkaRedisClient\n\n    if __name__ == '__main__':\n        client = HakkaRedisClient()\n\n        message = {\n            \"name\": \"hakka\",\n            \"reading\": \"books\"\n        }\n        for i in range(10):\n            message.update({\n                \"msg\": \"Hello World x {}!\".format(i),\n            })\n            client.set_value('hello:msg', message)\n\n.. code-block:: bash\n\n    $ redis-cli lpush hello:msg '{\"name\": \"yourname\", \"msg\": \"Congratulation!\"}'\n\nHow to Develop\n==============\n\nUsing: Docker, docker-compose\n\n.. code-block:: bash\n\n    $ docker-compose up\n    # start pytest-watch\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimenon%2Fhakka-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimenon%2Fhakka-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimenon%2Fhakka-py/lists"}