Skip to main content

Call Queue

Call Queue provides a mixin class to store functions, methods, or any callable object with the associated arguments and keyword arguments.

Each Queuable object has a key, so queues can be separated by need.

It can be used directly:

#!/usr/bin/env python

from queueable import Queueable

Arthur = Queueable('human')

Trillian = Queuable('human')

Ford = Queuable('alien')

Zaphod = Queueable('alien')

def drink_tea(response):
        print "This stuff {}".format(response)

Arthur.queue(drink_tea, "tastes filthy") # Nothing happens

Ford.process_queue() # Nothing happens

Trillian.process_queue() # runs the queued drink_tea function

Metadata

Release files for CallQueue 0.1.0

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

Source distribution (sdist)

Source distribution for CallQueue 0.1.0
File Size Uploaded Provenance Actions
CallQueue-0.1.0.zip 3.5 kB Without provenance Details for CallQueue-0.1.0.zip

Release files / CallQueue-0.1.0.zip

Download URL CallQueue-0.1.0.zip
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ad9f560fe73e27c1c3063f123b8a551986a158b874e46e2380e62a8cf895e880
BLAKE2b-256 checksum
How to use checksums
8f2ae31484c229cb8701d9364de05175858eea35d8999bb95bd481804e872f81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for CallQueue 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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