PyCRMKit
Headless, framework-agnostic CRM building blocks for Python applications.
Build customer relationship workflows without running a full CRM server. PyCRMKit provides a typed domain model, a Python facade, events and pluggable persistence; your application controls its API, identity and deployment.
Features
- CRM: contacts, organizations, relationships, tags and custom fields.
- Sales & activities: leads, opportunities, pipelines, tasks and customer timelines.
- Segmentation & campaigns: saved queries, segment membership, Campaign metadata, audiences and attribution references.
- Automation: domain events, audit history, webhooks and provider-neutral email workflows.
- Data operations: CSV/JSON/JSONL import and export, external identities, duplicate review and contact merge.
- Integrations: in-memory storage, SQLAlchemy/PostgreSQL, FastAPI, Django and Django REST Framework.
Installation
Requires Python 3.11–3.13. For a version available on PyPI:
python -m pip install pycrmkit
For the latest source checkout (including versions not yet published):
git clone https://github.com/tawounfouet/pycrmkit.git
cd pycrmkit
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
Quickstart
from pycrmkit import CRM
from pycrmkit.core.references import EntityReference
crm = CRM.memory()
contact = crm.contacts.create(first_name="Ada", last_name="Lovelace")
contact_ref = EntityReference("contact", contact.id)
task = crm.tasks.create(title="Prepare follow-up", references=(contact_ref,))
crm.tasks.complete(task.id)
for entry in crm.timeline.for_contact(contact.id).items:
print(entry.title)
CRM.memory() requires no database or web framework. Add an adapter for durable storage or HTTP endpoints.
Architecture
Application → CRM facade → Domain services & events → Repository contracts → Adapters
The core has no mandatory third-party runtime dependencies. SQLAlchemy, PostgreSQL, FastAPI, Django/DRF and email integrations are opt-in.
Scope: Campaigns manage metadata, audiences and references; they do not send marketing messages. Host applications must enforce authentication, tenant authorization and database migration ownership.
Documentation
Release availability: Check the GitHub Releases page and PyPI independently. A version present in source control is not necessarily published on either platform.
Development
python -m pip install -e ".[dev]"
pytest
License
MIT © 2026 Thomas Awounfouet.
Metadata
Release files for pycrmkit 1.2.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 |
|---|---|---|---|---|
| pycrmkit-1.2.0.tar.gz | 282.9 kB | Without provenance | Details for pycrmkit-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycrmkit-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for pycrmkit-1.2.0-py3-none-any.whl |
Total release size: 737.2 kB
Release files / pycrmkit-1.2.0.tar.gz
| Download URL | pycrmkit-1.2.0.tar.gz |
|---|---|
| Size | 282.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01c0b282ca665a99c247c327513831db67aba2c3506248e9997e37dbcf608c9c
|
|
BLAKE2b-256 checksum How to use checksums |
0ca381e9d70713d585d48fe30d6bca55630db08cd599c72e6e9b4146f13d0ee2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / pycrmkit-1.2.0-py3-none-any.whl
| Download URL | pycrmkit-1.2.0-py3-none-any.whl |
|---|---|
| Size | 454.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83584d2566b1578558e0c04af564a8e3969f128c5d9db41e96d686f6d3a64350
|
|
BLAKE2b-256 checksum How to use checksums |
bc4ef91ff47928691eca7090eaf8b9cf24fee7669ff219ec0f5d943dca7d43f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for pycrmkit 1.2.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.