Skip to main content

Pluging for Airflow to connect to slurm clusters

Project description

PyPI PyPI - Downloads

Slurm Executor

The Slurm executor is based on work done by Hanno Holties in https://git.astron.nl/eosc/slurmexecutorplugin, this one extends the use of parameters to be passed to the Slurm cluster so one can control the partition, the account, and other details about the jobs submission.

It was changed from srun to sbatch as a default command to interact with the cluster, so multiple jobs can be submitted at a time.

To use the plugin after installing the package change the AIRFLOW configuration file as such:

# The executor class that airflow should use. Choices include
# SequentialExecutor, LocalExecutor, CeleryExecutor, DaskExecutor, KubernetesExecutor
executor = airflow_slurm_executor.SlurmExecutor

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

airflow_slurm_executor-0.0.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

airflow_slurm_executor-0.0.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file airflow_slurm_executor-0.0.1.tar.gz.

File metadata

  • Download URL: airflow_slurm_executor-0.0.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for airflow_slurm_executor-0.0.1.tar.gz
Algorithm Hash digest
SHA256 882cf96e65e2b96e23de4a578773c5399127e8f2ceaa669c7b0eb7792ac7e99f
MD5 96c45e6b6608749c35c9b7d44cf6fb03
BLAKE2b-256 1ffa980a17bfffa6d5579f4d0a36620710a684a3baa0351749b36aa47c44c1b0

See more details on using hashes here.

File details

Details for the file airflow_slurm_executor-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_slurm_executor-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1bf4dd9fd5a2e2c06682dabf616731db084b16eacb2245b5deb8bb6a3bb3601d
MD5 d41652584c93ec115d821bf3d94ba2fa
BLAKE2b-256 d6c953a31629f47504a7eeebfc7aa877751a769bfa5d425fd68ac19bf31ce19f

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