Skip to main content

Lightweigt embedded topiqs (based on kafka ideas)

Project description

The sample:

from topiq import Message, Subscriber, Topic


class Worker:

    def __init__(self, message: Message):
        self.message = message

    async def run(self):
        id = self.message.as_int()
        ...


# Test subscriber
async def test_subscriber(self):
    subscriber = Subscriber(Topic('name'), Worker)
    await subscriber.send_int_message(1)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topiq-0.1.1b1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

topiq-0.1.1b1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file topiq-0.1.1b1.tar.gz.

File metadata

  • Download URL: topiq-0.1.1b1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for topiq-0.1.1b1.tar.gz
Algorithm Hash digest
SHA256 5d1ca28c8896e5b82905fd56eaaf44957b13198d47a083e46c5dc070326aee17
MD5 dcabf0bc6ee0f681bf1a86c410d34f0c
BLAKE2b-256 08b32071f90d90c526e9cfdd86a630ee2bbe7747df15e6a9734d044cf900491d

See more details on using hashes here.

File details

Details for the file topiq-0.1.1b1-py3-none-any.whl.

File metadata

  • Download URL: topiq-0.1.1b1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for topiq-0.1.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 92095a3b95c10cb9649cc0cb6bf1c92b2528362bae5a69f542cf813d312f3de9
MD5 a44042092db81c30f77f5bbfd362953f
BLAKE2b-256 bae86fc5aa6326769643f5056c594d473d8a5b2ea8fef6384b94a9e921827255

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page