Chancy API¶
Subpackages¶
Submodules¶
- chancy.app module
Chancy
Chancy.Executor
Chancy.cancel_job()
Chancy.declare()
Chancy.declare_ex()
Chancy.delete_queue()
Chancy.dsn
Chancy.get_all_queues()
Chancy.get_all_workers()
Chancy.get_job()
Chancy.get_queue()
Chancy.is_up_to_date()
Chancy.log
Chancy.max_connection_pool_size
Chancy.migrate()
Chancy.min_connection_pool_size
Chancy.notifications
Chancy.notify()
Chancy.plugins
Chancy.poll_reconnect_timeout
Chancy.pool
Chancy.prefix
Chancy.push()
Chancy.push_many()
Chancy.push_many_ex()
Chancy.sync_notify()
Chancy.sync_pool
Chancy.sync_push()
Chancy.sync_push_many()
Chancy.sync_push_many_ex()
Chancy.wait_for_job()
setup_default_logger()
- chancy.job module
ErrorT
IsAJob
Job
Job.from_func()
Job.func
Job.kwargs
Job.limits
Job.max_attempts
Job.meta
Job.pack()
Job.priority
Job.queue
Job.scheduled_at
Job.unique_key
Job.unpack()
Job.with_kwargs()
Job.with_limits()
Job.with_max_attempts()
Job.with_meta()
Job.with_priority()
Job.with_queue()
Job.with_scheduled_at()
Job.with_unique_key()
Limit
QueuedJob
Reference
job()
- chancy.queue module
- chancy.worker module
Worker
Worker.announce_worker()
Worker.chancy
Worker.fetch_jobs()
Worker.heartbeat_poll_interval
Worker.heartbeat_timeout
Worker.hub
Worker.is_leader
Worker.manager
Worker.on_signal()
Worker.outgoing
Worker.queue_change_poll_interval
Worker.queue_update()
Worker.register_signal_handlers
Worker.send_outgoing_interval
Worker.shutdown_event
Worker.shutdown_timeout
Worker.start()
Worker.stop()
Worker.wait_for_shutdown()
Worker.worker_id
Worker.worker_tags()
- chancy.plugin module
Plugin
Plugin.api_plugin()
Plugin.cleanup()
Plugin.get_scope()
Plugin.migrate()
Plugin.migrate_key()
Plugin.migrate_package()
Plugin.migrator()
Plugin.on_job_completed()
Plugin.on_job_starting()
Plugin.on_worker_started()
Plugin.run()
Plugin.sleep()
Plugin.wait_for_leader()
Plugin.wake_up()
Plugin.wakeup_signal
PluginScope
- chancy.migrate module
- chancy.hub module
- chancy.plugins.rule module
- chancy.utils module