Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ types & classes
Types & classes
1,126 in github.com/celery/celery
⨍
Functions
9,499
◇
Types & classes
1,126
↳
Endpoints
406
↓ 336 callers
Class
group
Creates a group of tasks to be executed in parallel. A group is lazy so you must call it to take action and evaluate the group. Note:
celery/canvas.py:1775
↓ 224 callers
Class
chain
Chain tasks together. Each tasks follows one another, by being applied as a callback of the previous task. Note: If called with
celery/canvas.py:1600
↓ 79 callers
Class
DatabaseBackend
The database result backend.
celery/backends/database/__init__.py:52
↓ 68 callers
Class
Queue
Queue that never caches declaration.
celery/backends/rpc.py:180
↓ 61 callers
Class
Context
Task request variables (Task.request).
celery/app/task.py:98
↓ 57 callers
Class
X
t/unit/worker/test_loops.py:35
↓ 46 callers
Class
BaseBackend
Base (synchronous) result backend.
celery/backends/base.py:1166
↓ 45 callers
Class
ImproperlyConfigured
Celery is somehow improperly configured.
celery/exceptions.py:212
↓ 39 callers
Class
mScheduler
t/unit/app/test_beat.py:138
↓ 38 callers
Class
_chain
celery/canvas.py:1102
↓ 36 callers
Class
ElasticsearchBackend
Elasticsearch Backend. Raises: celery.exceptions.ImproperlyConfigured: if module :pypi:`elasticsearch` is not available.
celery/backends/elasticsearch.py:30
↓ 33 callers
Class
Celery
Celery application. Arguments: main (str): Name of the main module if running as `__main__`. This is used as the prefix for a
celery/app/base.py:376
↓ 32 callers
Class
CacheBackend
Cache result backend.
celery/backends/cache.py:194
↓ 32 callers
Class
LimitedSet
Kind-of Set (or priority queue) with limitations. Good for when you need to test for membership (`a in set`), but the set should not grow unb
celery/utils/collections.py:458
↓ 30 callers
Class
GCSBackend
Google Cloud Storage task result backend. Uses Firestore for chord ref count.
celery/backends/gcs.py:161
↓ 29 callers
Class
schedule
Schedule for periodic task. Arguments: run_every (float, ~datetime.timedelta): Time interval. relative (bool): If set to True th
celery/schedules.py:130
↓ 28 callers
Class
Queues
Queue name⇒ declaration mapping. Arguments: queues (Iterable): Initial list/tuple or dict of queues. create_missing (bool): By de
celery/app/amqp.py:74
↓ 28 callers
Class
State
Records clusters state.
celery/events/state.py:398
↓ 27 callers
Class
Proxy
Proxy to another object.
celery/local.py:52
↓ 24 callers
Class
Consumer
t/unit/worker/test_control.py:36
↓ 23 callers
Class
Bunch
Object that enables you to modify attributes.
celery/utils/objects.py:8
↓ 23 callers
Class
ConnectionError
t/unit/backends/test_redis.py:36
↓ 23 callers
Class
Pidfile
Pidfile. This is the type returned by :func:`create_pidlock`. See Also: Best practice is to not use this directly but rather use
celery/platforms.py:134
↓ 22 callers
Class
CouchbaseBackend
Couchbase backend. Raises: celery.exceptions.ImproperlyConfigured: if module :pypi:`couchbase` is not available.
celery/backends/couchbase.py:34
↓ 22 callers
Class
CpuBudget
Result of :func:`cpu_budget`.
celery/utils/sysinfo.py:173
↓ 22 callers
Class
DelayedDelivery
Bootstep that sets up native delayed delivery functionality. This component handles the setup and configuration of native delayed delivery fo
celery/worker/consumer/delayed_delivery.py:39
↓ 21 callers
Class
Request
A request for task execution.
celery/worker/request.py:68
↓ 21 callers
Class
Tasks
Bootstep starting the task message consumer.
celery/worker/consumer/tasks.py:20
↓ 20 callers
Class
AzureBlockBlobBackend
Azure Storage Block Blob backend for Celery.
celery/backends/azureblockblob.py:25
↓ 20 callers
Class
BasePool
Task pool.
celery/concurrency/base.py:47
↓ 20 callers
Class
C
t/unit/worker/test_request.py:75
↓ 19 callers
Class
BufferMap
Map of buffers. Used by ``celery.backends.base.BaseBackend._pending_messages`` to hold result messages not yet consumed by the async result p
celery/utils/collections.py:828
↓ 19 callers
Class
SessionManager
Manage SQLAlchemy sessions.
celery/backends/database/session.py:32
↓ 19 callers
Class
TaskPool
t/unit/concurrency/test_prefork.py:336
↓ 17 callers
Class
FilesystemBackend
File-system result backend. Arguments: url (str): URL to the directory we should use open (Callable): open function to use when
celery/backends/filesystem.py:25
↓ 17 callers
Class
Gossip
Bootstep consuming events from other workers. This keeps the logical clock value up to date.
celery/worker/consumer/gossip.py:23
↓ 17 callers
Class
crontab
Crontab schedule. A Crontab can be used as the ``run_every`` value of a periodic task entry to add :manpage:`crontab(5)`-like scheduling.
celery/schedules.py:354
↓ 16 callers
Class
ArgModel
t/unit/app/test_app.py:853
↓ 16 callers
Class
MongoBackend
MongoDB result backend. Raises: celery.exceptions.ImproperlyConfigured: if module :pypi:`pymongo` is not available.
celery/backends/mongodb.py:40
↓ 16 callers
Class
Reject
A task can raise this if it wants to reject/re-queue the message.
celery/exceptions.py:200
↓ 15 callers
Class
AttributeDict
Dict subclass with attribute access.
celery/utils/collections.py:121
↓ 14 callers
Class
crontab_parser
Parser for Crontab expressions. Any expression of the form 'groups' (see BNF grammar below) is accepted and expanded to a set of numbers.
celery/schedules.py:227
↓ 13 callers
Class
EagerResult
Result that we know has already been executed.
celery/result.py:1046
↓ 13 callers
Class
Hub
Worker starts the event loop.
celery/worker/components.py:56
↓ 13 callers
Class
Messagebuffer
A buffer of pending messages.
celery/utils/collections.py:755
↓ 13 callers
Class
solar
Solar event. A solar event can be used as the ``run_every`` value of a periodic task entry to schedule based on certain solar events. No
celery/schedules.py:752
↓ 12 callers
Class
S3Backend
An S3 task result store. Raises: celery.exceptions.ImproperlyConfigured: if module :pypi:`boto3` is not available,
celery/backends/s3.py:20
↓ 11 callers
Class
AsyncResult
Query task state. Arguments: id (str): See :attr:`id`. backend (Backend): See :attr:`backend`.
celery/result.py:70
↓ 11 callers
Class
Certificate
X.509 certificate.
celery/security/certificate.py:31
↓ 11 callers
Class
Retry
The task is to be retried later.
celery/exceptions.py:151
↓ 11 callers
Class
Worker
Worker State.
celery/events/state.py:149
↓ 10 callers
Class
Callable
t/unit/utils/test_dispatcher.py:34
↓ 10 callers
Class
ConfigurationView
A view over an applications configuration dictionaries. Custom (but older) version of :class:`collections.ChainMap`. If the key does not exi
celery/utils/collections.py:358
↓ 10 callers
Class
CouchBackend
CouchDB backend. Raises: celery.exceptions.ImproperlyConfigured: if module :pypi:`pycouchdb` is not available.
celery/backends/couchdb.py:21
↓ 10 callers
Class
NamespacedOptionParser
celery/apps/multi.py:70
↓ 10 callers
Class
SecurityError
Security related exception.
celery/exceptions.py:216
↓ 10 callers
Class
Signature
Task Signature. Class that wraps the arguments and execution options for a single task invocation. Used as the parts in a :class:`group`
celery/canvas.py:386
↓ 10 callers
Class
TimeoutError
The operation timed out.
celery/exceptions.py:244
↓ 9 callers
Class
ChordError
A task part of the chord raised an exception.
celery/exceptions.py:265
↓ 9 callers
Class
CustomStampingVisitor
t/integration/test_canvas.py:4250
↓ 9 callers
Class
MockProducer
t/unit/events/test_events.py:13
↓ 8 callers
Class
CustomStampingVisitor
t/unit/tasks/test_stamping.py:664
↓ 8 callers
Class
DictAttribute
Dict interface to attributes. `obj[k] -> obj.k` `obj[k] = val -> obj.k = val`
celery/utils/collections.py:125
↓ 8 callers
Class
DjangoFixup
Fixup installed when using Django.
celery/fixups/django.py:76
↓ 8 callers
Class
ExpectedException
Sentinel exception for tests.
t/integration/tasks.py:426
↓ 8 callers
Class
FakeCassandraTable
Stand-in for ``Session.execute`` that keeps the rows it is given. The real driver hands a blob column back as ``bytes``, so the values a writ
t/unit/backends/test_cassandra.py:21
↓ 8 callers
Class
KVBackend
t/unit/backends/test_base.py:477
↓ 8 callers
Class
MockAsyncResultSuccess
t/unit/tasks/test_result.py:720
↓ 8 callers
Class
Pool
Bootstep managing the worker pool. Describes how to initialize the worker pool, and starts and stops the pool during worker start-up/shutdown
celery/worker/components.py:101
↓ 8 callers
Class
ResultSet
A collection of results. Arguments: results (Sequence[AsyncResult]): List of result instances.
celery/result.py:581
↓ 8 callers
Class
SimpleReq
t/unit/worker/test_state.py:194
↓ 8 callers
Class
Task
Task State.
celery/events/state.py:243
↓ 8 callers
Class
TaskPool
Eventlet Task Pool.
celery/concurrency/eventlet.py:88
↓ 8 callers
Class
ev_snapshot
t/unit/events/test_state.py:141
↓ 8 callers
Class
mocked_schedule
t/unit/app/test_beat.py:164
↓ 7 callers
Class
ChainMap
Key lookup on a sequence of maps.
celery/utils/collections.py:202
↓ 7 callers
Class
ColorFormatter
Logging formatter that adds colors based on severity.
celery/utils/log.py:123
↓ 7 callers
Class
DynamoDBBackend
AWS DynamoDB result backend. Raises: celery.exceptions.ImproperlyConfigured: if module :pypi:`boto3` is not available.
celery/backends/dynamodb.py:29
↓ 7 callers
Class
FallbackContext
Context workaround. The built-in ``@contextmanager`` utility does not work well when wrapping other contexts, as the traceback is wrong when
celery/utils/objects.py:47
↓ 7 callers
Class
Heart
Timer sending heartbeats at regular intervals. Arguments: timer (kombu.asynchronous.timer.Timer): Timer to use. eventer (celery.e
celery/worker/heartbeat.py:14
↓ 7 callers
Class
InvalidTaskError
The task has invalid data or ain't properly constructed.
celery/exceptions.py:261
↓ 7 callers
Class
KeyValueStoreBackend
Result backend base class for key/value stores.
celery/backends/base.py:1508
↓ 7 callers
Class
TaskPool
GEvent Pool.
celery/concurrency/gevent.py:85
↓ 7 callers
Class
X
t/unit/utils/test_local.py:59
↓ 7 callers
Class
colored
Terminal colored text. Example: >>> c = colored(enabled=True) >>> print(str(c.red('the quick '), c.blue('brown ', c.bold('fox '))
celery/utils/term.py:36
↓ 6 callers
Class
ArangoDbBackend
ArangoDb backend. Sample url "arangodb://username:password@host:port/database/collection" *arangodb_backend_settings* is where the settin
celery/backends/arangodb.py:22
↓ 6 callers
Class
DisabledBackend
Dummy result backend.
celery/backends/base.py:1512
↓ 6 callers
Class
MonitoringIdStampingVisitor
examples/stamping/visitors.py:15
↓ 6 callers
Class
Node
Represents a node in a cluster.
celery/apps/multi.py:122
↓ 6 callers
Class
PipeReader
Stand-in for ``proc.outq._reader`` backed by a real pipe fd. ``poll`` reports real readiness so the test sees exactly what ``_flush_outqueue`
t/unit/concurrency/test_prefork.py:66
↓ 6 callers
Class
PrivateKey
Represents a private key.
celery/security/key.py:12
↓ 6 callers
Class
RPCBackend
Base class for the RPC result backend.
celery/backends/rpc.py:154
↓ 6 callers
Class
Signal
Create new signal. Keyword Arguments: providing_args (List): A list of the arguments this signal can pass along in a :meth:`s
celery/utils/dispatch/signal.py:75
↓ 6 callers
Class
State
Migration progress state.
celery/contrib/migrate.py:31
↓ 6 callers
Class
Timer
Timer thread. Note: This is only used for transports not supporting AsyncIO.
celery/utils/timer2.py:24
↓ 6 callers
Class
WhateverIO
StringIO that takes bytes or str.
celery/utils/text.py:199
↓ 6 callers
Class
WorkerShutdown
Signals that the worker should perform a warm shutdown.
celery/exceptions.py:284
↓ 6 callers
Class
WorkerTerminate
Signals that the worker should terminate immediately.
celery/exceptions.py:277
↓ 5 callers
Class
Audit
celery/bin/logtool.py:43
↓ 5 callers
Class
Cluster
Represent a cluster of workers.
celery/apps/multi.py:399
next →
1–100 of 1,126, ranked by callers