Skip to main content

A simple and flexible job queue for Python

Project description

Chancy

Chancy Logo

Chancy is a distributed task queue and scheduler for Python built on top of Postgres.

MIT License Codecov PyPI Version Python Version OS Platforms PostgreSQL Versions

Key Features

  • Robust Jobs - support for priorities, retries, timeouts, scheduling, global rate limits, memory limits, global uniqueness, error capture, cancellation, and more
  • Minimal dependencies - Core functionality requires only psycopg3 - which can be installed side-by-side with psycopg2.
  • Minimal infrastructure - No need to run a separate service like RabbitMQ or redis. Every feature is built on top of Postgres. No need for separate monitoring services like Flower or schedulers like Celery Beat - everything is built-in to the worker.
  • Plugins - Several plugins including a dashboard, workflows, cron jobs, and more.
  • Flexible - A single worker can handle many queues and mix threads, processes, sub-interpreters, and asyncio jobs, allowing powerful workflows that use the optimal concurrency model for each job. Queues can be created, deleted, modified, and paused at runtime.
  • async-first - Internals designed from the ground up to be async-first, but has minimal sync APIs for easy integration with existing non-async codebases.
  • Transactional enqueueing - Atomically enqueue jobs and the data they depend on in a single transaction.
  • Performant - Used in production environments to process millions of jobs per day.
  • Portable - Supports Linux, OS X, and Windows.
  • 100% open & free - no enterprise tiers or paid features.

Documentation

Check out the getting-started guide and the API documentation at https://tkte.ch/chancy/.

Screenshots

Chancy comes with an optional dashboard that provides a basic look into the status of your queues:

Workflows Queue Details Jobs Job

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

chancy-0.25.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

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

chancy-0.25.0-py3-none-any.whl (515.0 kB view details)

Uploaded Python 3

File details

Details for the file chancy-0.25.0.tar.gz.

File metadata

  • Download URL: chancy-0.25.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.14

File hashes

Hashes for chancy-0.25.0.tar.gz
Algorithm Hash digest
SHA256 491e98cdfe091647611cdbdad64ccd565ddc3df0909d207d8ed802a3d58931d7
MD5 06a29c9e953fd3c7e428e48165770513
BLAKE2b-256 f05d943018921850dd3643742cefed765b0dcb8c1e7435b40b4c6d090092b2f9

See more details on using hashes here.

File details

Details for the file chancy-0.25.0-py3-none-any.whl.

File metadata

  • Download URL: chancy-0.25.0-py3-none-any.whl
  • Upload date:
  • Size: 515.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.14

File hashes

Hashes for chancy-0.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7c8098ca3abde96b4d29cc94508651f8bac75c2fdc7a3485269a1c1d8bb884
MD5 e9b1736d5b63431721f64c3dfecf9840
BLAKE2b-256 b1c899a814bbaee823dfbd7e97a9a7c4a6a190106e45d3a8cd44db157e627bf6

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