{"id":19041176,"url":"https://github.com/ricardochaves/flask_template","last_synced_at":"2026-05-17T19:04:39.336Z","repository":{"id":45329450,"uuid":"159067299","full_name":"ricardochaves/flask_template","owner":"ricardochaves","description":"A Flask API base template","archived":false,"fork":false,"pushed_at":"2023-05-01T20:56:51.000Z","size":19,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-21T22:41:40.593Z","etag":null,"topics":["flask","python3"],"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/ricardochaves.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":"2018-11-25T19:36:27.000Z","updated_at":"2019-07-17T01:56:55.000Z","dependencies_parsed_at":"2024-11-08T22:28:03.155Z","dependency_job_id":"0c67e458-4b2c-4093-a52e-dd7b3c7fe814","html_url":"https://github.com/ricardochaves/flask_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ricardochaves/flask_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardochaves%2Fflask_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardochaves%2Fflask_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardochaves%2Fflask_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardochaves%2Fflask_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricardochaves","download_url":"https://codeload.github.com/ricardochaves/flask_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardochaves%2Fflask_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33151625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","python3"],"created_at":"2024-11-08T22:27:41.813Z","updated_at":"2026-05-17T19:04:39.309Z","avatar_url":"https://github.com/ricardochaves.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask_template\n\n[![Build Status](https://travis-ci.org/ricardochaves/flask_template.svg?branch=master)](https://travis-ci.org/ricardochaves/flask_template) [![Coverage Status](https://coveralls.io/repos/github/ricardochaves/flask_template/badge.svg?branch=master)](https://coveralls.io/github/ricardochaves/flask_template?branch=master) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) [![Maintainability](https://api.codeclimate.com/v1/badges/cf419e1537019ed23b51/maintainability)](https://codeclimate.com/github/ricardochaves/flask_template/maintainability) [![Updates](https://pyup.io/repos/github/ricardochaves/flask_template/shield.svg)](https://pyup.io/repos/github/ricardochaves/flask_template/) [![Python 3](https://pyup.io/repos/github/ricardochaves/flask_template/python-3-shield.svg)](https://pyup.io/repos/github/ricardochaves/flask_template/) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/3affcb2f1dff44288c894d79fa3f0ac7)](https://www.codacy.com/app/ricardochaves/flask_template?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=ricardochaves/flask_template\u0026utm_campaign=Badge_Grade)\n[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/ricardochaves/flask_template/blob/master/LICENSE)\n\n---\n\nA Flask API base template\n\n## Env file\n\nCreate a `.env` fila on project root, see [`.example.env`](https://github.com/ricardochaves/flask_template/blob/master/.exemple.env):\n\n```INI\n# FLASK\nFLASK_APP=app.py\nPORT=5005\nDEBUG=True\nLOGGIN_LEVEL=DEBUG\n\n# Docker\nPYTHONUNBUFFERED=1\n```\n\n## Lint\n\nThe project already has some lints set up\n\n### Black\n\nThe project use [black](https://github.com/ambv/black/) and has a pre commit to ensure the application whenever a commit happens. The configuration can be find in [`.pre-commit-config.yaml`](https://github.com/ricardochaves/flask_template/blob/master/.pre-commit-config.yaml). More information [here](https://github.com/ambv/black/#version-control-integration).\n\nThe black configuration can be find in [`pyproject.toml`](https://github.com/ricardochaves/flask_template/blob/master/pyproject.toml)\n\n### Pylint\n\nThe configuration for Pylint can be found in [`pylintrc`](https://github.com/ricardochaves/flask_template/blob/master/.pylintrc).\n\n### Pep8 and Flake8\n\nThe configuration can be found in [`setup.cfg`](https://github.com/ricardochaves/flask_template/blob/master/setup.cfg)\n\n## Test\n\nTo run the tests just run `tox`.\n\nOr run with docker `docker-compose run --rm web_test`\n\nThe tox configuration can be found in [`tox.ini`](https://github.com/ricardochaves/flask_template/blob/master/tox.ini)\n\n## VsCode\n\nIf you use [VSCode](https://code.visualstudio.com/), this is a sugestion to `settings.json`\n\n```json\n{\n  \"python.pythonPath\": \".venv/bin/python\",\n  \"files.exclude\": {\n    \"**/.git\": true,\n    \"**/__pycache__\": true,\n    \"**/*.pyc\": true\n  },\n  \"editor.formatOnSave\": true,\n  \"python.formatting.provider\": \"black\",\n  \"python.formatting.autopep8Args\": [\"--max-line-length=120\"],\n  \"python.formatting.blackArgs\": [\"--line-length=120\"],\n  \"python.linting.flake8Enabled\": true,\n  \"python.linting.pylintArgs\": [\"--load-plugins pylint_flask\"],\n  \"python.sortImports.args\": [\"-sl\", \"-l 120\"],\n  \"editor.codeActionsOnSave\": {\n    \"source.organizeImports\": true\n  }\n}\n```\n\n## Routes\n\n[Variable Rules](http://flask.pocoo.org/docs/1.0/quickstart/#variable-rules)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardochaves%2Fflask_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricardochaves%2Fflask_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardochaves%2Fflask_template/lists"}