The Apache Airflow Task SDK includes interfaces for DAG authors and Task execution logic for Python.
To install the Task SDK, use pip:
pip install apache-airflow-task-sdk