salesforce-bulk
Python interface to the Salesforce.com Bulk API.
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is actively maintained, permissively licensed, and widely downloaded (top 5000 on PyPI), making it a reliable choice for Salesforce bulk operations. However, the high install friction warrants investigation before deployment; verify dependency specifications and Python version support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Salesforce credentials (username, password, security_token) or sessionId and instance URL.
- High install friction reported; package has been actively maintained with a recent commit on 2026-07-27 and is marked Production/Stable, though no runtime dependencies are declared.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package with minimal restrictions, though you must include the license text.
last release 2020-11-12 (2101 days) · last repo commit 2026-07-27 · 214 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,229,191 downloads/mo, #2,693 on PyPI
Alternatives
Verify before relying
pip install salesforce-bulk
from salesforce_bulk import SalesforceBulk
bulk = SalesforceBulk(username=username, password=password, security_token=security_token)
job = bulk.create_query_job("Contact", contentType='JSON')
batch = bulk.query(job, "select Id,LastName from Contact")
bulk.close_job(job)- Whether simple-salesforce is a runtime dependency or only mentioned in documentation.
- Current state of Python 3.9+ support (classifiers list only up to 3.8).
- Whether the high install_friction reflects a known issue or a data artifact.
What it is and what it does
Salesforce-bulk is a Python wrapper around Salesforce's asynchronous Bulk API, designed to handle large-scale data operations on Salesforce objects. It abstracts the job-batch workflow (create job, add batches, close, poll for completion) into a simple client interface, supporting query, queryAll, insert, update, and delete operations in both JSON and CSV formats.
The library handles authentication via password-based login or session ID, streams data efficiently through the post_batch method to avoid memory overhead on large datasets, and provides utilities like CsvDictsAdapter to convert Python dictionaries to CSV format. It also supports advanced features such as PK Chunking for querying large record sets and concurrency mode selection (Serial or Parallel).
Use it for
- Bulk export of Salesforce records (contacts, accounts, opportunities) to JSON or CSV for reporting or data warehousing.
- Batch import of thousands of new records into Salesforce from external data sources without hitting API rate limits.
- Periodic synchronization of Salesforce data with external systems using the asynchronous Bulk API.
- Large-scale updates or deletions of Salesforce records where individual API calls would be too slow or costly.
- Querying large Salesforce objects with PK Chunking enabled to parallelize retrieval and avoid timeout issues.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is actively maintained, permissively licensed, and widely downloaded (top 5000 on PyPI), making it a reliable choice for Salesforce bulk operations. However, the high install friction warrants investigation before deployment; verify dependency specifications and Python version support.
Install
salesforce-bulk on PyPI
Before you install
High install friction reported; package has been actively maintained with a recent commit on 2026-07-27 and is marked Production/Stable, though no runtime dependencies are declared.
Requires Salesforce credentials (username, password, security_token) or sessionId and instance URL.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package with minimal restrictions, though you must include the license text.
Quickstart
pip install salesforce-bulk
from salesforce_bulk import SalesforceBulk
bulk = SalesforceBulk(username=username, password=password, security_token=security_token)
job = bulk.create_query_job("Contact", contentType='JSON')
batch = bulk.query(job, "select Id,LastName from Contact")
bulk.close_job(job)
Verify before relying
- Whether simple-salesforce is a runtime dependency or only mentioned in documentation.
- Current state of Python 3.9+ support (classifiers list only up to 3.8).
- Whether the high install_friction reflects a known issue or a data artifact.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Actively maintained 2,101 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,229,191 / month, #2,693 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: salesforce-bulk-2.2.0.tar.gz
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 bulk api client”
- salesforce-bulkPython client library for the Salesforce Bulk API, enabling…
- salesforce-apiWraps Salesforce's REST and SOAP APIs to insert, update, upsert,…
- simple-salesforceA REST API client for Salesforce that provides low-level access to…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also django-bulk-update · salesforce-api · simple-salesforce · surge-api · djangorestframework-bulk · apache-airflow-providers-salesforce · django-pg-bulk-update · instructure-dap-client · td-client · all-packages