Registry / devops / airflow-code-editor

airflow-code-editor

JSON →
library8.2.4pypypiunverified

An Apache Airflow plugin that provides a web-based code editor and file manager for managing DAGs and other files directly in the Airflow UI. Supports multiple file types, syntax highlighting, and various storage backends (local, S3, GCS). Current version is 8.2.3, compatible with Airflow 2.x and 3.x. Release cadence is irregular, with frequent bug fixes.

pip install airflow-code-editor
INSTALL
IMPORT
SIG · AIRFLOW-CODE-EDITO
A
airflow-code-editor
devopspythonv8.2.4
Install
3.5s avg
Import
Disk
31MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v8.2.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 32.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.5s · import 0.000s · 33MB
31MB installed
● package 31MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CodeEditorPlugin
from airflow_code_editor import CodeEditorPlugin
from airflow_code_editor import CodeEditorPlugin

Install the plugin and enable it via configuration. After restarting Airflow, navigate to the /code-editor/ endpoint.

from airflow import DAG from airflow_code_editor import CodeEditorPlugin # Register the plugin (in airflow.cfg or via environment variable) # export AIRFLOW__CORE__PLUGINS=airflow_code_editor # Restart Airflow services # The editor will be available at /code-editor/
Debug
Known issues
breakingUpgrading from v7.x to v8.x requires Airflow 3.0 compatibility. v8.x drops support for Airflow 1.x and 2.x.
fix
Ensure your Airflow version is >=3.0 before upgrading to v8.x. If using Airflow 2.x, stay on v7.x.
affects: v8.0.0 and later
gotchaThe plugin must be configured via environment variable or airflow.cfg before starting Airflow. It does not auto-register on pip install.
fix
Set AIRFLOW__CORE__PLUGINS=airflow_code_editor in your environment or add plugins = airflow_code_editor to the [core] section of airflow.cfg.
affects: all
deprecatedThe old import path from airflow.plugins is deprecated and will be removed. Use from airflow_code_editor import CodeEditorPlugin.
fix
Update all imports to use the new package path.
affects: v8.0.0+
gotchaWhen using S3/GCS mounts, ensure the Airflow worker has proper IAM permissions. The plugin does not warn on missing credentials.
fix
Verify cloud storage permissions before configuring mount paths.
affects: all
Upgrade
Version history
8.2.4latest on PyPI · released Jun 2, 2026
Audit
Dependencies
apache-airflowrequiredRuntime dependency; the plugin runs inside Airflow
Agent activity
53 hits · last 30 days
node
48
OpenAI (training)
1
Resources
airflow-code-editor — pip install airflow-code-editor · libregistry