Skip to main content

Simple Task Producer

Project description

Simple Task Producer

Getting Started

When you import fast_queue, it does some Module Wrapper and Import Hook magic to create a mock that will schedule the task on your broker of choice in a way that celery can consume.

from fast_queue.myapp.mail import send_mail
send_mail('fast@queue.rocks')

Goal

Decouple all your celery dependencies from your web project. With fast-queue You can separate your async task impl from your web project. Nowadays, most projects that relies on Celery is great monolithic with both web code and the async task code. With Fast-Queue, you can break them apart in two packages without any cross dependency.

You can benefit

Development benefits: - Web project does not have dependency of the your async tasks. - Async tasks, can evolve apart from the web project, as long as the signature does not change.

Deployment benefits: - Separated and independent deploys for both web and async task project - Smaller web project size, and for the ones that use serveless, project size should be always a concern.

Installing

Just pip install it!

pip install fast-queue

License

This project is licensed under MIT license

For Early Adopters

Although I’m already using it on production environment, there are some improvements and bugs ahead that must be fixed.

  • Easier to configure without monkey patching stuff

  • Support for Python 3

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

fast_queue-0.0.3-py2.7.egg (3.2 kB view details)

Uploaded Egg

fast_queue-0.0.3-py2-none-any.whl (4.3 kB view details)

Uploaded Python 2

File details

Details for the file fast_queue-0.0.3-py2.7.egg.

File metadata

File hashes

Hashes for fast_queue-0.0.3-py2.7.egg
Algorithm Hash digest
SHA256 1dbddacf17f62a1420d2f12eb8a63b5f913a2f3ae2d8172bb7a82a00ec4df307
MD5 b9be86f211b0bc3e6278b3a759ad5ad8
BLAKE2b-256 76a42db20bb301acb8cdebfde3555235dc7a333f70639f7015df7c12f0b9c800

See more details on using hashes here.

File details

Details for the file fast_queue-0.0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for fast_queue-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 ec36fa6a3764da538ac2b3dc689c0840852c44b21339e13ba3699f2f1890675b
MD5 e8236ddcbd6d3f54835ba27c9282e331
BLAKE2b-256 1f2cd50ae28696b825c74011a576df051cca96ae9f4308fdf46b54c193687f3f

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