Flask web where you can save products from Amazon to observe prices along a period of time
gcloud app deploy
pip install -r requirements.txt
flask run
pip install -r requirements-tests.txt
./check_app.sh
or
coverage run -m pytest -v && coverage html --omit=*/venv/*,*/tests/*
PROXY=N
LEVEL_LOG = ["DEBUG", "INFO", "WARNING", "ERROR"]
# To use Supabase PostgreSQL DB
DATABASE_URL=
# SQlite database data (only for local)
DB_SQLITE_URL=sqlite://
DB_SQLITE_NAME=primazon.db
# MailJet keys
MAILJET_APIKEY_PUBLIC=...
MAILJET_APIKEY_PRIVATE=...
RECEIVER_EMAIL=...
- 1.6.0 Send email from cron when prices change
- 1.5.0 New cron for checking product prices in background
- 1.4.0 New screen vision and cron process to validate prices
- 1.3.0 New DB hosting
- 1.2.0 New Log model integrated
- 1.1.0 Adaptations to ORM SQLAlchemy
- Send emails with smtplib and ssl
- Scraping web with selectorlib and BeautifulSoup
- Use MailJet as free SMTP server (mailjet-apiv3-python): https://dev.mailjet.com/