Skip to main content

Automated creation of EntitySets from relational data stored in SQL databases

PyPI Version Documentation Status Anaconda Version StackOverflow PyPI Downloads


The featuretools_sql library allows you to directly import your relational data into Featuretools to run automated feature engineering.

Installation

Install with pip:

python -m pip install "featuretools[sql]"

or from the Conda-forge channel on conda:

conda install -c conda-forge featuretools

Example

Simply pass in the database connection information:

from featuretools_sql.connector import DBConnector

sql_connector = DBConnector(
    system_name = "mysql",
    host = "127.0.0.1:3306"
    user = "root",
    password = "password",
    database = "db"
) 
entityset = sql_connector.get_entityset()

The entityset object will have the relationships and DataFrames already populated, allowing you to call featuretools.DFS and run automated feature generation.

import featuretools as ft

feature_defs, feature_matrix = ft.dfs(
    entityset=entityset,
    target_entity='target_table_name'
)

We currently supports importing data from the following relational database systems:

  • MySQL
  • PostgreSQL
  • Snowflake

Support

The Featuretools community is happy to provide support to users. Project support can be found in four places depending on the type of question:

  1. For usage questions, use Stack Overflow with the featuretools tag.
  2. For bugs, issues, or feature requests start a Github issue.
  3. For discussion regarding development, use Slack.
  4. For everything else, the core developers can be reached by email at open_source_support@alteryx.com

Built at Alteryx

featuretools_sql is an open source project maintained by Alteryx. To see the other open source projects we’re working on, visit Alteryx Open Source. If building impactful data science pipelines is important to you or your business, please get in touch.

Alteryx Open Source

Metadata

Release files for featuretools-sql 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for featuretools-sql 0.0.5
File Size Uploaded
featuretools_sql-0.0.5.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for featuretools-sql 0.0.5
File Interpreter ABI Platform
featuretools_sql-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 24.1 kB

Release files / featuretools_sql-0.0.5.tar.gz

Download URL featuretools_sql-0.0.5.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
354e91dda4c34d852f31c312f57143538f8e5285d230af616fff390926a9d02f
BLAKE2b-256 checksum
How to use checksums
6076943c87f0d8ceafaec09db98d9ed8fec0fe4640d73846250cd63abfbf1e26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release files / featuretools_sql-0.0.5-py3-none-any.whl

Download URL featuretools_sql-0.0.5-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6f70d182cb83ef7645f3b7b0b5d55b9ca9d5bce28568e21fd6f4b13bcd38ae0
BLAKE2b-256 checksum
How to use checksums
46ef8358e3ce627b622d71aa5131b8cae290cfd9a52db8241dc0e7659361ef36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.16

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page