Data Import in Django
summary
A Django-based web workflow for small CSV imports that compiles a human-readable graph into a standalone Python file and creates one class per task with pre/post conditions and a shared in-process dict. It uses CSV parsing, an FTP connector and a cron-like scheduler, runs at ~700–750 LOC and handles real imports up to ~15,000 rows (larger files require sharding). The project aims to keep a clear diagram while keeping editable Python code and is in production use but still maturing.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:08Small-scale import challenges
- 3:46Django package limits
- 6:14Python for simple imports
- 8:52Workflow system drawbacks
- 11:21Introducing Keitel
- 12:52Keitel’s design
- 15:47Scheduling and activity types
- 17:14Preconditions and postconditions
- 19:02Keitel’s Python output
- 20:31Abstraction benefits
- 22:22Keitel pros and cons
- 23:51Web-based features
- 24:40Shared memory
- 26:49Parameterization
- 27:14Code example
- 30:15Activity classes
- 32:10Maturity and scalability
- 33:24Q&A file size
- 35:38Future plans
- 37:03Cross-database
- 38:15Final Q&A
