{"id":26440322,"url":"https://github.com/preocts/flask_playground","last_synced_at":"2025-03-18T09:27:42.714Z","repository":{"id":243449856,"uuid":"812467081","full_name":"Preocts/flask_playground","owner":"Preocts","description":"A testing repo","archived":false,"fork":false,"pushed_at":"2024-06-29T06:20:04.000Z","size":744,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T23:46:14.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Preocts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T01:20:38.000Z","updated_at":"2024-06-29T06:20:08.000Z","dependencies_parsed_at":"2024-06-29T05:20:22.250Z","dependency_job_id":"e5408ccd-8af1-4c40-ac56-5fa1d0ec2397","html_url":"https://github.com/Preocts/flask_playground","commit_stats":null,"previous_names":["preocts/flask_playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preocts%2Fflask_playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preocts%2Fflask_playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preocts%2Fflask_playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preocts%2Fflask_playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Preocts","download_url":"https://codeload.github.com/Preocts/flask_playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244191621,"owners_count":20413334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-18T09:27:42.198Z","updated_at":"2025-03-18T09:27:42.702Z","avatar_url":"https://github.com/Preocts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Python 3.11 | 3.12](https://img.shields.io/badge/Python-3.11%20%7C%203.12-blue)](https://www.python.org/downloads)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Preocts/flask_playground/main.svg)](https://results.pre-commit.ci/latest/github/Preocts/flask_playground/main)\n[![Python tests](https://github.com/Preocts/flask_playground/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/Preocts/flask_playground/actions/workflows/python-tests.yml)\n\n# flask_playground\n\n\nPizza datasource: [download](https://www.kaggle.com/datasets/mexwell/pizza-sales)\n\n\n## Dev Setup\n\nAssumes use of a virtual environment (venv)\n\n### Install all dependencies and editable package\n\n`python -m pip install -e .[dev,test]; pre-commit install`\n\n### Build a database file\n\n`python -m flask_playground.pizzastore`\n\n### Set app secret key (optional)\n\n`export FLASK_APP_SECRET_KEY=$(python -c \"import secrets; print(secrets.token_hex(32))\")`\n\nA random key will be assigned to the app if not present in the environment\nvariables on launch. This will work in most cases but all sessions will be\ninvalidated on each launch.\n\n### Launch test server\n\n`python -m flask_playground.app`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreocts%2Fflask_playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreocts%2Fflask_playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreocts%2Fflask_playground/lists"}