{"id":23034,"library":"airflow-code-editor","title":"Apache Airflow Code Editor","description":"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.","status":"active","version":"8.2.3","language":"python","source_language":"en","source_url":"https://github.com/andreax79/airflow-code-editor","tags":["airflow","plugin","code-editor","file-manager"],"install":[{"cmd":"pip install airflow-code-editor","lang":"bash","label":"Basic install"}],"dependencies":[{"reason":"Runtime dependency; the plugin runs inside Airflow","package":"apache-airflow","optional":false}],"imports":[{"note":"The plugin is a separate package, not part of core Airflow","wrong":"from airflow.plugins import CodeEditorPlugin","symbol":"CodeEditorPlugin","correct":"from airflow_code_editor import CodeEditorPlugin"},{"note":"The class is named CodeEditorPlugin","symbol":"AirflowCodeEditorPlugin","correct":"from airflow_code_editor import CodeEditorPlugin"}],"quickstart":{"code":"from airflow import DAG\nfrom airflow_code_editor import CodeEditorPlugin\n\n# Register the plugin (in airflow.cfg or via environment variable)\n# export AIRFLOW__CORE__PLUGINS=airflow_code_editor\n# Restart Airflow services\n\n# The editor will be available at /code-editor/","lang":"python","description":"Install the plugin and enable it via configuration. After restarting Airflow, navigate to the /code-editor/ endpoint."},"warnings":[{"fix":"Ensure your Airflow version is >=3.0 before upgrading to v8.x. If using Airflow 2.x, stay on v7.x.","message":"Upgrading from v7.x to v8.x requires Airflow 3.0 compatibility. v8.x drops support for Airflow 1.x and 2.x.","severity":"breaking","affected_versions":"v8.0.0 and later"},{"fix":"Set AIRFLOW__CORE__PLUGINS=airflow_code_editor in your environment or add plugins = airflow_code_editor to the [core] section of airflow.cfg.","message":"The plugin must be configured via environment variable or airflow.cfg before starting Airflow. It does not auto-register on pip install.","severity":"gotcha","affected_versions":"all"},{"fix":"Update all imports to use the new package path.","message":"The old import path from airflow.plugins is deprecated and will be removed. Use from airflow_code_editor import CodeEditorPlugin.","severity":"deprecated","affected_versions":"v8.0.0+"},{"fix":"Verify cloud storage permissions before configuring mount paths.","message":"When using S3/GCS mounts, ensure the Airflow worker has proper IAM permissions. The plugin does not warn on missing credentials.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run pip install airflow-code-editor in the same environment where Airflow is installed.","cause":"Package not installed or not in the same Python environment as Airflow.","error":"ModuleNotFoundError: No module named 'airflow_code_editor'"},{"fix":"Set AIRFLOW__CORE__PLUGINS=airflow_code_editor and restart Airflow webserver and scheduler.","cause":"Plugin not configured in airflow.cfg or environment variable.","error":"Airflow reports 'airflow_code_editor' not found in plugins"},{"fix":"Change import to: from airflow_code_editor import CodeEditorPlugin","cause":"Using the old import path which is removed in v8.x.","error":"ImportError: cannot import name 'CodeEditorPlugin' from 'airflow.plugins'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}