custodian
A simple JIT job management framework in Python.
Decision gist · record as of 2026-08-14
Yes. Custodian is a mature, actively maintained framework (production-stable, last commit August 2026) with low install friction and no known vulnerabilities. It directly solves a real problem in computational science—graceful error recovery for long-running jobs—and is particularly valuable if you work with VASP, QChem, or similar scientific codes. The MIT license places no restrictions on use. Install if you need robust job management for high-throughput or long-duration computational workloads.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Optional dependencies (pymatgen) needed for VASP, NWChem, QChem, FEFF, Lobster, and CP2K error handlers.
- Low friction installation with only three runtime dependencies (monty, psutil, ruamel.yaml).
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both academic and commercial projects.
last release 2025-12-14 (243 days) · last repo commit 2026-08-03 · 183 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 123,282 downloads/mo, #11,916 on PyPI
Alternatives
Verify before relying
pip install custodian
from custodian import Custodian
from custodian.jobs import Job
# Create a job wrapper with error handlers
custodian = Custodian(handlers=[], jobs=[job_instance], max_errors=5)- Whether the plugin framework documentation clearly specifies how to develop custom error handlers and job workflows for non-standard applications.
- Performance characteristics and overhead when managing hundreds of thousands of jobs simultaneously.
- Compatibility and integration details with specific computational chemistry packages (VASP, QChem, NWChem, etc.).
What it is and what it does
Custodian is a Python framework designed to manage long-running computational jobs that may fail due to transient errors. It wraps job execution with pluggable error handlers that can detect failures, apply recovery strategies, and restart jobs with modified parameters—critical for high-throughput projects where even a 1% error rate becomes unmanageable at scale. The framework is particularly valuable for scientific computing workflows where individual jobs may run for days and occasional IO or system errors are inevitable.
The package comes with built-in error handlers and job management tools for Vienna Ab Initio Simulation Package (VASP), NwChem, QChem, FEFF, Lobster, and CP2K calculations, though the core framework is application-agnostic. It depends on monty, psutil, and ruamel.yaml for utilities, process monitoring, and YAML configuration handling. The plugin architecture allows developers to extend custodian for domain-specific workflows without modifying the core library.
Use it for
- Manage VASP or QChem calculations that may fail due to convergence or IO errors, automatically restarting with adjusted parameters.
- Wrap multi-day computational simulations to gracefully handle transient system errors and resume from checkpoints.
- Orchestrate high-throughput materials discovery or molecular dynamics campaigns where thousands of jobs run in parallel.
- Build custom error recovery workflows for scientific codes by implementing domain-specific error handlers via the plugin framework.
- Monitor and manage long-running batch jobs on HPC clusters with automatic failure detection and recovery.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Custodian is a mature, actively maintained framework (production-stable, last commit August 2026) with low install friction and no known vulnerabilities. It directly solves a real problem in computational science—graceful error recovery for long-running jobs—and is particularly valuable if you work with VASP, QChem, or similar scientific codes. The MIT license places no restrictions on use. Install if you need robust job management for high-throughput or long-duration computational workloads.
Install
custodian on PyPI
Before you install
Low friction installation with only three runtime dependencies (monty, psutil, ruamel.yaml). Active maintenance with recent commits and stable production status; last release 243 days ago.
Requires Python 3.10 or later. Optional dependencies (pymatgen) needed for VASP, NWChem, QChem, FEFF, Lobster, and CP2K error handlers.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both academic and commercial projects.
Quickstart
pip install custodian
from custodian import Custodian
from custodian.jobs import Job
# Create a job wrapper with error handlers
custodian = Custodian(handlers=[], jobs=[job_instance], max_errors=5)
Verify before relying
- Whether the plugin framework documentation clearly specifies how to develop custom error handlers and job workflows for non-standard applications.
- Performance characteristics and overhead when managing hundreds of thousands of jobs simultaneously.
- Compatibility and integration details with specific computational chemistry packages (VASP, QChem, NWChem, etc.).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesmontypsutilruamel.yaml |
| Maintenance | Actively maintained 243 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 123,282 / month, #11,916 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: ChemistryTopic :: Scientific/Engineering :: PhysicsTopic :: Software Development :: Libraries :: Python Modules |
Evidence: custodian-2025.12.14-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “job management framework python”
- custodianCustodian is a just-in-time job management framework that wraps…
- hydra-submitit-launcherIntegrates Hydra configuration framework with Submitit to submit…
- saqSAQ is an async job queue framework that runs background tasks using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also metaflow-checkpoint · jobflow · c7n · c7n-azure · c7n-org · c7n-mailer · rq · slurm-usage · timeloop · APScheduler