Metadata-Version: 2.4
Name: aitwi-crm
Version: 0.1.0
Summary: The business system, as a Python library: every CRM function, run for your business
License: MIT
Project-URL: Homepage, https://iwantaiformybusiness.com
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# aitwi-crm

The business system, as a Python library — every function of your business's CRM (contacts, deals, conversations,
calendars, invoices and the rest), each run for your business only and recorded on your business's own graph.
Python's standard library only.

```bash
pip install aitwi-crm
export CRM_KEY=bk_…          # your business's account key
```

```python
from crm import CRM, CRMError

crm = CRM()
contact = crm.contacts.get_contact(contact_id="abc")
crm.contacts.create_contact(request_body={"firstName": "Ada", "email": "ada@example.com"})
print(crm.records())         # how many records of each kind your business holds
```

Every request body is a typed dict (`crm.bodies`). Your business's own account is filled in for you, so no function asks
for it. A refusal raises `CRMError`; `.refused` is true when the function moves money — ask your human user to do it.

MIT licensed.
