{"id":22894264,"url":"https://github.com/clearcodehq/sfbulk","last_synced_at":"2025-07-07T18:41:28.179Z","repository":{"id":17178735,"uuid":"19946088","full_name":"ClearcodeHQ/sfbulk","owner":"ClearcodeHQ","description":"Python wrapper for Salesforce Bulk API","archived":false,"fork":false,"pushed_at":"2017-11-29T15:00:18.000Z","size":701,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T13:37:09.581Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://clearcode.github.io/sfbulk/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClearcodeHQ.png","metadata":{"files":{"readme":"Readme.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-19T15:00:01.000Z","updated_at":"2020-03-06T05:59:04.000Z","dependencies_parsed_at":"2022-09-11T01:41:20.020Z","dependency_job_id":null,"html_url":"https://github.com/ClearcodeHQ/sfbulk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClearcodeHQ%2Fsfbulk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClearcodeHQ%2Fsfbulk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClearcodeHQ%2Fsfbulk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClearcodeHQ%2Fsfbulk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClearcodeHQ","download_url":"https://codeload.github.com/ClearcodeHQ/sfbulk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552972,"owners_count":20795835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T23:17:21.346Z","updated_at":"2025-03-31T22:38:30.477Z","avatar_url":"https://github.com/ClearcodeHQ.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"sfbulk\n=======\n*Development Status :: 2 - Pre-Alpha*\n\nsfbulk is a Python API wrapper for the `Salesforce.com's`_ Bulk API.\n####################################################################\n\n\n.. _Salesforce.com's: http://www.salesforce.com/\n\n\n**Salesforce.com Inc.** is a global cloud computing company\nbest known for its customer relationship management (CRM) product.\n\nSalesforce.com provides different types of `API`_.\nThe `Bulk API`_ provides programmatic access that allow you to quickly load a big parties of your organization's data into the Salesforce.\n\n.. _API: https://www.salesforce.com/us/developer/docs/api_asynch/Content/asynch_api_intro.htm\n\n.. _Bulk API: https://www.salesforce.com/us/developer/docs/api_asynch/\n\nWhy sfbulk?\n-----------\n\n**sfbulk** attempts to alleviate many of the problems programmers might experience\nwith Salesforce.com's' Bulk API by providing a \ncleaner, simpler and much more coherent API.\n\n- You don't need to care of a creating **XML** for **SOAP** requests *(if you're here, you're aware of how it is with SOAP in Python...)*\n- You can use the high `limits`_ of processing records (compared to Rest API)\n- You can use it as an **programming** alternative to **clicking** `Data Loader`_\n- You can control **sfbulk** operations by **Salesforce Bulk API monitor**\n\n\n.. _limits: https://www.salesforce.com/us/developer/docs/api_asynch/Content/asynch_api_concepts_limits.htm\n.. _Data Loader: https://developer.salesforce.com/page/Data_Loader\n.. _Salesforce Bulk API monitor: \n\n**sfbulk** supports most all of the Salesforce.com's Bulk API functionality \nincluding:\n\n- query\n- insert\n- update\n- upsert\n- delete\n\na large number of records asynchronously by submitting batches\nwhich are processed in the background by Salesforce.\n\nExample\n-------\n\nHere is a simple example of a basic **insert** operation for **Campaign** object processed with **sfbulk**.\n\n.. code-block:: python\n\n\n    from sfbulk import Bulk, logger\n    from time import sleep\n\n    # enable logging\n    logger.setLevel(logging.DEBUG)\n\n\n    # initialize bulk\n    bulk = Bulk()\n    bulk.login('username', 'password', 'security_token')\n\n    # create job\n    bulk.job_create('insert', 'Campaign')\n\n    # create batch\n    data = 'Name\\none\\ntwo\\nthree'\n    bulk.batch_create(data)\n\n    # wait until job is completed\n    while (not bulk.job_is_completed()):\n        sleep(10)\n\n    # close job\n    bulk.job_close()\n\n\nDocumentation\n-------------\n\nLearn more from `documentation`_.\n\n.. _documentation: http://clearcode.github.io/sfbulk/\n\n\nLicense\n-------\n\nsfbulk is distributed under the `GPL License`_.\n\n.. _GPL License: http://www.gnu.org/licenses/gpl.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclearcodehq%2Fsfbulk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclearcodehq%2Fsfbulk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclearcodehq%2Fsfbulk/lists"}