flux-core
  • Building Releases
  • License and Support
  • Starting a Flux Instance
  • Interacting with Flux
  • Workflows
  • Flux Administrator's Guide
  • Troubleshooting Guide
  • Glossary
  • Manual Pages
  • Python API
    • Flux Python Basics
    • Flux Job Submission and Monitoring
    • Python Broker Modules
    • Writing a Python Scheduler
    • Complete API Reference
    • Flux Python Development
    • Indices and tables
  • Resources for Flux Developers
flux-core
  • Python API
  • View page source

Python API

Flux provides a rich Python interface. With few exceptions, any Flux interactions that are possible in C or on the command line are possible in Python as well via the flux package.

Contents:

  • Flux Python Basics
    • Importing the flux Python package
    • The Flux class
    • The Flux reactor
  • Flux Job Submission and Monitoring
    • Job submission
    • Job manipulation
    • Synchronous interface
    • Asynchronous interfaces
  • Python Broker Modules
    • Loading a Python module
    • The mod_main entry point
    • Using BrokerModule
    • Logging
    • Error handling
    • Module arguments
    • API reference
  • Writing a Python Scheduler
    • Minimal example
    • The resource pool
    • Alloc requests
    • Override points
    • Queue depth
    • Scheduling deferral
    • Forecast deferral
    • Module arguments
    • Logging
    • Statistics
    • Testing
    • Customizing the resource pool
    • The R.scheduling key
    • API reference
  • Complete API Reference
    • flux package
  • Flux Python Development
    • Development Environment
    • Linting
    • Writing Python Commands

Indices and tables

  • Index

  • Module Index

  • Search Page

Previous Next

© Copyright Copyright 2014 Lawrence Livermore National Security, LLC and Flux developers. SPDX-License-Identifier: LGPL-3.0.

Built with Sphinx using a theme provided by Read the Docs.