Skip to main content

climate-ref-celery

PyPI version Documentation Status License Python Version

This package provides Celery task generation and worker management for the Climate REF (Rapid Evaluation Framework).

The climate_ref_celery package provides a CLI tool(ref-celery) to start a worker instance for a diagnostics provider. This worker instance will listen for tasks related to a provider and execute them. The compute engine worker will then collect the results of these tasks and store them in the database. This allows for the REF to be run in a distributed manner, with multiple workers running on different machines with a centrally managed database.

Installation

pip install climate-ref-celery

Features

  • Distributed task execution for metrics providers
  • Worker management and monitoring
  • Automatic task routing and scheduling
  • Results collection and storage
  • Support for multiple worker instances

Usage

Starting a Worker

To start a worker instance for a specific metrics provider:

# Using the standalone CLI
ref-celery start-worker --package climate_ref_pmp

# Or using the main REF CLI
ref celery start-worker --package climate_ref_pmp

Configuration

Each worker instance may not share the same configuration as the orchestrator. This is because the worker may be running on a different machine with different resources available or directories.

Each worker instance requires access to a shared input data directory and the output directory. If the worker is deployed as a docker container these directories can be mounted as volumes.

Each worker instance can be configured independently. Required configurations include:

  • Shared input data directory
  • Output directory for results
  • Database connection settings

Documentation

For detailed documentation, please visit https://climate-ref.readthedocs.io/

Contributing

Contributions are welcome! Please see the main project's Contributing Guide for more information.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Metadata

Release files for climate-ref-celery 0.18.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for climate-ref-celery 0.18.2
File Size Uploaded
climate_ref_celery-0.18.2.tar.gz 24.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for climate-ref-celery 0.18.2
File Interpreter ABI Platform
climate_ref_celery-0.18.2-py3-none-any.whl Python 3 none any Details

Total release size: 48.6 kB

Release files / climate_ref_celery-0.18.2.tar.gz

Download URL climate_ref_celery-0.18.2.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
71c4931b7e2f8a4c3fdddd520d16d31c4db91c382aab48a9c3881d2d4dc127a0
BLAKE2b-256 checksum
How to use checksums
17a6832e47a26ce9d54f9ddacfe2a21da6adf96d390ec1c57f2405bd20579c23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / climate_ref_celery-0.18.2-py3-none-any.whl

Download URL climate_ref_celery-0.18.2-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2075f20b358b447949b23c01fee957e337d77b86f71d220093ec4703a2f8a37a
BLAKE2b-256 checksum
How to use checksums
5d49dcfae737d70e58dd4f01d24e925a2e9d5f6ba12f80c7553cb2d3403fbfb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.18.3

2 release files

This release

0.18.2 This release

2 release files

0.17.2

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.2

2 release files

0.14.6

2 release files

0.14.5

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.2

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.3

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page