{"id":26412803,"url":"https://github.com/alteryx/featuretools_sql","last_synced_at":"2025-12-12T00:35:01.533Z","repository":{"id":61664890,"uuid":"511629619","full_name":"alteryx/featuretools_sql","owner":"alteryx","description":"Automated creation of EntitySets from relational data stored in SQL databases","archived":false,"fork":false,"pushed_at":"2023-11-02T21:30:42.000Z","size":142,"stargazers_count":10,"open_issues_count":13,"forks_count":0,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-04-03T18:21:19.463Z","etag":null,"topics":["automated-feature-engineering","automated-machine-learning","automl","data-science","feature-engineering","featuretools","machine-learning","mysql","postgres","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alteryx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-07T18:10:15.000Z","updated_at":"2024-04-24T07:36:00.000Z","dependencies_parsed_at":"2023-02-19T01:46:05.174Z","dependency_job_id":"6f35889e-2d67-416d-ad2e-28e113dd0bfd","html_url":"https://github.com/alteryx/featuretools_sql","commit_stats":{"total_commits":83,"total_committers":4,"mean_commits":20.75,"dds":0.6506024096385542,"last_synced_commit":"63f33027273fa8cbf9e01bc33cde1b2ca7e78c2c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/alteryx/featuretools_sql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alteryx%2Ffeaturetools_sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alteryx%2Ffeaturetools_sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alteryx%2Ffeaturetools_sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alteryx%2Ffeaturetools_sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alteryx","download_url":"https://codeload.github.com/alteryx/featuretools_sql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alteryx%2Ffeaturetools_sql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266786798,"owners_count":23983871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-feature-engineering","automated-machine-learning","automl","data-science","feature-engineering","featuretools","machine-learning","mysql","postgres","postgresql","sql"],"created_at":"2025-03-17T22:09:23.069Z","updated_at":"2025-12-12T00:35:01.472Z","avatar_url":"https://github.com/alteryx.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=80% src=\"https://featuretools-static.s3.amazonaws.com/Featuretools-SQL_Logo_1920_Orange%2BGrey.svg\" alt\"Featuretools-sql\"/\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ci\u003eAutomated creation of EntitySets from relational data stored in SQL databases\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://badge.fury.io/py/featuretools-sql\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://badge.fury.io/py/featuretools-sql.svg?maxAge=2592000\" alt=\"PyPI Version\" /\u003e\n    \u003c/a\u003e\n    \u003ca href='https://featuretools.alteryx.com/en/stable/guides/sql_database_integration.html'\u003e\n        \u003cimg src='https://readthedocs.com/projects/feature-labs-inc-featuretools/badge/?version=stable' alt='Documentation Status' /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://anaconda.org/conda-forge/featuretools_sql\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://anaconda.org/conda-forge/featuretools_sql/badges/version.svg\" alt=\"Anaconda Version\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://stackoverflow.com/questions/tagged/featuretools\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://img.shields.io/badge/questions-on_stackoverflow-blue.svg\" alt=\"StackOverflow\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pepy.tech/project/featuretools-sql\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://pepy.tech/badge/featuretools-sql/month\" alt=\"PyPI Downloads\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003chr\u003e\n\nThe `featuretools_sql` library allows you to directly import your relational data into [Featuretools](https://github.com/alteryx/featuretools) to run automated feature engineering.\n\n## Installation \n\nInstall with pip:\n\n```shell\npython -m pip install \"featuretools[sql]\"\n```\nor from the Conda-forge channel on [conda](https://anaconda.org/conda-forge/featuretools_sql):\n\n```\nconda install -c conda-forge featuretools\n```\n\n## Example\nSimply pass in the database connection information:\n\n```python\nfrom featuretools_sql.connector import DBConnector\n\nsql_connector = DBConnector(\n    system_name = \"mysql\",\n    host = \"127.0.0.1:3306\"\n    user = \"root\",\n    password = \"password\",\n    database = \"db\"\n) \nentityset = sql_connector.get_entityset()\n```\n\nThe `entityset` object will have the `relationships` and `DataFrames` already populated, allowing you to call featuretools.DFS and run automated feature generation.\n\n```python\nimport featuretools as ft\n\nfeature_defs, feature_matrix = ft.dfs(\n    entityset=entityset,\n    target_entity='target_table_name'\n)\n```\n\nWe currently supports importing data from the following relational database systems: \n  - `MySQL` \n  - `PostgreSQL`\n  - `Snowflake`\n\n## Support\nThe Featuretools community is happy to provide support to users. Project support can be found in four places depending on the type of question:\n1. For usage questions, use [Stack Overflow](https://stackoverflow.com/questions/tagged/featuretools) with the `featuretools` tag.\n2. For bugs, issues, or feature requests start a [Github issue](https://github.com/alteryx/featuretools_sql/issues).\n3. For discussion regarding development, use [Slack](https://join.slack.com/t/alteryx-oss/shared_invite/zt-182tyvuxv-NzIn6eiCEf8TBziuKp0bNA).\n4. For everything else, the core developers can be reached by email at open_source_support@alteryx.com\n\n## Built at Alteryx\n\n`featuretools_sql` is an open source project maintained by [Alteryx](https://www.alteryx.com). To see the other open source projects we’re working on, visit [Alteryx Open Source](https://www.alteryx.com/open-source). If building impactful data science pipelines is important to you or your business, please get in touch.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.alteryx.com/open-source\"\u003e\n    \u003cimg src=\"https://alteryx-oss-web-images.s3.amazonaws.com/OpenSource_Logo-01.png\" alt=\"Alteryx Open Source\" width=\"800\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falteryx%2Ffeaturetools_sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falteryx%2Ffeaturetools_sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falteryx%2Ffeaturetools_sql/lists"}