CData Python Connector for SendGrid

Build 20.0.7587

CData Python Connector for SendGrid

Overview

The CData Python Connector for SendGrid allows developers to write Python scripts with connectivity to SendGrid. The connector wraps the complexity of accessing SendGrid data in an interface commonly used by python connectors to common database systems.

Key Features

  • A variety of WHL files that accommodate several execution environments after installation with "pip install".
  • Supported for Python 3.6 and Python 3.7 (including Anacondas), within both Windows and Linux, whether 64-bit or 32-bit. A wheel for for Python 3.8 distributions on Mac is also available.
  • Write and execute SQL queries to fetch and update data in SendGrid.
  • Custom dialect class that enables SQLAlchemy ORM to use this connector.

Getting Started

See はじめに to install the connector to your python distribution and to create a basic connection to SendGrid.

Using the Python Connector

See コネクタの使用 for examples of executing basic SELECT, INSERT, UPDATE, DELETE, and EXECUTE queries with the module's provided classes. See to connect SendGrid data to tools such as Pandas.

SQLAlchemy ORM

SQLAlchemy can be leveraged to model the tables in SendGrid with mapped classes. See SQLAlchemy から for instructions for configuring the Python connector with SQLAlchemy.

Pandas

Pandas' DataFrames can be used alongside the connector to generate analytical graphics. See Pandas から for a guide.

Schema Discovery

See スキーマ検出 to query the provided system tables, which allows users to discover the available tables, views, and stored procedure, alongside additional information about their columns or parameters.

SQL Compliance

See SQL 準拠 for a syntax reference and code examples outlining the supported SQL.

Caching Data

See データのキャッシュ to configure replication and caching for a range of scenarios common to remote data access. Configurations include:

  • Autocache: Automatically cache data to a lightweight database. Save data for later offline use or enable fast reporting from the cache.
  • Replication: Copy data to local and cloud data stores such as Oracle, SQL Server, Google Cloud SQL, and so on. The replication commands allow for intelligent incremental updates to cached data.
  • No caching: Work with remote data only. No local cache file is created.

Data Model

See データモデル for the available database objects. This section also provides more detailed information on querying specific SendGrid entities.

Connection String Options

The Connection properties describe the various options that can be used to establish a connection.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587