simple-salesforce
A basic Salesforce.com REST API client.
Install
simple-salesforce on PyPI
pip
pip install simple-salesforceuv
uv add simple-salesforcepoetry
poetry add simple-salesforcePackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — requests, typing-extensions, zeep, pyjwt, more-itertools |
| Maintenance | actively maintained — 36 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: simple_salesforce-1.12.10-py3-none-any.whl
Keywords: python, salesforce, salesforce.com, CRM, API, REST
About simple-salesforce
from the package's own PyPI description — quoted content, verbatim
Simple Salesforce
.. image:: https://github.com/simple-salesforce/simple-salesforce/actions/workflows/test.yml/badge.svg :target: https://github.com/simple-salesforce/simple-salesforce/actions
.. image:: https://readthedocs.org/projects/simple-salesforce/badge/?version=latest :target: http://simple-salesforce.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
Simple Salesforce is a basic Salesforce.com REST API client built for Python 3.9, 3.10, 3.11, 3.12, and 3.13. The goal is to provide a very low-level interface to the REST Resource and APEX API, returning a dictionary of the API JSON response.
You can find out more regarding the format of the results in the Official Salesforce.com REST API Documentation_
.. _Official Salesforce.com REST API Documentation: http://www.salesforce.com/us/developer/docs/api_rest/index.htm
Documentation
.. _Official Simple Salesforce documentation: http://simple-salesforce.readthedocs.io/en/latest/
Official Simple Salesforce documentation_
Examples
There are two ways to gain access to Salesforce
The first is to simply pass the domain of your...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Simple Salesforce is a lightweight REST API client for Salesforce.com that returns API responses as Python dictionaries, supporting multiple authentication methods and SOQL/SOSL queries for record management and retrieval.
Low install friction with a pure-Python wheel distribution. The package is actively maintained (last commit 2026-07-08, 36 days since release) and supports Python 3.9–3.14 including PyPy. Five runtime dependencies (requests, typing-extensions, zeep, pyjwt, more-itertools) are all well-established libraries.
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most organizational and proprietary projects.
Usage
pip install simple-salesforce
from simple_salesforce import Salesforce
sf = Salesforce(username='user@example.com', password='password', security_token='token')
contact = sf.Contact.get('003e0000003GuNXAA0')
Requires Python 3.9 or later; Salesforce credentials (username, password, and security token or equivalent authentication method) must be provided.
Verdict: Simple Salesforce is a stable, actively maintained production-grade client for Salesforce REST API integration. With Apache-2.0 licensing, low install friction, no known vulnerabilities, and broad Python version support, it is well-suited for building Salesforce integrations in Python 3.9+.
Needs verification
- Whether zeep (SOAP library) is used for SOAP API support or only as a transitive dependency.
- Performance characteristics and rate-limiting behavior when handling large record batches or complex SOQL queries.
Similar packages
permissive · top 1,000 on PyPI
pytzpermissive · top 100 on PyPI
Flask-Loginpermissive · top 1,000 on PyPI
supabase-authpermissive · top 1,000 on PyPI
scramppermissive · top 1,000 on PyPI
keyringpermissive · top 1,000 on PyPI
url-normalizepermissive · top 1,000 on PyPI
trinopermissive · top 1,000 on PyPI
djangorestframeworkpermissive · top 1,000 on PyPI
freezegunpermissive · top 1,000 on PyPI