Skip to main content
============
hakka-py
============

.. image:: https://img.shields.io/pypi/v/hakka.svg
:target: https://pypi.python.org/pypi/hakka

.. image:: https://img.shields.io/travis/Himenon/hakka-py.svg
:target: https://travis-ci.org/Himenon/hakka-py

.. image:: https://readthedocs.org/projects/hakka-py/badge/?version=latest
:target: https://hakka-py.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https:/ /pyup.io/repos/github/Himenon/hakka-py/shield.svg
:target: https://pyup.io/repos/github/Himenon/hakka-py/
:alt: Updates


Small Task Queue

* Free software: MIT license
* Documentation: <https://hakka.readthedocs.io>.

Usage
=====

.. code-block:: bash

$ pip install hakka


**Worker**

.. code-block:: python

from hakka import Hakka

app = Hakka()

@app.watch('hello:msg')
def hello_msg(name=None, msg=None, **kwargs):
print("Hello {name}!, {msg}".format(name=name, msg=msg))

app.listen('localhost', 6379, 0, debug=True)

**Sender**

.. code-block:: python

from hakka import HakkaRedisClient

if __name__ == '__main__':
client = HakkaRedisClient()

message = {
"name": "hakka",
"reading": "books"
}
for i in range(10):
message.update({
"msg": "Hello World x {}!".format(i),
})
client.set_value('hello:msg', message)

.. code-block:: bash

$ redis-cli lpush hello:msg '{"name": "yourname", "msg": "Congratulation!"}'

How to Develop
==============

Using: Docker, docker-compose

.. code-block:: bash

$ docker-compose up
# start pytest-watch



=======
History
=======

0.1.0 (2018-02-23)
------------------

* First release on PyPI.


Metadata

Release files for hakka 0.2.1

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

Source distribution (sdist)

Source distribution for hakka 0.2.1
File Size Uploaded Provenance Actions
hakka-0.2.1.tar.gz 12.2 kB Without provenance Details for hakka-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hakka 0.2.1
File Interpreter ABI Platform Actions
hakka-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for hakka-0.2.1-py2.py3-none-any.whl

Total release size: 20.5 kB

Release files / hakka-0.2.1.tar.gz

Download URL hakka-0.2.1.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
78db4b343b6d2818c68bd8e3cbc4faf16c3585bc35ac3978b1d41a9256af0c88
BLAKE2b-256 checksum
How to use checksums
bfbbdd8af5240145d2f9ec7ac7ac84c588745869d1d0df3557cd10f3853cc654
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hakka-0.2.1-py2.py3-none-any.whl

Download URL hakka-0.2.1-py2.py3-none-any.whl
Size 8.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ebe5d409c44e338ffcb364bcdd069373c469032b09eff12ee0765dde85fcf5b7
BLAKE2b-256 checksum
How to use checksums
a0eca6f0bcfd3e06ed715490d74c15a2cb2bc0ed5ff342d77eb7ec717bd00ecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hakka 0.2.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.

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