Repository navigation
First stable release of Contact Manager CLI, a command-line contact manager in pure Python.
Features
- Add, view, update, and delete contacts, with confirmation before deleting
- Search by exact ID or by part of a name, phone, or email
- Phone and email validation that asks again when a value is invalid
- Warnings before saving a phone or email that is already in use
- Clear a phone or email while updating by entering
- - Export contacts to a CSV file that opens in spreadsheets
Data Protection
- Atomic saves: a failed save leaves the previous file intact
- Damaged files are kept as
contacts.json.corrupt-<timestamp>before continuing - Valid records are recovered from partly damaged files
- Changes are reported as successful only after they are saved
Requirements
- Python 3.12 or higher
- No external dependencies
Getting Started
Download and extract the source code below, then run this command from the project root:
python -m app.mainTests run on Linux and Windows with Python 3.12, 3.13, and 3.14.