├── .gitignore ├── .travis.yml ├── Makefile ├── Procfile ├── README.md ├── app.json ├── app.py ├── config.json ├── requirements-test.txt ├── requirements.txt ├── setup.cfg ├── setup.py ├── static └── util.js ├── templates ├── demo.html ├── results.html └── success.html └── test ├── fixtures ├── GitHub_emojis.json ├── global_preserve_exact_body_bytes.json ├── history_failure.json ├── history_success.json ├── me_failure.json ├── me_success.json ├── preserve_exact_bytes.json ├── price_estimates_failure.json ├── price_estimates_success.json ├── products_failure.json ├── products_success.json ├── submit_failure.json ├── time_estimates_failure.json └── time_estimates_success.json └── test_endpoints.py /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.egg-info 3 | .coverage 4 | env/ 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/.travis.yml -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/Makefile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn app:app --log-file=- 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/README.md -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/app.json -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/app.py -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/config.json -------------------------------------------------------------------------------- /requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/requirements-test.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 100 3 | exclude = env 4 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/setup.py -------------------------------------------------------------------------------- /static/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/static/util.js -------------------------------------------------------------------------------- /templates/demo.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/templates/demo.html -------------------------------------------------------------------------------- /templates/results.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/templates/results.html -------------------------------------------------------------------------------- /templates/success.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/templates/success.html -------------------------------------------------------------------------------- /test/fixtures/GitHub_emojis.json: -------------------------------------------------------------------------------- 1 | {"http_interactions": [], "recorded_with": "betamax/0.4.0"} -------------------------------------------------------------------------------- /test/fixtures/global_preserve_exact_body_bytes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/global_preserve_exact_body_bytes.json -------------------------------------------------------------------------------- /test/fixtures/history_failure.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/history_failure.json -------------------------------------------------------------------------------- /test/fixtures/history_success.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/history_success.json -------------------------------------------------------------------------------- /test/fixtures/me_failure.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/me_failure.json -------------------------------------------------------------------------------- /test/fixtures/me_success.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/me_success.json -------------------------------------------------------------------------------- /test/fixtures/preserve_exact_bytes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/preserve_exact_bytes.json -------------------------------------------------------------------------------- /test/fixtures/price_estimates_failure.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/price_estimates_failure.json -------------------------------------------------------------------------------- /test/fixtures/price_estimates_success.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/price_estimates_success.json -------------------------------------------------------------------------------- /test/fixtures/products_failure.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/products_failure.json -------------------------------------------------------------------------------- /test/fixtures/products_success.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/products_success.json -------------------------------------------------------------------------------- /test/fixtures/submit_failure.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/submit_failure.json -------------------------------------------------------------------------------- /test/fixtures/time_estimates_failure.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/time_estimates_failure.json -------------------------------------------------------------------------------- /test/fixtures/time_estimates_success.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/fixtures/time_estimates_success.json -------------------------------------------------------------------------------- /test/test_endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdminTurnedDevOps/Python-Sample-Application/HEAD/test/test_endpoints.py --------------------------------------------------------------------------------