function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
zbeckmanzbeckman 

Pointers on Python integration to Salesforce

I haven't found much evidence of Python support in the APIs. I've done PHP integration using the older (version 5) API and we are now moving to Python. Any pointers would be appreciated... I'm hoping it's not a "build it from scratch" situation (although, how hard could it be really)?
kshuk-canonicalkshuk-canonical
A decent place to start is Simon Fell's Beatbox: http://www.pocketsoap.com/beatbox/
It's compact and it'll get you talking with the Apex API with Python.

I've got a library I've been working on for quite some time. It's been through several iterations using various Python SOAP libraries, but I've settled on Simon's beatbox as the core due to its simplicity, although I've updated it to use the 9.0 API. The point of the pyax library is to allow the developer to access the objects and such "pythonically."

Anyway, if you're feeling adventurous, it's at http://www.launchpad.net/pyax
You'll need the bazaar version control system to get it from launchpad (I don't have a tarball release yet), but that's freely available from http://www.bazaar-vcs.org. It's a departure from the more conventional CVS or Subversion systems, but it's better suited to distributed development.

I'm not going to pretend that it's complete and fully documented, but it should be ready for CRUD work.

And, of course, if you're interested in hacking on it at all, I'll be happy to have input from real users.
aezellaezell
kshuk,
I recently installed pyax and am playing around with it quite a bit as we look to spec'ing out an SF integration project.

Just wanted to say that I like what I see so far. Thanks for your work on the project.