cortova
Official Python SDK for the Cortova CRM API.
pip install cortova
Quickstart
from cortova import Cortova
ctv = Cortova(api_key="ctv_...")
# Single page
page = ctv.companies.list(limit=25)
print(page.count, len(page.items), page.next_cursor)
# Auto-paginated iterator — handles cursors for you
for lead in ctv.leads.iter():
print(lead["companyName"])
# Create a record
new = ctv.companies.create(name="Acme Corp", industry="SaaS")
print(new["id"])
Reads CORTOVA_KEY from the environment when api_key isn't passed.
What's covered
ctv.companies—list,get,create,iter,contacts,iter_contactsctv.leads—list,get,create,iterctv.opportunities—list,get,iter(status="open" | "won" | "lost" | "all")ctv.activities—list,iterctv.tasks—list,get,iter(active_only=True|False)ctv.pipelines—list,get,iter
Every iter() paginates automatically with cursors — no manual after/limit bookkeeping.
Errors
from cortova import Cortova, CortovaError
try:
ctv.companies.get("not-real")
except CortovaError as e:
print(e.status, e.body)
License
Apache-2.0.
Metadata
Release files for cortova 0.1.0
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 |
|---|---|---|---|---|
| cortova-0.1.0.tar.gz | 3.4 kB | Without provenance | Details for cortova-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cortova-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cortova-0.1.0-py3-none-any.whl |
Total release size: 7.2 kB
Release files / cortova-0.1.0.tar.gz
| Download URL | cortova-0.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52f5d96379d106f8d74d9de34062d6712d6268eadfa35404fb252f181be74bb3
|
|
BLAKE2b-256 checksum How to use checksums |
e7f6bd32c378e1b509225349c85064d64c8da889671363eec049aec2c28279c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / cortova-0.1.0-py3-none-any.whl
| Download URL | cortova-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5aae9b0d0a19b5b9d70dfb02470e079c5ac84e3ca8205e513a5d8af746b26523
|
|
BLAKE2b-256 checksum How to use checksums |
3c6e55515480199accee7ff0e20cde4c247c4dc1958ebb4f83aa5428e19cef94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for cortova 0.1.0
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.