{
  "id": "task_libraries:etl/python",
  "path": "/exapedia/python-etl-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python ETL libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python ETL libraries extract data from source systems, transform it, and load it into a warehouse or data lake. A loader tracks which records it has already moved and updates the destination schema when the source adds fields. These libraries let data teams keep warehouses and analytics tables in sync with production systems."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python ETL libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pyspark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F124"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dagster",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#prefect",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dlt",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#apache-airflow",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#apache-beam",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#kedro",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#luigi",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#pyspark",
          "label": [
            {
              "t": "text",
              "text": "PySpark"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F125"
        },
        {
          "t": "text",
          "text": ", a count that covers all Spark work."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Recurring schedules",
            "Automatic work retries"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pyspark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F124"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dagster",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#prefect",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dlt",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#apache-airflow",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#apache-beam",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#kedro",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#luigi",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "pyspark",
          "name": [
            {
              "t": "fact",
              "fact": "F124"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/apache/spark"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyspark"
            },
            {
              "label": "Docs",
              "href": "https://github.com/apache/spark/tree/master/python"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F131"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/apache/spark/tree/master/python",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F124"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/uber/petastorm",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def configure_spark(spark_session_builder, args):\n    \"\"\"Applies configuration to a ``SparkSession.Builder`` object.\n\n    Call :func:`add_configure_spark_arguments` to add command line arguments to the argparser object.\n    This function returns the ``SparkSession.Builder`` to allow chaining additional calls to the ``Builder``.\n\n    >>> from pyspark.sql import SparkSession\n    >>>\n    >>> arg_parser = argparse.ArgumentParser()\n    >>> add_configure_spark_arguments(arg_parser)\n    >>> # ... more argparse arguments\n\n    >>> args = arg_parser.parse_args()\n    >>> spark = configure_spark(SparkSession.builder.appName('petastorm-copy'), args).getOrCreate()\n\n    :param spark_session_builder: An instance of the ``pyspark.sql.session.SparkSession.Builder`` object.\n    :param args: A value returned by ``argparser.ArgumentParser.parse_args()`` call.\n    :return: ``SparkSession.Builder`` object.\n    \"\"\"\n    if 'spark_session_config' not in args or 'master' not in args:\n        raise RuntimeError('--spark-session-config and/or --master were not found in parsed arguments. '\n                           'Call add_configure_spark_arguments() to add them.')\n\n    spark_session_config = _cli_spark_session_config_to_dict(args.spark_session_config)\n\n    for key, value in spark_session_config.items():\n        spark_session_builder.config(key, value)\n\n    if args.master:\n        spark_session_builder.master(args.master)\n\n    return spark_session_builder",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/uber/petastorm/blob/01ba9cb7da8d8a6937e177aee39e241e10569d29/petastorm/tools/spark_session_cli.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F141"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pyspark%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F124"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from pyspark.sql import SparkSession\n\nspark = SparkSession.builder.master('local[1]').appName('first-pipeline').getOrCreate()\nspark.createDataFrame([(1,)], ['value']).show()\nspark.stop()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://spark.apache.org/docs/4.3.0/sql-getting-started.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "sql-getting-started.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F129"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dagster",
          "name": [
            {
              "t": "fact",
              "fact": "F144"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/dagster-io/dagster"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/dagster"
            },
            {
              "label": "Docs",
              "href": "https://docs.dagster.io"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.dagster.io",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/project-dagster-university",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F161"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@dg.asset(\n    group_name=\"raw_files\",\n    kinds={\"python\"},\n)\ndef taxi_zones_file() -> dg.MaterializeResult:\n    \"\"\"The raw CSV file for the taxi zones dataset. Sourced from the NYC Open Data portal.\"\"\"\n    raw_taxi_zones = requests.get(\n        \"https://community-engineering-artifacts.s3.us-west-2.amazonaws.com/dagster-university/data/taxi_zones.csv\"\n    )\n\n    with open(\n        constants.TAXI_ZONES_FILE_PATH, \"wb\", transport_params=smart_open_config\n    ) as output_file:\n        output_file.write(raw_taxi_zones.content)\n\n    num_rows = len(pd.read_csv(BytesIO(raw_taxi_zones.content)))\n\n    return dg.MaterializeResult(\n        metadata={\"Number of records\": dg.MetadataValue.int(num_rows)}\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/project-dagster-university/blob/96d8c8cc0c64a54d8fd2cff231af063383ec290a/dagster_university/dagster_and_dbt/src/dagster_and_dbt/defs/assets/trips.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=dagster%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F144"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from dagster import asset, materialize\n\n@asset\ndef greeting():\n    return 'Hello'\n\nresult = materialize([greeting])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.dagster.io/api/dagster/assets",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F149"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "prefect",
          "name": [
            {
              "t": "fact",
              "fact": "F163"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/PrefectHQ/prefect"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/prefect"
            },
            {
              "label": "Docs",
              "href": "https://www.prefect.io/docs"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.prefect.io/docs",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F163"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/prefect-archive/prefect-recipes",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F180"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@flow(name=\"Update ABC Snowflake Table\", retries=2, retry_delay_seconds=900)\ndef abc_elt_flow(deptCode_list: List[int]) -> None:\n\n    \"\"\"Flow which\n    1. Calculates the last successful load of data into Snowflake in order\n    to set the correct start_time.\n    2. Extracts the data since the start_time from ABC API into a df.\n    3. If new data from ABC API, loads df into Snowflake table.\n\n    Args:\n        - deptCode_list: A list of dept IDs each referenced as a\n        deptCode.\n    \"\"\"\n\n    target_table = \"ABC_TABLE\"\n\n    start_tms = get_start_time(target_table)\n\n    df = extract_data_from_api(start_tms, deptCode_list)\n\n    if isinstance(df, DataFrame):\n\n        # clean column names for Snowflake\n        df.columns = [col.replace(\".\", \"_\").upper() for col in df.columns]\n\n        # create ddl\n        ddl = \"\".join([col + \" STRING, \" for col in df.columns])[:-2]\n\n        load_data_into_snowflake(df, target_table, ddl)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/prefect-archive/prefect-recipes/blob/ebc974b22430f8fceda609dd0d17663ab2008c01/flows-advanced/etl/elt-with-snowflake.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F179"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=prefect%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F163"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from prefect import task\n\n@task\ndef add_integers(a: int, b: int) -> int:\n    return a + b\n\nresult = add_integers(1, 2)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.prefect.io/v3/concepts/tasks",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F168"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dlt",
          "name": [
            {
              "t": "fact",
              "fact": "F182"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/dlt-hub/dlt"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/dlt"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/dlt/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/dlt/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F182"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/dagster",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _run(\n    self,\n    context: OpExecutionContext | AssetExecutionContext,\n    dlt_source: DltSource,\n    dlt_pipeline: Pipeline,\n    dagster_dlt_translator: DagsterDltTranslator,\n    **kwargs,\n) -> Iterator[DltEventType]:\n    \"\"\"Runs the dlt pipeline with subset support.\n\n    Args:\n        context (Union[OpExecutionContext, AssetExecutionContext]): Asset or op execution context\n        dlt_source (Optional[DltSource]): optional dlt source if resource is used from an `@op`\n        dlt_pipeline (Optional[Pipeline]): optional dlt pipeline if resource is used from an `@op`\n        dagster_dlt_translator (Optional[DagsterDltTranslator]): optional dlt translator if resource is used from an `@op`\n        **kwargs (dict[str, Any]): Keyword args passed to pipeline `run` method\n\n    Returns:\n        DltEventIterator[DltEventType]: An iterator of MaterializeResult or AssetMaterialization\n\n    \"\"\"\n    asset_key_dlt_source_resource_mapping = {\n        dagster_dlt_translator.get_asset_spec(\n            DltResourceTranslatorData(resource=dlt_source_resource, pipeline=dlt_pipeline)\n        ).key: dlt_source_resource\n        for dlt_source_resource in dlt_source.selected_resources.values()\n    }\n\n    # Filter sources by asset key sub-selection\n    if context.is_subset:\n        asset_key_dlt_source_resource_mapping = {\n            asset_key: asset_dlt_source_resource\n            for (\n                asset_key,\n                asset_dlt_source_resource,\n            ) in asset_key_dlt_source_resource_mapping.items()\n            if asset_key in context.selected_asset_keys\n        }\n        dlt_source = dlt_source.with_resources(\n            *[\n                dlt_source_resource.name\n                for dlt_source_resource in asset_key_dlt_source_resource_mapping.values()\n                if dlt_source_resource\n            ]\n        )\n\n    # Dlt keeps some local state that interferes with next runs.\n    # This is annoying when an asset fails and running a different one on the same pipeline\n    # would just pick up the failing job and fail again.\n    # When restore_from_destination is enabled (default), we can safely drop all local state\n    # because it will be restored from the destination.\n    # When restore_from_destination is disabled, we only drop pending packages to avoid\n    # wiping incremental loading cursors that can't be recovered from the destination.\n    if dlt_pipeline.config.restore_from_destination:\n        dlt_pipeline.drop()\n    else:\n        dlt_pipeline.drop_pending_packages()\n\n    load_info = dlt_pipeline.run(dlt_source, **kwargs)\n\n    load_info.raise_on_failed_jobs()\n\n    has_asset_def: bool = bool(context and context.has_assets_def)\n\n    for (\n        asset_key,\n        dlt_source_resource,\n    ) in asset_key_dlt_source_resource_mapping.items():\n        metadata = self.extract_resource_metadata(\n            context, dlt_source_resource, load_info, dlt_pipeline\n        )\n\n        if has_asset_def:\n            yield MaterializeResult(asset_key=asset_key, metadata=metadata)\n\n        else:\n            yield AssetMaterialization(asset_key=asset_key, metadata=metadata)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/dagster-io/dagster/blob/b0099d257d666c1c95e8079254060d2ab2caa6f3/python_modules/libraries/dagster-dlt/dagster_dlt/resource.py#L240-L316",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F197"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20dlt%20for%20source%20subset%20loads%2C%20multiline%20CSV%20ingestion%20and%20pipeline%20input%20validation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F182"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import dlt\n\npipeline = dlt.pipeline(destination='duckdb', dataset_name='first_load')\nload_info = pipeline.run([{'id': 1}], table_name='items')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://dlthub.com/docs/api_reference/dlt/pipeline/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F187"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "apache-airflow",
          "name": [
            {
              "t": "fact",
              "fact": "F200"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/apache/airflow"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/apache-airflow"
            },
            {
              "label": "Docs",
              "href": "https://airflow.apache.org/docs/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F207"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://airflow.apache.org/docs/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F200"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/astronomer/astronomer-cosmos",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def create_task_groups_based_on_folder(\n    dag: DAG,\n    node: DbtNode,\n    parent_task_group: TaskGroup | None,\n    task_groups: dict[str, TaskGroup],\n    use_hierarchical_naming: bool = False,\n) -> TaskGroup | None:\n    \"\"\"\n    Generate the parent task group for the given node based on the node's file path. If a TaskGroup is given, it will\n    be used as the parent group.\n\n    When ``use_hierarchical_naming`` is True, groups are cached by their cumulative folder path, so that folders\n    sharing a leaf name under different parents (e.g. ``staging/aurora`` and ``marts/aurora``) become distinct task\n    groups instead of collapsing into the first one created. When False (default), groups are cached by the bare\n    folder name, preserving the legacy behaviour — and the existing task-group ids that users may reference — at the\n    cost of collapsing same-named folders. See https://github.com/astronomer/astronomer-cosmos/pull/2824.\n    \"\"\"\n    task_group = None\n    # Use ``Path.parts`` (OS-agnostic) rather than ``str(path).split(\"/\")`` so folder grouping also\n    # works on Windows, where ``str(Path(...))`` uses backslash separators.\n    resource_file_path_parts = Path(node.original_file_path).parts[:-1]\n    cumulative_path = \"\"\n    for resource_file_path_part in resource_file_path_parts:\n        cumulative_path = f\"{cumulative_path}/{resource_file_path_part}\" if cumulative_path else resource_file_path_part\n        cache_key = cumulative_path if use_hierarchical_naming else resource_file_path_part\n        if cache_key in task_groups:\n            task_group = task_groups[cache_key]\n        else:\n            task_group = TaskGroup(dag=dag, group_id=resource_file_path_part, parent_group=parent_task_group)\n            task_groups[cache_key] = task_group\n        parent_task_group = task_group\n    return task_group",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/astronomer/astronomer-cosmos/blob/9bc1fad676f59aeaa629c390cfd27df639826c4a/cosmos/airflow/graph.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F216"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=apache-airflow%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F200"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from datetime import datetime\nfrom airflow.sdk import DAG\nfrom airflow.providers.standard.operators.empty import EmptyOperator\n\nwith DAG('first_pipeline', start_date=datetime(2024, 1, 1), schedule=None):\n    EmptyOperator(task_id='first_task')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/apache/airflow/blob/main/airflow-core/docs/core-concepts/dags.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "dags.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F205"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "apache-beam",
          "name": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/apache/beam"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/apache-beam"
            },
            {
              "label": "Docs",
              "href": "https://beam.apache.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F36"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://beam.apache.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def expand(\n    self,\n    pipeline: beam.Pipeline) -> beam.pvalue.PCollection[tf.train.Example]:\n  logging.info('Processing input csv data %s to TFExample.',\n               self._csv_pattern)\n\n  csv_files = fileio.glob(self._csv_pattern)\n  if not csv_files:\n    raise RuntimeError('Split pattern {} does not match any files.'.format(\n        self._csv_pattern))\n\n  column_names = io_utils.load_csv_column_names(csv_files[0])\n  for csv_file in csv_files[1:]:\n    if io_utils.load_csv_column_names(csv_file) != column_names:\n      raise RuntimeError(\n          'Files in same split {} have different header.'.format(\n              self._csv_pattern))\n\n  # Read each CSV file while maintaining order. This is done in order to group\n  # together multi-line string fields.\n  parsed_csv_lines = (\n      pipeline\n      | 'CreateFilenames' >> beam.Create(csv_files)\n      | 'ReadFromText' >> beam.ParDo(_ReadCsvRecordsFromTextFile())\n      | 'ParseCSVLine' >> beam.ParDo(csv_decoder.ParseCSVLine(delimiter=','))\n      | 'ExtractParsedCSVLines' >> beam.Keys())\n  column_infos = beam.pvalue.AsSingleton(\n      parsed_csv_lines\n      | 'InferColumnTypes' >> beam.CombineGlobally(\n          csv_decoder.ColumnTypeInferrer(column_names, skip_blank_lines=True))\n  )\n\n  return (parsed_csv_lines\n          |\n          'ToTFExample' >> beam.ParDo(_ParsedCsvToTfExample(), column_infos))\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfx/blob/d0064e2937ee3ba3854cd71f2a862588fd0f745d/tfx/components/example_gen/csv_example_gen/executor.py#L175-L209",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20apache-beam%20for%20source%20subset%20loads%2C%20multiline%20CSV%20ingestion%20and%20pipeline%20input%20validation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import apache_beam as beam\n\nwith beam.Pipeline() as pipeline:\n    pipeline | beam.Create([1, 2, 3]) | beam.Map(print)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://beam.apache.org/documentation/programming-guide/",
                  "label": [
                    {
                      "t": "text",
                      "text": "wordcount_minimal.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F224"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "kedro",
          "name": [
            {
              "t": "fact",
              "fact": "F237"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/kedro-org/kedro"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/kedro"
            },
            {
              "label": "Docs",
              "href": "https://docs.kedro.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.kedro.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F237"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Galileo-Galilei/kedro-mlflow",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F253"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _check_consistency(self) -> None:\n    inference_parameters = {\n        input for input in self.inference.inputs() if input.startswith(\"params:\")\n    }\n\n    free_inputs_set = (\n        self.inference.inputs()\n        - {self.input_name}\n        - self.all_outputs()\n        - self.inputs()\n        - inference_parameters  # it is allowed to pass parameters: they will be automatically persisted by the hook\n    )\n\n    if len(free_inputs_set) > 0:\n        input_set_txt = \"\\n     - \".join(free_inputs_set)\n        raise KedroMlflowPipelineMLError(\n            \"The following inputs are free for the inference pipeline:\\n\"\n            f\"    - {input_set_txt}.\"\n            \" \\nNo free input is allowed.\"\n            \" Please make sure that 'inference.inputs()' are all\"\n            \" in 'training.all_outputs() + training.inputs()'\"\n            \"except 'input_name' and parameters which starts with 'params:'.\"\n        )\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Galileo-Galilei/kedro-mlflow/blob/f4aa0a4d0aade5dc1824fa690f14877f3d2ed22d/kedro_mlflow/pipeline/pipeline_ml.py#L144-L166",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20kedro%20for%20source%20subset%20loads%2C%20multiline%20CSV%20ingestion%20and%20pipeline%20input%20validation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F237"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from kedro.pipeline import Pipeline, Node\n\npipeline = Pipeline([Node(len, 'items', 'count')])\nprint(pipeline.describe())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.kedro.org/en/stable/build/pipeline_introduction/",
                  "label": [
                    {
                      "t": "text",
                      "text": "pipeline_introduction.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F242"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "luigi",
          "name": [
            {
              "t": "fact",
              "fact": "F255"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/spotify/luigi"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/luigi"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/luigi/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F262"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/luigi/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F255"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F272"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/m3dev/gokart",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F272"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@staticmethod\ndef get_object_storage_target(path: str, format: Format) -> luigi.target.FileSystemTarget:\n    if path.startswith('s3://'):\n        try:\n            import boto3  # noqa: F401  # pyright: ignore[reportUnusedImport]\n        except ImportError:\n            raise ImportError('S3 support requires additional dependencies. Install them with: pip install gokart[s3]') from None\n\n        import luigi.contrib.s3\n\n        from gokart.s3_config import S3Config\n\n        return luigi.contrib.s3.S3Target(path, client=S3Config().get_s3_client(), format=format)\n    elif path.startswith('gs://'):\n        try:\n            import googleapiclient  # noqa: F401  # pyright: ignore[reportUnusedImport]\n        except ImportError:\n            raise ImportError('GCS support requires additional dependencies. Install them with: pip install gokart[gcs]') from None\n\n        import luigi.contrib.gcs\n\n        from gokart.gcs_config import GCSConfig\n\n        return luigi.contrib.gcs.GCSTarget(path, client=GCSConfig().get_gcs_client(), format=format)\n    else:\n        raise",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/m3dev/gokart/blob/1059892f291f20672c08bee0d7064d63c52ea18c/gokart/object_storage.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F271"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=luigi%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F255"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import luigi\n\ntarget = luigi.LocalTarget('output.txt')\nwith target.open('w') as output:\n    output.write('Hello\\n')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://luigi.readthedocs.io/en/stable/api/luigi.local_target.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F260"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python ETL library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#dlt",
          "label": [
            {
              "t": "text",
              "text": "dlt"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits loading API and database data into typed warehouse tables with incremental state. "
        },
        {
          "t": "link",
          "href": "#pyspark",
          "label": [
            {
              "t": "text",
              "text": "PySpark"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits transformations over data too large for one machine. "
        },
        {
          "t": "link",
          "href": "#dagster",
          "label": [
            {
              "t": "text",
              "text": "Dagster"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#prefect",
          "label": [
            {
              "t": "text",
              "text": "Prefect"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#apache-airflow",
          "label": [
            {
              "t": "text",
              "text": "Apache Airflow"
            }
          ]
        },
        {
          "t": "text",
          "text": " suit scheduling the pipeline steps."
        }
      ]
    },
    {
      "q": "What is PySpark?",
      "a": [
        {
          "t": "link",
          "href": "#pyspark",
          "label": [
            {
              "t": "text",
              "text": "PySpark"
            }
          ]
        },
        {
          "t": "text",
          "text": " is the Python API for Apache Spark, the distributed data processing engine."
        }
      ]
    },
    {
      "q": "What is Kedro?",
      "a": [
        {
          "t": "link",
          "href": "#kedro",
          "label": [
            {
              "t": "text",
              "text": "Kedro"
            }
          ]
        },
        {
          "t": "text",
          "text": " organizes reusable Python nodes, their dependencies, and data catalog entries into reproducible data and analytics pipelines."
        }
      ]
    },
    {
      "q": "What is dlt in Python?",
      "a": [
        {
          "t": "link",
          "href": "#dlt",
          "label": [
            {
              "t": "text",
              "text": "dlt"
            }
          ]
        },
        {
          "t": "text",
          "text": " is an open-source Python library that loads data into typed destination tables. It keeps incremental state and schema controls and needs no backend to run."
        }
      ]
    },
    {
      "q": "What is Luigi?",
      "a": [
        {
          "t": "link",
          "href": "#luigi",
          "label": [
            {
              "t": "text",
              "text": "Luigi"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Python package for workflow management, task scheduling, and dependency resolution."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, dlt",
      "display": "dlt",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, dlt",
      "display": "6.3M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, dlt",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, dlt",
      "display": "1.32.0, Oct 2026",
      "asOf": "2026-10-29"
    },
    "F5": {
      "label": "Package release date, dlt",
      "display": "Oct 2026",
      "asOf": "2026-10-29"
    },
    "F6": {
      "label": "Repository stars, dlt",
      "display": "6.1K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Incremental loads, dlt",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Parallel execution, dlt",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Data validation, dlt",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Output formats, dlt",
      "display": "CSV",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, dlt",
      "display": "pip install \"dlt[duckdb]\" pandas",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, dlt",
      "display": "Loads Python data into typed destination tables with incremental state and schema controls.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, dlt",
      "display": "Tracks incremental loading state",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, dlt",
      "display": "Use cursor fields and merge strategies to load new or changed records.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, dlt",
      "display": "Controls schema changes during loading",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, dlt",
      "display": "Evolve schemas or reject and discard data through explicit schema contracts.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, dlt",
      "display": "Replacing data can reset progress",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, dlt",
      "display": "The replace shorthand reloads data and resets the incremental cursor.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, dlt",
      "display": "Frozen contracts can block loads",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, dlt",
      "display": "Freeze mode raises an exception when incoming data violates the existing schema.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, dlt",
      "display": "import dlt\nimport pandas as pd\n\ndf = pd.DataFrame({\n  \"track\": [\"Yellow\",        \"Shape of You\"],\n  \"streams\": [4_200_000_000, 3_900_000_000],\n})\ndlt.pipeline(\n    destination=\"duckdb\",\n    dataset_name=\"spotify_data\",\n).run(\n    df,\n    table_name=\"tracks\",\n)\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, dlt",
      "display": "def _run(\n    self,\n    context: OpExecutionContext | AssetExecutionContext,\n    dlt_source: DltSource,\n    dlt_pipeline: Pipeline,\n    dagster_dlt_translator: DagsterDltTranslator,\n    **kwargs,\n) -> Iterator[DltEventType]:\n    # ...\n    asset_key_dlt_source_resource_mapping = {\n        dagster_dlt_translator.get_asset_spec(\n            DltResourceTranslatorData(resource=dlt_source_resource, pipeline=dlt_pipeline)\n        ).key: dlt_source_resource\n        for dlt_source_resource in dlt_source.selected_resources.values()\n    }\n\n    # Filter sources by asset key sub-selection\n    if context.is_subset:\n        asset_key_dlt_source_resource_mapping = {\n            asset_key: asset_dlt_source_resource\n            for (\n                asset_key,\n                asset_dlt_source_resource,\n            ) in asset_key_dlt_source_resource_mapping.items()\n            if asset_key in context.selected_asset_keys\n        }\n        dlt_source = dlt_source.with_resources(\n            *[\n                dlt_source_resource.name\n                for dlt_source_resource in asset_key_dlt_source_resource_mapping.values()\n                if dlt_source_resource\n            ]\n        )\n\n    # Dlt keeps some local state that interferes with next runs.\n    # This is annoying when an asset fails and running a different one on the same pipeline\n    # would just pick up the failing job and fail again.\n    # When restore_from_destination is enabled (default), we can safely drop all local state\n    # because it will be restored from the destination.\n    # When restore_from_destination is disabled, we only drop pending packages to avoid\n    # wiping incremental loading cursors that can't be recovered from the destination.\n    if dlt_pipeline.config.restore_from_destination:\n        dlt_pipeline.drop()\n    else:\n        dlt_pipeline.drop_pending_packages()\n\n    load_info = dlt_pipeline.run(dlt_source, **kwargs)\n\n    load_info.raise_on_failed_jobs()\n\n    has_asset_def: bool = bool(context and context.has_assets_def)\n\n    for (\n        asset_key,\n        dlt_source_resource,\n    ) in asset_key_dlt_source_resource_mapping.items():\n        metadata = self.extract_resource_metadata(\n            context, dlt_source_resource, load_info, dlt_pipeline\n        )\n\n        if has_asset_def:\n            yield MaterializeResult(asset_key=asset_key, metadata=metadata)\n\n        else:\n            yield AssetMaterialization(asset_key=asset_key, metadata=metadata)\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, dlt",
      "display": "resource.py · _run()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, dlt",
      "display": "dagster-io/dagster",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, dagster-io/dagster",
      "display": "16.4K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, dagster-io/dagster",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F27": {
      "label": "Library name, apache-beam",
      "display": "Apache Beam",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, apache-beam",
      "display": "3.7M",
      "asOf": "2026-11-16"
    },
    "F29": {
      "label": "License, apache-beam",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, apache-beam",
      "display": "2.77.0, Oct 2026",
      "asOf": "2026-10-07"
    },
    "F31": {
      "label": "Package release date, apache-beam",
      "display": "Oct 2026",
      "asOf": "2026-10-07"
    },
    "F32": {
      "label": "Repository stars, apache-beam",
      "display": "8.7K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Parallel execution, apache-beam",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Output formats, apache-beam",
      "display": "Text",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Install, apache-beam",
      "display": "pip install apache-beam",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "What it does, apache-beam",
      "display": "Defines data-processing pipelines over bounded batches or unbounded collections using execution runners.",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths lead, apache-beam",
      "display": "Processes unbounded data streams",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths, apache-beam",
      "display": "Use continuously running pipelines with streaming sources and sinks.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, apache-beam",
      "display": "Builds distributed processing graphs",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, apache-beam",
      "display": "Compose transforms over distributed collections and select an execution runner.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations lead, apache-beam",
      "display": "Unbounded grouping needs windowing",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations, apache-beam",
      "display": "Configure non-global windows or aggregation triggers before grouping unbounded collections.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, apache-beam",
      "display": "Retries can repeat side effects",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, apache-beam",
      "display": "Make external side effects idempotent when a transform can run again.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Quickstart, apache-beam",
      "display": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements.  See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file to You under the Apache License, Version 2.0\n# (the \"License\"); you may not use this file except in compliance with\n# the License.  You may obtain a copy of the License at\n#\n#    http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\n\"\"\"A minimalist word-counting workflow that counts words in Shakespeare.\n\nThis is the first in a series of successively more detailed 'word count'\nexamples.\n\nNext, see the wordcount pipeline, then the wordcount_debugging pipeline, for\nmore detailed examples that introduce additional concepts.\n\nConcepts:\n\n1. Reading data from text files\n2. Specifying 'inline' transforms\n3. Counting a PCollection\n4. Writing data to Cloud Storage as text files\n\nTo execute this pipeline locally, first edit the code to specify the output\nlocation. Output location could be a local file path or an output prefix\non GCS. (Only update the output location marked with the first CHANGE comment.)\n\nTo execute this pipeline remotely, first edit the code to set your project ID,\nrunner type, the staging location, the temp location, and the output location.\nThe specified GCS bucket(s) must already exist. (Update all the places marked\nwith a CHANGE comment.)\n\nThen, run the pipeline as described in the README. It will be deployed and run\nusing the Google Cloud Dataflow Service. No args are required to run the\npipeline. You can see the results in your output bucket in the GCS browser.\n\"\"\"\n\n# pytype: skip-file\n\n# beam-playground:\n#   name: WordCountMinimal\n#   description: An example that counts words in Shakespeare's works.\n#   multifile: false\n#   pipeline_options: --output output.txt\n#   context_line: 120\n#   categories:\n#     - IO\n#     - Core Transforms\n#     - Flatten\n#     - Options\n#     - Combiners\n#     - Quickstart\n#   complexity: MEDIUM\n#   tags:\n#     - count\n#     - strings\n#     - hellobeam\n\nimport argparse\nimport logging\nimport re\n\nimport apache_beam as beam\nfrom apache_beam.io import ReadFromText\nfrom apache_beam.io import WriteToText\nfrom apache_beam.options.pipeline_options import PipelineOptions\nfrom apache_beam.options.pipeline_options import SetupOptions\n\n\ndef main(argv=None, save_main_session=True):\n  \"\"\"Main entry point; defines and runs the wordcount pipeline.\"\"\"\n\n  parser = argparse.ArgumentParser()\n  parser.add_argument(\n      '--input',\n      dest='input',\n      default='gs://dataflow-samples/shakespeare/kinglear.txt',\n      help='Input file to process.')\n  parser.add_argument(\n      '--output',\n      dest='output',\n      # CHANGE 1/6: (OPTIONAL) The Google Cloud Storage path is required\n      # for outputting the results.\n      default='gs://YOUR_OUTPUT_BUCKET/AND_OUTPUT_PREFIX',\n      help='Output file to write results to.')\n\n  # If you use DataflowRunner, below options can be passed:\n  #   CHANGE 2/6: (OPTIONAL) Change this to DataflowRunner to\n  #   run your pipeline on the Google Cloud Dataflow Service.\n  #   '--runner=DirectRunner',\n  #   CHANGE 3/6: (OPTIONAL) Your project ID is required in order to\n  #   run your pipeline on the Google Cloud Dataflow Service.\n  #   '--project=SET_YOUR_PROJECT_ID_HERE',\n  #   CHANGE 4/6: (OPTIONAL) The Google Cloud region (e.g. us-central1)\n  #   is required in order to run your pipeline on the Google Cloud\n  #   Dataflow Service.\n  #   '--region=SET_REGION_HERE',\n  #   CHANGE 5/6: Your Google Cloud Storage path is required for staging local\n  #   files.\n  #   '--staging_location=gs://YOUR_BUCKET_NAME/AND_STAGING_DIRECTORY',\n  #   CHANGE 6/6: Your Google Cloud Storage path is required for temporary\n  #   files.\n  #   '--temp_location=gs://YOUR_BUCKET_NAME/AND_TEMP_DIRECTORY',\n  #   '--job_name=your-wordcount-job',\n  known_args, pipeline_args = parser.parse_known_args(argv)\n\n  # We use the save_main_session option because one or more DoFn's in this\n  # workflow rely on global context (e.g., a module imported at module level).\n  pipeline_options = PipelineOptions(pipeline_args)\n  pipeline_options.view_as(SetupOptions).save_main_session = save_main_session\n  with beam.Pipeline(options=pipeline_options) as p:\n\n    # Read the text file[pattern] into a PCollection.\n    lines = p | ReadFromText(known_args.input)\n\n    # Count the occurrences of each word.\n    counts = (\n        lines\n        | 'Split' >> (\n            beam.FlatMap(\n                lambda x: re.findall(r'[A-Za-z\\']+', x)).with_output_types(str))\n        | 'PairWithOne' >> beam.Map(lambda x: (x, 1))\n        | 'GroupAndSum' >> beam.CombinePerKey(sum))\n\n    # Format the counts into a PCollection of strings.\n    def format_result(word_count):\n      (word, count) = word_count\n      return '%s: %s' % (word, count)\n\n    output = counts | 'Format' >> beam.Map(format_result)\n\n    # Write the output using a \"Write\" transform that has side effects.\n    # pylint: disable=expression-not-assigned\n    output | WriteToText(known_args.output)\n\n\nif __name__ == '__main__':\n  logging.getLogger().setLevel(logging.INFO)\n  main()\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project function, apache-beam",
      "display": "def expand(\n    self,\n    pipeline: beam.Pipeline) -> beam.pvalue.PCollection[tf.train.Example]:\n  logging.info('Processing input csv data %s to TFExample.',\n               self._csv_pattern)\n\n  csv_files = fileio.glob(self._csv_pattern)\n  if not csv_files:\n    raise RuntimeError('Split pattern {} does not match any files.'.format(\n        self._csv_pattern))\n\n  column_names = io_utils.load_csv_column_names(csv_files[0])\n  for csv_file in csv_files[1:]:\n    if io_utils.load_csv_column_names(csv_file) != column_names:\n      raise RuntimeError(\n          'Files in same split {} have different header.'.format(\n              self._csv_pattern))\n\n  # Read each CSV file while maintaining order. This is done in order to group\n  # together multi-line string fields.\n  parsed_csv_lines = (\n      pipeline\n      | 'CreateFilenames' >> beam.Create(csv_files)\n      | 'ReadFromText' >> beam.ParDo(_ReadCsvRecordsFromTextFile())\n      | 'ParseCSVLine' >> beam.ParDo(csv_decoder.ParseCSVLine(delimiter=','))\n      | 'ExtractParsedCSVLines' >> beam.Keys())\n  column_infos = beam.pvalue.AsSingleton(\n      parsed_csv_lines\n      | 'InferColumnTypes' >> beam.CombineGlobally(\n          csv_decoder.ColumnTypeInferrer(column_names, skip_blank_lines=True))\n  )\n\n  return (parsed_csv_lines\n          |\n          'ToTFExample' >> beam.ParDo(_ParsedCsvToTfExample(), column_infos))\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function reference, apache-beam",
      "display": "executor.py · expand()",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project repository, apache-beam",
      "display": "tensorflow/tfx",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project stars, tensorflow/tfx",
      "display": "2.2K",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project push date, tensorflow/tfx",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F51": {
      "label": "Library name, kedro",
      "display": "Kedro",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Monthly downloads, kedro",
      "display": "1.4M",
      "asOf": "2026-11-16"
    },
    "F53": {
      "label": "License, kedro",
      "display": "Apache Software License (Apache 2.0)",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Package release, kedro",
      "display": "1.8.0, Nov 2026",
      "asOf": "2026-11-09"
    },
    "F55": {
      "label": "Package release date, kedro",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F56": {
      "label": "Repository stars, kedro",
      "display": "11.1K",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Incremental loads, kedro",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Parallel execution, kedro",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Data validation, kedro",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Output formats, kedro",
      "display": "CSV",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, kedro",
      "display": "pip install kedro",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, kedro",
      "display": "Organizes reusable Python nodes, dependencies, and data catalog entries into reproducible pipelines.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, kedro",
      "display": "Resolves dependencies between Python functions",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, kedro",
      "display": "Describe node inputs and outputs, then let the pipeline determine execution order.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, kedro",
      "display": "Validates catalog data at boundaries",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, kedro",
      "display": "Reject invalid inputs before processing and invalid outputs before storage.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, kedro",
      "display": "Parallel execution needs shared catalogs",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, kedro",
      "display": "Use SharedMemoryDataCatalog with ParallelRunner when calling the Python API.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, kedro",
      "display": "Async dataset access needs thread-safety",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, kedro",
      "display": "Use thread-safe datasets when enabling asynchronous loading and saving.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Quickstart, kedro",
      "display": "from kedro.pipeline import Pipeline, Node\n\ndef mean(xs, n):\n    return sum(xs) / n\n\ndef mean_sos(xs, n):\n    return sum(x**2 for x in xs) / n\n\ndef variance(m, m2):\n    return m2 - m * m\n\nvariance_pipeline = Pipeline(\n    [\n        Node(len, \"xs\", \"n\"),\n        Node(mean, [\"xs\", \"n\"], \"m\", name=\"mean_node\"),\n        Node(mean_sos, [\"xs\", \"n\"], \"m2\", name=\"mean_sos\"),\n        Node(variance, [\"m\", \"m2\"], \"v\", name=\"variance_node\"),\n    ]\n)\n\n\nprint(variance_pipeline.describe())\n\n",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project function, kedro",
      "display": "def _check_consistency(self) -> None:\n    inference_parameters = {\n        input for input in self.inference.inputs() if input.startswith(\"params:\")\n    }\n\n    free_inputs_set = (\n        self.inference.inputs()\n        - {self.input_name}\n        - self.all_outputs()\n        - self.inputs()\n        - inference_parameters  # it is allowed to pass parameters: they will be automatically persisted by the hook\n    )\n\n    if len(free_inputs_set) > 0:\n        input_set_txt = \"\\n     - \".join(free_inputs_set)\n        raise KedroMlflowPipelineMLError(\n            \"The following inputs are free for the inference pipeline:\\n\"\n            f\"    - {input_set_txt}.\"\n            \" \\nNo free input is allowed.\"\n            \" Please make sure that 'inference.inputs()' are all\"\n            \" in 'training.all_outputs() + training.inputs()'\"\n            \"except 'input_name' and parameters which starts with 'params:'.\"\n        )\n",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project function reference, kedro",
      "display": "pipeline_ml.py · _check_consistency()",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project repository, kedro",
      "display": "Galileo-Galilei/kedro-mlflow",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project stars, Galileo-Galilei/kedro-mlflow",
      "display": "238",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project push date, Galileo-Galilei/kedro-mlflow",
      "display": "May 2026",
      "asOf": "2026-05-10"
    },
    "F77": {
      "label": "Library name, petl",
      "display": "petl",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Monthly downloads, petl",
      "display": "1.1M",
      "asOf": "2026-11-16"
    },
    "F79": {
      "label": "License, petl",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Package release, petl",
      "display": "1.7.32, Nov 2026",
      "asOf": "2026-11-10"
    },
    "F81": {
      "label": "Package release date, petl",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F82": {
      "label": "Repository stars, petl",
      "display": "1.3K",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Data validation, petl",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Output formats, petl",
      "display": "CSV",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Install, petl",
      "display": "pip install petl",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "What it does, petl",
      "display": "Extracts, transforms, and loads tabular data through lazy Python iterators.",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths lead, petl",
      "display": "Transforms rows on demand",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths, petl",
      "display": "Build a transformation chain before consuming rows or writing its result.",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths lead, petl",
      "display": "Uses either transformation style",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths, petl",
      "display": "Choose functional calls or chained table methods for the same row transformations.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations lead, petl",
      "display": "Prioritizes convenience over processing speed",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations, petl",
      "display": "Use a different engine when transformation throughput is the priority.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations lead, petl",
      "display": "Sorts can use temporary disk",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "limitations, petl",
      "display": "Sorting can build in-memory structures or spill sorted chunks to disk.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Quickstart, petl",
      "display": "example_data = \"\"\"foo,bar,baz\na,1,3.4\nb,2,7.4\nc,6,2.2\nd,9,8.1\n\"\"\"\nwith open('example.csv', 'w') as f:\n    f.write(example_data)\n\nimport petl as etl\ntable1 = etl.fromcsv('example.csv')\n\ntable2 = etl.convert(table1, 'foo', 'upper')\ntable3 = etl.convert(table2, 'bar', int)\ntable4 = etl.convert(table3, 'baz', float)\ntable5 = etl.addfield(table4, 'quux', lambda row: row.bar * row.baz)\n\netl.look(table5)\n",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Developer need",
      "display": "Incremental destination loading",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Why choose dlt",
      "display": "cursor tracking and merge strategies",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need in introduction",
      "display": "incremental destination loading",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need",
      "display": "Lazy row-by-row transformations",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose petl",
      "display": "on-demand table transformations",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "lazy row-by-row transformations",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "When to consider dlt",
      "display": "destination loading needs retained incremental cursor state",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Continuously processing unbounded sources",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose apache-beam",
      "display": "streaming execution over unbounded collections",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "continuously processing unbounded sources",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "When to consider petl",
      "display": "on-demand local row transformations are sufficient",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Organizing reusable Python pipeline nodes",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose kedro",
      "display": "dependency resolution between Python functions",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "organizing reusable Python pipeline nodes",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "When to consider dlt",
      "display": "incremental destination loading is the immediate requirement",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Page introduction",
      "display": "Python ETL libraries let data developers extract, transform, and load data between systems.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: What is the best Python ETL library?",
      "display": "Use dlt for incremental loading into destinations.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: What is the best Python ETL library?",
      "display": "petl provides lazy row transformations.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: What is the best Python ETL library?",
      "display": "Beam supports continuously running pipelines over unbounded collections.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: What is the best Python ETL library?",
      "display": "Kedro resolves dependencies between reusable Python functions.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Is lazy iteration the same as streaming execution?",
      "display": "petl delays transformation work until rows are requested.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Is lazy iteration the same as streaming execution?",
      "display": "Beam streaming execution processes an unbounded collection in a continuously running job.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: What happens when a dlt schema contract is frozen?",
      "display": "A schema mismatch in freeze mode raises an exception; discard_row and discard_value instead drop invalid rows or fields.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Can replacing a dlt load reset its incremental progress?",
      "display": "The replace shorthand reloads from the initial cursor value; the dictionary disposition form keeps state by default.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Why does grouping a streaming Beam collection need windowing?",
      "display": "Unbounded collections never finish arriving; use non-global windows or aggregation triggers so grouping can operate on finite logical bundles.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Can a Beam transform run more than once?",
      "display": "Failures and retries can repeat function invocations; make external side effects idempotent.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Does Kedro parallel execution require a different catalog?",
      "display": "ParallelRunner requires SharedMemoryDataCatalog for multiprocessing when used through the Python API; the CLI selects it automatically.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: When is a Kedro incremental partition checkpoint saved?",
      "display": "The checkpoint is created after the partitioned dataset is explicitly confirmed.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "Library name, pyspark",
      "display": "PySpark",
      "asOf": "2026-11-20"
    },
    "F125": {
      "label": "Monthly downloads, pyspark",
      "display": "48.4M",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "License, pyspark",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "Package release, pyspark",
      "display": "4.3.0",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Package release date, pyspark",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Install, pyspark",
      "display": "pip install pyspark",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Quickstart, pyspark",
      "display": "from pyspark.sql import SparkSession\n\nspark = SparkSession.builder.master('local[1]').appName('first-pipeline').getOrCreate()\nspark.createDataFrame([(1,)], ['value']).show()\nspark.stop()\n",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Official description, pyspark",
      "display": "Provides the Python API for Apache Spark.",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Quickstart source file, pyspark",
      "display": "sql-getting-started.html",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Repository stars, pyspark",
      "display": "44.6K",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Recurring schedules, pyspark",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Automatic work retries, pyspark",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Execution role, pyspark",
      "display": "Apache Spark Python API",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Schedule execution, pyspark",
      "display": "External Apache Airflow Spark provider schedules/submits Spark applications; Spark Connection/installation is required. Native Spark task scheduling is not calendar scheduling.",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Failure/retry unit, pyspark",
      "display": "Native Spark task failure attempts, not an ETL business-transaction guarantee.",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Runtime prerequisites, pyspark",
      "display": "Python3.11+ and Java17+ (or supported remote Spark Connect path)",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project function, pyspark",
      "display": "def configure_spark(spark_session_builder, args):\n    \"\"\"Applies configuration to a ``SparkSession.Builder`` object.\n\n    Call :func:`add_configure_spark_arguments` to add command line arguments to the argparser object.\n    This function returns the ``SparkSession.Builder`` to allow chaining additional calls to the ``Builder``.\n\n    >>> from pyspark.sql import SparkSession\n    >>>\n    >>> arg_parser = argparse.ArgumentParser()\n    >>> add_configure_spark_arguments(arg_parser)\n    >>> # ... more argparse arguments\n\n    >>> args = arg_parser.parse_args()\n    >>> spark = configure_spark(SparkSession.builder.appName('petastorm-copy'), args).getOrCreate()\n\n    :param spark_session_builder: An instance of the ``pyspark.sql.session.SparkSession.Builder`` object.\n    :param args: A value returned by ``argparser.ArgumentParser.parse_args()`` call.\n    :return: ``SparkSession.Builder`` object.\n    \"\"\"\n    if 'spark_session_config' not in args or 'master' not in args:\n        raise RuntimeError('--spark-session-config and/or --master were not found in parsed arguments. '\n                           'Call add_configure_spark_arguments() to add them.')\n\n    spark_session_config = _cli_spark_session_config_to_dict(args.spark_session_config)\n\n    for key, value in spark_session_config.items():\n        spark_session_builder.config(key, value)\n\n    if args.master:\n        spark_session_builder.master(args.master)\n\n    return spark_session_builder",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Project source file, pyspark",
      "display": "petastorm/tools/spark_session_cli.py",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Project full_name, pyspark",
      "display": "uber/petastorm",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project stargazers_count, pyspark",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Library name, dagster",
      "display": "Dagster",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Monthly downloads, dagster",
      "display": "11.0M",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "License, dagster",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Package release, dagster",
      "display": "1.13.30",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Package release date, dagster",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Install, dagster",
      "display": "pip install dagster",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Quickstart, dagster",
      "display": "from dagster import asset, materialize\n\n@asset\ndef greeting():\n    return 'Hello'\n\nresult = materialize([greeting])\n",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Official description, dagster",
      "display": "Orchestrates the development, production, and observation of data assets.",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Quickstart source file, dagster",
      "display": "api/dagster/assets",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Repository stars, dagster",
      "display": "16.4K",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Recurring schedules, dagster",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Automatic work retries, dagster",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Execution role, dagster",
      "display": "Dagster is an orchestration platform for the development, production, and observation of data assets.",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Schedule execution, dagster",
      "display": "Dagster ScheduleDefinition schedules jobs/assets; requires a running Dagster daemon/service for deployed schedules.",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Failure/retry unit, dagster",
      "display": "Explicit RetryPolicy on ops/jobs; retry behavior and configuration are not claimed automatic for every uncaught error by default.",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Project function, dagster",
      "display": "@dg.asset(\n    group_name=\"raw_files\",\n    kinds={\"python\"},\n)\ndef taxi_zones_file() -> dg.MaterializeResult:\n    \"\"\"The raw CSV file for the taxi zones dataset. Sourced from the NYC Open Data portal.\"\"\"\n    raw_taxi_zones = requests.get(\n        \"https://community-engineering-artifacts.s3.us-west-2.amazonaws.com/dagster-university/data/taxi_zones.csv\"\n    )\n\n    with open(\n        constants.TAXI_ZONES_FILE_PATH, \"wb\", transport_params=smart_open_config\n    ) as output_file:\n        output_file.write(raw_taxi_zones.content)\n\n    num_rows = len(pd.read_csv(BytesIO(raw_taxi_zones.content)))\n\n    return dg.MaterializeResult(\n        metadata={\"Number of records\": dg.MetadataValue.int(num_rows)}\n    )",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Project source file, dagster",
      "display": "dagster_university/dagster_and_dbt/src/dagster_and_dbt/defs/assets/trips.py",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Project full_name, dagster",
      "display": "dagster-io/project-dagster-university",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project stargazers_count, dagster",
      "display": "148",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Library name, prefect",
      "display": "Prefect",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Monthly downloads, prefect",
      "display": "8.8M",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "License, prefect",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Package release, prefect",
      "display": "3.9.3",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Package release date, prefect",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Install, prefect",
      "display": "pip install prefect",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Quickstart, prefect",
      "display": "from prefect import task\n\n@task\ndef add_integers(a: int, b: int) -> int:\n    return a + b\n\nresult = add_integers(1, 2)\n",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Official description, prefect",
      "display": "Orchestrates and manages workflows.",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Quickstart source file, prefect",
      "display": "concepts/tasks",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Repository stars, prefect",
      "display": "24.2K",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Recurring schedules, prefect",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Automatic work retries, prefect",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Execution role, prefect",
      "display": "Workflow orchestration and management.",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Schedule execution, prefect",
      "display": "Deployed flow schedules support cron, interval, and recurrence rules; requires configured deployment execution.",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Failure/retry unit, prefect",
      "display": "Configured automatic flow/task retries; retries and retry delays must be set for the task/flow.",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Project function, prefect",
      "display": "@flow(name=\"Update ABC Snowflake Table\", retries=2, retry_delay_seconds=900)\ndef abc_elt_flow(deptCode_list: List[int]) -> None:\n\n    \"\"\"Flow which\n    1. Calculates the last successful load of data into Snowflake in order\n    to set the correct start_time.\n    2. Extracts the data since the start_time from ABC API into a df.\n    3. If new data from ABC API, loads df into Snowflake table.\n\n    Args:\n        - deptCode_list: A list of dept IDs each referenced as a\n        deptCode.\n    \"\"\"\n\n    target_table = \"ABC_TABLE\"\n\n    start_tms = get_start_time(target_table)\n\n    df = extract_data_from_api(start_tms, deptCode_list)\n\n    if isinstance(df, DataFrame):\n\n        # clean column names for Snowflake\n        df.columns = [col.replace(\".\", \"_\").upper() for col in df.columns]\n\n        # create ddl\n        ddl = \"\".join([col + \" STRING, \" for col in df.columns])[:-2]\n\n        load_data_into_snowflake(df, target_table, ddl)",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Project source file, prefect",
      "display": "flows-advanced/etl/elt-with-snowflake.py",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project full_name, prefect",
      "display": "prefect-archive/prefect-recipes",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project stargazers_count, prefect",
      "display": "260",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Library name, dlt",
      "display": "dlt",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Monthly downloads, dlt",
      "display": "6.7M",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "License, dlt",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Package release, dlt",
      "display": "1.32.0",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Package release date, dlt",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Install, dlt",
      "display": "pip install \"dlt[duckdb]\"",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Quickstart, dlt",
      "display": "import dlt\n\npipeline = dlt.pipeline(destination='duckdb', dataset_name='first_load')\nload_info = pipeline.run([{'id': 1}], table_name='items')\n",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Repository stars, dlt",
      "display": "6.1K",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Recurring schedules, dlt",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Automatic work retries, dlt",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Execution role, dlt",
      "display": "dlt is an open-source python-first scalable data loading library that does not require any backend to run.",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Schedule execution, dlt",
      "display": "dlt CLI generates a scheduled GitHub Actions workflow; execution occurs in the external GitHub scheduler, not inside the loader.",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Failure/retry unit, dlt",
      "display": "Transient destination load jobs retry in place; terminal failures and entire pipeline-step retry remain separate.",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Pending load state, dlt",
      "display": "Failed pending packages and incremental state are persisted",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Project function, dlt",
      "display": "def _run(\n    self,\n    context: OpExecutionContext | AssetExecutionContext,\n    dlt_source: DltSource,\n    dlt_pipeline: Pipeline,\n    dagster_dlt_translator: DagsterDltTranslator,\n    **kwargs,\n) -> Iterator[DltEventType]:\n    \"\"\"Runs the dlt pipeline with subset support.\n\n    Args:\n        context (Union[OpExecutionContext, AssetExecutionContext]): Asset or op execution context\n        dlt_source (Optional[DltSource]): optional dlt source if resource is used from an `@op`\n        dlt_pipeline (Optional[Pipeline]): optional dlt pipeline if resource is used from an `@op`\n        dagster_dlt_translator (Optional[DagsterDltTranslator]): optional dlt translator if resource is used from an `@op`\n        **kwargs (dict[str, Any]): Keyword args passed to pipeline `run` method\n\n    Returns:\n        DltEventIterator[DltEventType]: An iterator of MaterializeResult or AssetMaterialization\n\n    \"\"\"\n    asset_key_dlt_source_resource_mapping = {\n        dagster_dlt_translator.get_asset_spec(\n            DltResourceTranslatorData(resource=dlt_source_resource, pipeline=dlt_pipeline)\n        ).key: dlt_source_resource\n        for dlt_source_resource in dlt_source.selected_resources.values()\n    }\n\n    # Filter sources by asset key sub-selection\n    if context.is_subset:\n        asset_key_dlt_source_resource_mapping = {\n            asset_key: asset_dlt_source_resource\n            for (\n                asset_key,\n                asset_dlt_source_resource,\n            ) in asset_key_dlt_source_resource_mapping.items()\n            if asset_key in context.selected_asset_keys\n        }\n        dlt_source = dlt_source.with_resources(\n            *[\n                dlt_source_resource.name\n                for dlt_source_resource in asset_key_dlt_source_resource_mapping.values()\n                if dlt_source_resource\n            ]\n        )\n\n    # Dlt keeps some local state that interferes with next runs.\n    # This is annoying when an asset fails and running a different one on the same pipeline\n    # would just pick up the failing job and fail again.\n    # When restore_from_destination is enabled (default), we can safely drop all local state\n    # because it will be restored from the destination.\n    # When restore_from_destination is disabled, we only drop pending packages to avoid\n    # wiping incremental loading cursors that can't be recovered from the destination.\n    if dlt_pipeline.config.restore_from_destination:\n        dlt_pipeline.drop()\n    else:\n        dlt_pipeline.drop_pending_packages()\n\n    load_info = dlt_pipeline.run(dlt_source, **kwargs)\n\n    load_info.raise_on_failed_jobs()\n\n    has_asset_def: bool = bool(context and context.has_assets_def)\n\n    for (\n        asset_key,\n        dlt_source_resource,\n    ) in asset_key_dlt_source_resource_mapping.items():\n        metadata = self.extract_resource_metadata(\n            context, dlt_source_resource, load_info, dlt_pipeline\n        )\n\n        if has_asset_def:\n            yield MaterializeResult(asset_key=asset_key, metadata=metadata)\n\n        else:\n            yield AssetMaterialization(asset_key=asset_key, metadata=metadata)\n",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Project source file, dlt",
      "display": "python_modules/libraries/dagster-dlt/dagster_dlt/resource.py",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Project full_name, dlt",
      "display": "dagster-io/dagster",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Project stargazers_count, dlt",
      "display": "16.4K",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Library name, apache-airflow",
      "display": "Apache Airflow",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Monthly downloads, apache-airflow",
      "display": "6.5M",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "License, apache-airflow",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Package release, apache-airflow",
      "display": "3.4.0",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Package release date, apache-airflow",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Install, apache-airflow",
      "display": "pip install \"apache-airflow==3.4.0\"",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Quickstart, apache-airflow",
      "display": "from datetime import datetime\nfrom airflow.sdk import DAG\nfrom airflow.providers.standard.operators.empty import EmptyOperator\n\nwith DAG('first_pipeline', start_date=datetime(2024, 1, 1), schedule=None):\n    EmptyOperator(task_id='first_task')\n",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Official description, apache-airflow",
      "display": "Authors, schedules, and monitors data pipelines in code.",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Quickstart source file, apache-airflow",
      "display": "core-concepts/dags.rst",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Repository stars, apache-airflow",
      "display": "47.5K",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Recurring schedules, apache-airflow",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Automatic work retries, apache-airflow",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Execution role, apache-airflow",
      "display": "Programmatically author, schedule and monitor data pipelines",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Schedule execution, apache-airflow",
      "display": "Airflow scheduler creates Dag runs from schedule cron/timedelta/presets; requires Airflow deployment.",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Failure/retry unit, apache-airflow",
      "display": "Task retries occur when attempts remain; requires configured retry policy and scheduler.",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Project function, apache-airflow",
      "display": "def create_task_groups_based_on_folder(\n    dag: DAG,\n    node: DbtNode,\n    parent_task_group: TaskGroup | None,\n    task_groups: dict[str, TaskGroup],\n    use_hierarchical_naming: bool = False,\n) -> TaskGroup | None:\n    \"\"\"\n    Generate the parent task group for the given node based on the node's file path. If a TaskGroup is given, it will\n    be used as the parent group.\n\n    When ``use_hierarchical_naming`` is True, groups are cached by their cumulative folder path, so that folders\n    sharing a leaf name under different parents (e.g. ``staging/aurora`` and ``marts/aurora``) become distinct task\n    groups instead of collapsing into the first one created. When False (default), groups are cached by the bare\n    folder name, preserving the legacy behaviour — and the existing task-group ids that users may reference — at the\n    cost of collapsing same-named folders. See https://github.com/astronomer/astronomer-cosmos/pull/2824.\n    \"\"\"\n    task_group = None\n    # Use ``Path.parts`` (OS-agnostic) rather than ``str(path).split(\"/\")`` so folder grouping also\n    # works on Windows, where ``str(Path(...))`` uses backslash separators.\n    resource_file_path_parts = Path(node.original_file_path).parts[:-1]\n    cumulative_path = \"\"\n    for resource_file_path_part in resource_file_path_parts:\n        cumulative_path = f\"{cumulative_path}/{resource_file_path_part}\" if cumulative_path else resource_file_path_part\n        cache_key = cumulative_path if use_hierarchical_naming else resource_file_path_part\n        if cache_key in task_groups:\n            task_group = task_groups[cache_key]\n        else:\n            task_group = TaskGroup(dag=dag, group_id=resource_file_path_part, parent_group=parent_task_group)\n            task_groups[cache_key] = task_group\n        parent_task_group = task_group\n    return task_group",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Project source file, apache-airflow",
      "display": "cosmos/airflow/graph.py",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project full_name, apache-airflow",
      "display": "astronomer/astronomer-cosmos",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project stargazers_count, apache-airflow",
      "display": "1.3K",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Library name, apache-beam",
      "display": "Apache Beam",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Monthly downloads, apache-beam",
      "display": "3.8M",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "License, apache-beam",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Package release, apache-beam",
      "display": "2.77.0",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Package release date, apache-beam",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Install, apache-beam",
      "display": "pip install apache-beam",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Quickstart, apache-beam",
      "display": "import apache_beam as beam\n\nwith beam.Pipeline() as pipeline:\n    pipeline | beam.Create([1, 2, 3]) | beam.Map(print)\n",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Repository stars, apache-beam",
      "display": "8.7K",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Recurring schedules, apache-beam",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Automatic work retries, apache-beam",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Execution role, apache-beam",
      "display": "Apache Beam SDK for Python",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Schedule execution, apache-beam",
      "display": "External Apache Airflow Beam provider launches the Python pipeline; runner and deployment prerequisites still apply.",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Failure/retry unit, apache-beam",
      "display": "Execution runner retries failed bundles; repeat processing is possible, so external side effects need idempotency.",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Execution model, apache-beam",
      "display": "Bounded batch and unbounded streaming through runners",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Project function, apache-beam",
      "display": "def expand(\n    self,\n    pipeline: beam.Pipeline) -> beam.pvalue.PCollection[tf.train.Example]:\n  logging.info('Processing input csv data %s to TFExample.',\n               self._csv_pattern)\n\n  csv_files = fileio.glob(self._csv_pattern)\n  if not csv_files:\n    raise RuntimeError('Split pattern {} does not match any files.'.format(\n        self._csv_pattern))\n\n  column_names = io_utils.load_csv_column_names(csv_files[0])\n  for csv_file in csv_files[1:]:\n    if io_utils.load_csv_column_names(csv_file) != column_names:\n      raise RuntimeError(\n          'Files in same split {} have different header.'.format(\n              self._csv_pattern))\n\n  # Read each CSV file while maintaining order. This is done in order to group\n  # together multi-line string fields.\n  parsed_csv_lines = (\n      pipeline\n      | 'CreateFilenames' >> beam.Create(csv_files)\n      | 'ReadFromText' >> beam.ParDo(_ReadCsvRecordsFromTextFile())\n      | 'ParseCSVLine' >> beam.ParDo(csv_decoder.ParseCSVLine(delimiter=','))\n      | 'ExtractParsedCSVLines' >> beam.Keys())\n  column_infos = beam.pvalue.AsSingleton(\n      parsed_csv_lines\n      | 'InferColumnTypes' >> beam.CombineGlobally(\n          csv_decoder.ColumnTypeInferrer(column_names, skip_blank_lines=True))\n  )\n\n  return (parsed_csv_lines\n          |\n          'ToTFExample' >> beam.ParDo(_ParsedCsvToTfExample(), column_infos))\n",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Project source file, apache-beam",
      "display": "tfx/components/example_gen/csv_example_gen/executor.py",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Project full_name, apache-beam",
      "display": "tensorflow/tfx",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Project stargazers_count, apache-beam",
      "display": "2.2K",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Library name, kedro",
      "display": "Kedro",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Monthly downloads, kedro",
      "display": "1.5M",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "License, kedro",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Package release, kedro",
      "display": "1.8.0",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Package release date, kedro",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Install, kedro",
      "display": "pip install kedro",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Quickstart, kedro",
      "display": "from kedro.pipeline import Pipeline, Node\n\npipeline = Pipeline([Node(len, 'items', 'count')])\nprint(pipeline.describe())\n",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Repository stars, kedro",
      "display": "11.1K",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Recurring schedules, kedro",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Automatic work retries, kedro",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Execution role, kedro",
      "display": "Kedro helps you build production-ready data and analytics pipelines",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Schedule execution, kedro",
      "display": "kedro-airflow converts nodes into Airflow tasks; separate deployment integration and persistent datasets are required.",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Failure/retry unit, kedro",
      "display": "Current core runner rethrows the failed node exception and suggests a manual resume command. It does not automatically retry the failed node; external orchestrator policies are separate.",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Dataset storage across Airflow tasks, kedro",
      "display": "Persistent catalog datasets required",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project function, kedro",
      "display": "def _check_consistency(self) -> None:\n    inference_parameters = {\n        input for input in self.inference.inputs() if input.startswith(\"params:\")\n    }\n\n    free_inputs_set = (\n        self.inference.inputs()\n        - {self.input_name}\n        - self.all_outputs()\n        - self.inputs()\n        - inference_parameters  # it is allowed to pass parameters: they will be automatically persisted by the hook\n    )\n\n    if len(free_inputs_set) > 0:\n        input_set_txt = \"\\n     - \".join(free_inputs_set)\n        raise KedroMlflowPipelineMLError(\n            \"The following inputs are free for the inference pipeline:\\n\"\n            f\"    - {input_set_txt}.\"\n            \" \\nNo free input is allowed.\"\n            \" Please make sure that 'inference.inputs()' are all\"\n            \" in 'training.all_outputs() + training.inputs()'\"\n            \"except 'input_name' and parameters which starts with 'params:'.\"\n        )\n",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project source file, kedro",
      "display": "kedro_mlflow/pipeline/pipeline_ml.py",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Project full_name, kedro",
      "display": "Galileo-Galilei/kedro-mlflow",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Project stargazers_count, kedro",
      "display": "238",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Library name, luigi",
      "display": "Luigi",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Monthly downloads, luigi",
      "display": "1.1M",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "License, luigi",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Package release, luigi",
      "display": "3.8.1",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Package release date, luigi",
      "display": "May 2026",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Install, luigi",
      "display": "pip install luigi",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Quickstart, luigi",
      "display": "import luigi\n\ntarget = luigi.LocalTarget('output.txt')\nwith target.open('w') as output:\n    output.write('Hello\\n')\n",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Official description, luigi",
      "display": "Manages workflows, schedules tasks, and resolves dependencies.",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Quickstart source file, luigi",
      "display": "api/luigi.local_target",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Repository stars, luigi",
      "display": "18.8K",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Recurring schedules, luigi",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Automatic work retries, luigi",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Execution role, luigi",
      "display": "Workflow mgmgt + task scheduling + dependency resolution.",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Schedule execution, luigi",
      "display": "External crontab/other scheduler triggers Luigi; luigid dependency scheduler is a distinct concern.",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Failure/retry unit, luigi",
      "display": "Scheduler retry_delay re-marks failed tasks pending; worker keep_alive and per-task retry-policy limits determine continued processing.",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Project function, luigi",
      "display": "@staticmethod\ndef get_object_storage_target(path: str, format: Format) -> luigi.target.FileSystemTarget:\n    if path.startswith('s3://'):\n        try:\n            import boto3  # noqa: F401  # pyright: ignore[reportUnusedImport]\n        except ImportError:\n            raise ImportError('S3 support requires additional dependencies. Install them with: pip install gokart[s3]') from None\n\n        import luigi.contrib.s3\n\n        from gokart.s3_config import S3Config\n\n        return luigi.contrib.s3.S3Target(path, client=S3Config().get_s3_client(), format=format)\n    elif path.startswith('gs://'):\n        try:\n            import googleapiclient  # noqa: F401  # pyright: ignore[reportUnusedImport]\n        except ImportError:\n            raise ImportError('GCS support requires additional dependencies. Install them with: pip install gokart[gcs]') from None\n\n        import luigi.contrib.gcs\n\n        from gokart.gcs_config import GCSConfig\n\n        return luigi.contrib.gcs.GCSTarget(path, client=GCSConfig().get_gcs_client(), format=format)\n    else:\n        raise",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "Project source file, luigi",
      "display": "gokart/object_storage.py",
      "asOf": "2026-11-20"
    },
    "F272": {
      "label": "Project full_name, luigi",
      "display": "m3dev/gokart",
      "asOf": "2026-11-20"
    },
    "F273": {
      "label": "Project stargazers_count, luigi",
      "display": "344",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python ETL libraries dlt petl Apache Beam Kedro data pipeline code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
