Skip to main content
salesforce-python-sdk
=====================

Salesforce Python SDK supports Salesforce REST and Partner SOAP APIs.

Install
-------
python setup.py install

Example
-------
import salesforce as sf
sfdc = sf.Salesforce()

sfdc.authenticate(client_id=client_id,
client_secret=client_secret,
username=username,
password=password)

#SOAP call
sfdc.Contact.create(
[
{
'FirstName': 'John',
'LastName': 'Varges',
},
{
'FirstName': 'Clark',
'LastName': 'Fisher',
}
],
soap=True)

#REST Call
sfdc.Contact.create({
'FirstName': 'John',
'LastName': 'Varges'})

You can switch between REST and SOAP by passing soap parameter.


Supported APIs
--------------
get_auth_uri(self, **kwargs)

authenticate(self, soap=None, **kwargs)

query(self, query_string, soap=None)

query_all(self, query_string, soap=None)

query_more(self, query_url, soap=None)

search(self, search_string, soap=None)

get(self, get_url, params=None, soap=None, **kwargs)

post(self, post_url, data, soap=None)

On sObject:

describe(self, soap=None)

create(self, data, soap=None)

update(self, data, soap=None)

delete(self, record_id, soap=None)

post(self, data, record_id=None, soap=None)

get(self, record_id=None, params=None, soap=None)

Metadata

Release files for salesforce-python-sdk 0.1.3

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

Source distribution (sdist)

Source distribution for salesforce-python-sdk 0.1.3
File Size Uploaded Provenance
salesforce-python-sdk-0.1.3.tar.gz 8.5 kB Without provenance Details

Release files / salesforce-python-sdk-0.1.3.tar.gz

Download URL salesforce-python-sdk-0.1.3.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7f0a54201e7282bbe8be9c12aa3015e74d40030b25856b166b7f2c3da05af257
BLAKE2b-256 checksum
How to use checksums
823266625bb00425c0c74364a964eea29a5d66232b290e96dc2f63451f495d3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for salesforce-python-sdk 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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