Registry / communication / salesforce-fuelsdk

salesforce-fuelsdk

JSON →
library1.3.0pypypiunverified

The Salesforce Marketing Cloud Fuel SDK for Python (v1.3.0) provides a wrapper for the Salesforce Marketing Cloud SOAP and REST APIs, enabling email, audience, and data extension management. It supports OAuth2 authentication (including Public App, Web App, and refresh tokens). The SDK is in maintenance mode with infrequent releases.

pip install salesforce-fuelsdk
INSTALL
IMPORT
SIG · SALESFORCE-FUELSDK
S
salesforce-fuelsdk
communicationpythonv1.3.0
Install
Import
Disk
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FuelSDKClient
from fuelSDK.client import FuelSDKClient
from fuelSDK import FuelSDKClient
FuelSDKClient is in the client submodule, not top-level
ET_Client
from fuelSDK import ET_Client
Legacy client still valid, but FuelSDKClient is recommended for v1.3.0

Initialize the SDK client using environment variables for credentials, then retrieve a list of data extensions.

from fuelSDK.client import FuelSDKClient client = FuelSDKClient( client_id=os.environ.get('SFMC_CLIENT_ID', ''), client_secret=os.environ.get('SFMC_CLIENT_SECRET', ''), auth_base_url=os.environ.get('SFMC_AUTH_URL', 'https://mc.exacttarget.com'), soap_endpoint=os.environ.get('SFMC_SOAP_URL', '') ) # Retrieve all data extensions response = client.soap_client.retrieve('DataExtension', ['Name', 'CustomerKey']) print(response)
Debug
Known issues
breakingIn v1.3.0, OAuth2 authentication changed: you must now use the new FuelSDKClient class. The old ET_Client with legacy username/password auth is deprecated and may not work in future.
fix
Use FuelSDKClient with client_id, client_secret, auth_base_url, and soap_endpoint.
affects: >=1.3.0
gotchaThe import path for FuelSDKClient is `fuelSDK.client.FuelSDKClient`, not `fuelSDK.FuelSDKClient`. Many existing examples show the wrong import.
fix
Use `from fuelSDK.client import FuelSDKClient`.
affects: >=1.3.0
gotchaThe SDK uses suds-jurko for SOAP, which is not thread-safe. Avoid sharing a client instance across threads without proper locking.
fix
Create a new FuelSDKClient per thread or use threading locks around SOAP calls.
affects: all
Upgrade
Version history
1.3.0latest on PyPI · released Aug 7, 2019
Audit
Dependencies
requestsrequiredHTTP library for REST API calls
suds-jurkorequiredSOAP client library
pycryptodomerequiredCryptographic operations for auth
Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
salesforce-fuelsdk — pip install salesforce-fuelsdk · libregistry