Organizations with complex installations of Salesforce often find themselves in need of hosting Salesforce application logic externally. To that end, we have created a Python library to help ease the burden you might be feeling internally. Why might you want to do this?
- Do you have logic that does not need to be run instantaneously with triggers but still needs to be run frequently but you are out of scheduled classes and don’t want to hack something together to make it work? e.g. You have a dozen jobs you want to run hourly?
- Do you need to make web service callouts but the challenges imposed by Salesforce are too cumbersome? e.g. You are working with Google or some other API where you have a limit and cannot make callouts to them more than once per second.
- Do you want to create other tools that run on an ad hoc basis? e.g. You want a tool that can more easily migrate data among environments to make testing easier.
- Do you have local databases on a domain that doesn’t have any external web service access? e.g. You need a job that can connect to both Salesforce and a database to help update those records with data that isn’t already stored in Salesforce.
These are just a few issues you may have already encountered or are running into now. Hopefully this framework can help in current state. If not, we will continue to work on it and add new features.
You can find PySalesforce here.