salesforce-cdp-connector
Salesforce Data Cloud Python Connector
Decision gist · record as of 2026-08-14
No for new projects—the package is explicitly deprecated in favor of salesforce-datacloud-connector. Yes-with-conditions for existing codebases already using it: the package is actively maintained and has no known vulnerabilities, but plan a migration to the newer package. Do not start new projects with this connector.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Salesforce connected app configured with Client Credentials flow enabled and appropriate OAuth scopes (refresh_token, api, cdp_query_api, cdp_profile_api).
- Low install friction with standard dependencies.
- Active maintenance as of 2026-06-02 with recent commits; however, this package is explicitly deprecated in favor of salesforce-datacloud-connector, which is recommended for new projects.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive and allows commercial use, modification, and distribution with minimal restrictions, making it suitable for most integration scenarios.
last release 2026-06-02 (73 days) · last repo commit 2026-08-14 · 11 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,438 downloads/mo, #14,358 on PyPI
Alternatives
Verify before relying
from salesforcecdpconnector.connection import SalesforceCDPConnection
conn = SalesforceCDPConnection(
login_url='<url>',
client_id='<id>',
client_secret='<secret>'
)
cur = conn.cursor()
cur.execute('<query>')
results = cur.fetchall()- Whether the package's deprecation timeline affects support or bug fixes going forward.
- Performance characteristics when handling large result sets or complex queries.
- Compatibility guarantees with Salesforce API versions and Data Cloud feature releases.
What it is and what it does
salesforce-cdp-connector is a read-only Python client for Salesforce Data Cloud (CDP) that lets you authenticate to Salesforce and execute queries against your CDP instance. It supports multiple authentication flows—JWT with private keys, username/password, OAuth tokens, and client credentials—and returns results either as raw cursor objects or directly as pandas dataframes. The package wraps the Salesforce CDP API behind a simple connection interface, handling authentication and query execution so you can focus on data retrieval and analysis.
However, this package is deprecated and will be removed once salesforce-datacloud-connector reaches general availability. The maintainers recommend migrating existing projects and using the newer package for all new work. While the current version remains active and receives commits, choosing this package means committing to a future migration path.
Use it for
- Extract customer segments or profiles from Salesforce Data Cloud into a pandas dataframe for analysis or reporting.
- Build a scheduled ETL job that queries CDP data and loads results into a data warehouse or analytics platform.
- Authenticate to Salesforce CDP using client credentials in a server-to-server integration without user context.
- Execute ad-hoc CDP queries from a Python notebook or script using cursor-based result fetching.
- Query a non-default dataspace in your Salesforce CDP instance for multi-tenant or isolated data access.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No for new projects—the package is explicitly deprecated in favor of salesforce-datacloud-connector.
Yes-with-conditions for existing codebases already using it: the package is actively maintained and has no known vulnerabilities, but plan a migration to the newer package. Do not start new projects with this connector.
Install
salesforce-cdp-connector on PyPI
Before you install
Low install friction with standard dependencies. Active maintenance as of 2026-06-02 with recent commits; however, this package is explicitly deprecated in favor of salesforce-datacloud-connector, which is recommended for new projects.
Requires a Salesforce connected app configured with Client Credentials flow enabled and appropriate OAuth scopes (refresh_token, api, cdp_query_api, cdp_profile_api).
License in practice
BSD-3-Clause is permissive and allows commercial use, modification, and distribution with minimal restrictions, making it suitable for most integration scenarios.
Quickstart
from salesforcecdpconnector.connection import SalesforceCDPConnection
conn = SalesforceCDPConnection(
login_url='<url>',
client_id='<id>',
client_secret='<secret>'
)
cur = conn.cursor()
cur.execute('<query>')
results = cur.fetchall()
Verify before relying
- Whether the package's deprecation timeline affects support or bug fixes going forward.
- Performance characteristics when handling large result sets or complex queries.
- Compatibility guarantees with Salesforce API versions and Data Cloud feature releases.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagespandaspyarrowpyjwtpython-dateutilrequestsurllib3 |
| Maintenance | Actively maintained 73 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,438 / month, #14,358 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: salesforce_cdp_connector-1.0.20-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “salesforce data cloud connector”
- salesforce-cdp-connectorConnects Python to Salesforce Data Cloud to execute queries and load…
- apache-airflow-providers-salesforceIntegrates Salesforce data operations into Apache Airflow workflows,…
- querysourceQuerySource provides a unified async interface to query multiple…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also snowflake-connector-python · pyadomd · presto-python-client · Salesforce-FuelSDK-Sans · cdp-sdk · Salesforce-FuelSDK · customerio-cdp-analytics · pandas-gbq · salesforce-api · simple-salesforce