Skip to main content

In-memory async queue with retry & backoff. Task processing for AI agents. Perfect for AI agents and LLM applications.

Project description

pytaskqueue

In-memory async queue

Installation

pip install pytaskqueue

💡 Usage Examples

Basic Operations

from pylib_taskqueue import TaskQueue

# Create task queue
queue = TaskQueue()
queue.enqueue(task_function, args=[1, 2, 3])
queue.process()

AI/ML Use Cases

from pylib_taskqueue import TaskQueue

# Queue ML prediction tasks
queue.enqueue(predict_task, data=data_point)
queue.enqueue(train_task, data=training_batch)

📚 API Reference

See package documentation for complete API reference.

🤖 AI Agent Friendly

This package is optimized for AI agents and code generation tools:

  • Clear function names and signatures
  • Comprehensive docstrings with examples
  • Type hints for better IDE support
  • Common use cases documented
  • Zero dependencies for reliability

License

MIT

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

pylib_taskqueue-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylib_taskqueue-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file pylib_taskqueue-0.1.0.tar.gz.

File metadata

  • Download URL: pylib_taskqueue-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pylib_taskqueue-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e860b3db59161b42b1524aa9c12da44b86213f5bf2ab0f7d34c87ee0e9221805
MD5 88417b2f248695a176c288ee88a0a448
BLAKE2b-256 0e2ead28402772e298d7bf0fe2bd5fa5a8cc80004910ab761ac20dd27273ba39

See more details on using hashes here.

File details

Details for the file pylib_taskqueue-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pylib_taskqueue-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1670fe02ecff8e64aacb43a5399af2cb571a459b635bd36384e0de56c1807759
MD5 c9f4dc5a4dd6b0888539b78868d964ff
BLAKE2b-256 e4aff464e66683972ead41d4ac5a2aef69ea59a6cadf9daef57d3a9948cc182b

See more details on using hashes here.

Supported by

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