Skip to content

Latest commit

 

History

History
70 lines (42 loc) · 1005 Bytes

readme.md

File metadata and controls

70 lines (42 loc) · 1005 Bytes

Backend Frameworks

Python 3.11

A series of framework classes to facilitate database management, user account creation and subscription processing.

Setup .venv

Ensure virtualenv command is available and run:

virtualenv -p=3.11 .venv

MAC:

source .venv/bin/activate

WIN:

.\venv\Scripts\activate

Requirements:

pip install -r requirements.txt
  • boto3: AWS Python Client
  • moto: Mock boto3 for offline testing
  • pytest: For testing
  • pytest-watcher: Watch for file updates

plus sub dependencies

Testing:

Pytest is used for testing by running

pytest

Or with logging enabled

pytest -o log_cli=true

Watch for file changes and re-run tests with pytest-watcher

ptw .

Use breakpoint() to step through code and run

pytest -s