Introduction
A pythonic binding for the SugarCRM SOAP interface, make it possible to use objects as if they were local ie:
>>> import pysugar >>> sugar_user = 'myuser' >>> sugar_password = 'mypassword' >>> sugar_base_url = 'http://myserver/sugar' >>> sugar_debug = False >>> sugar_session = pysugar.SugarSession( ... sugar_user, sugar_password, sugar_base_url, sugar_debug) >>> sugar_store = pysugar.SugarStore(sugar_session) >>> sugar_lead = sugar_store.m.Leads.add() >>> sugar_lead.first_name = 'Test Lead' >>> sugar_lead.post() >>> print sugar_lead.id 929a26ac-fc47-3232-20a6-4534cdb3290e
then you can test the result in another session
…(initialization stuff):
>>> id = '929a26ac-fc47-3232-20a6-4534cdb3290e' >>> sugar_lead = sugar_store.m.Leads.get(id) >>> print sugar_lead.first_name
id being the previously obtained id string from the sugar server
Makina Corpus sponsored software
Metadata
Release files for pysugarNG 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysugarNG-0.0.7.zip | 26.6 kB | Without provenance | Details for pysugarNG-0.0.7.zip |
Release files / pysugarNG-0.0.7.zip
| Download URL | pysugarNG-0.0.7.zip |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebaee66e2794563d23047ff89daa1d5b0ed496649f3502b35a4a42f4dcc29fe8
|
|
BLAKE2b-256 checksum How to use checksums |
651e2d77d2ef4b8debb91e5f1a01567dd78757d2dfc855520bcf7e3790a14ed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pysugarNG 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.