{"id":14065255,"url":"https://github.com/abstractkitchen/flask-backbone","last_synced_at":"2025-07-29T20:31:52.978Z","repository":{"id":222568531,"uuid":"525123543","full_name":"abstractkitchen/flask-backbone","owner":"abstractkitchen","description":"[2023] Modern Flask Boilerplate with a well-organised structure.","archived":false,"fork":false,"pushed_at":"2023-03-20T13:50:56.000Z","size":37,"stargazers_count":66,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T07:08:29.062Z","etag":null,"topics":["boilerplate","flask","flask-sqlalchemy","jinja2","python","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://abstractkitchen.com/blog/flask-backbone/","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/abstractkitchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2022-08-15T20:06:52.000Z","updated_at":"2024-07-12T15:28:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"10d7d37b-64df-4f4a-a12b-7ce7b5fc97c9","html_url":"https://github.com/abstractkitchen/flask-backbone","commit_stats":null,"previous_names":["abstractkitchen/flask-backbone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abstractkitchen%2Fflask-backbone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abstractkitchen%2Fflask-backbone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abstractkitchen%2Fflask-backbone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abstractkitchen%2Fflask-backbone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abstractkitchen","download_url":"https://codeload.github.com/abstractkitchen/flask-backbone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228046117,"owners_count":17861101,"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":["boilerplate","flask","flask-sqlalchemy","jinja2","python","sqlalchemy"],"created_at":"2024-08-13T07:04:23.531Z","updated_at":"2024-12-04T04:30:55.594Z","avatar_url":"https://github.com/abstractkitchen.png","language":"Python","readme":"# Flask-Backbone\n#### _Your Next Flask Boilerplate_\n\n![Create sitemaps with Sitemapa](https://abstractkitchen.com/static/flask-backbone/flask-backbone-boilerplate.jpg \"Flask-Backbone\")\n\n## UPD: March 15, 2023\n- Removed alembic from the codebase. You can install by yourself.\n- Removed SQLAlchemy extensions to avoid unnecessary complexity in the blueprint. \n- Added .env support for the application config with from_prefixed_env. Check app.py for the details.\n  - Access FLASK_MY_CONFIG_PROP as app.config.get(\"MY_CONFIG_PROP\"). \n  - Priorities: .env \u003e config/{env}.py \u003e instance/config.py. Instance folder config is top priority.\n- SQLAlchemy 2 support\n- Added [Python Typing](https://docs.python.org/3/library/typing.html)\n- Moved to Python 3.11\n\n## Features\n- Predefined basic structure, so you'll end up with a clean architecture.\n- Database support via **SQLAlchemy**. However, you can skip database setup and use Flask-Backbone without the database. I also do not use Flask-SQLAlchemy, but you can.\n- Development/Production/You own configs with **instance_relative_config**.\n- Cache support via **flask_caching**. Setup easily with configuration.\n- **Flask-Debug**\n- **Sentry** support. Just add your DSN, and you're good to go.\n- **Jinja** filters and custom variables.\n- Designed to be **blueprint-first**. Keep your structure clean and steady with blueprints. Everything is a blueprint. Your future self will thank you.\n- Interactive commands to create your next blueprint. Define your blueprint skeletons to speed up your development. To create your next blueprint simply run flask app create-blueprint. It's up to you and you can completely ignore or remove this part and everything will work perfectly fine.\n- Initial setup with a configuration script.\n- WSGI config\n\n## Getting Started\n\n**Note: Tested with Python 3.11**\n\n**1 — Clone flask-backbone.**\n\n`git clone https://github.com/abstractkitchen/flask-backbone.git .`\n\n**2** — As a rule of thumb, make sure that you use a virtual environment. For example python3 -m venv pythonenv. This will create an environment in the folder pythonenv. I prefer to name my python environment as a pythonenv, because it's more descriptive.\n\n`python3 -m venv pythonenv`\n\n`. pythonenv/bin/activate`\n\n`pip install -r requirements.txt`\n\n**3** — Launch configure.py. It will ask you some question about your future setup.\n`python configure.py`\n\nThis utility will create: .env and instance/config.py.\n\n\n## Usage\nPlease read this article. You'll learn more details about the boilerplate and Flask.\n\n[Read about usage on my website](https://abstractkitchen.com/blog/flask-backbone/).\n\n## Contacts\n- [visit abstractkitchen.com](https://abstractkitchen.com)\n- drop me a line: dmitry@abstractkitchen.com\n- [connect with me on reddit](https://www.reddit.com/user/denisberezovsky)\n\n## License\n\nMIT","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabstractkitchen%2Fflask-backbone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabstractkitchen%2Fflask-backbone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabstractkitchen%2Fflask-backbone/lists"}