r/PythonLearning • u/ThriVelo • 2d ago
built a full multi-user CRM using zero third-party dependencies, thoughts?
I challenged myself to build a production-ready, multi-user CRM for small agencies using strictly the Python 3.9+ standard library; zero pip packages, zero frameworks, and zero frontend build steps.
49 Second Walkthrough: https://www.loom.com/share/ee9b8507bf6c4811b6f2b6b267e90547
A few interesting standard-library implementation details:
Auth & Security: Password hashing with hashlib.scrypt + per-user random salts and hmac.compare_digest, account lockout after failed attempts, and RFC-compliant TOTP 2FA + backup codes written with hmac, struct, and time.
Database Layer: Raw sqlite3 running in WAL mode with foreign keys enforced, integer-cent currency storage (value_cents) using decimal.Decimal to avoid float rounding bugs, automated schema migrations via PRAGMA table_info, and a 200-row audit trail.
CRM Features: Multi-pipeline Kanban boards, stage-duration tracking (stage_at) to flag stale deals, duplicate contact merging, CSV import/export, role/field-level visibility masking (HIDEABLE fields), outbound webhooks, and automated daily .db backups.
Would love feedback from other Python devs on what else you'd expect in a zero-dependency internal tool!
Thank you ahead, for your time!