{"id":19974375,"url":"https://github.com/amickael/create-flask-service","last_synced_at":"2025-10-14T18:06:27.673Z","repository":{"id":62565286,"uuid":"252598272","full_name":"amickael/create-flask-service","owner":"amickael","description":"Set up a Flask service with a few keystrokes","archived":false,"fork":false,"pushed_at":"2020-08-27T21:13:49.000Z","size":3126,"stargazers_count":40,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-29T07:57:42.724Z","etag":null,"topics":["command-line-tool","flask","flask-restx","microservice","python","python-3","utility"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/create-flask-service/","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/amickael.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}},"created_at":"2020-04-03T00:51:44.000Z","updated_at":"2025-08-24T10:15:15.000Z","dependencies_parsed_at":"2022-11-03T16:15:23.843Z","dependency_job_id":null,"html_url":"https://github.com/amickael/create-flask-service","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/amickael/create-flask-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amickael%2Fcreate-flask-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amickael%2Fcreate-flask-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amickael%2Fcreate-flask-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amickael%2Fcreate-flask-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amickael","download_url":"https://codeload.github.com/amickael/create-flask-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amickael%2Fcreate-flask-service/sbom","scorecard":{"id":189265,"data":{"date":"2025-08-11","repo":{"name":"github.com/amickael/create-flask-service","commit":"8eb199170092760477ca33d94a78769339e06404"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.6 not signed: https://api.github.com/repos/amickael/create-flask-service/releases/25238839","Warn: release artifact v0.1.5 not signed: https://api.github.com/repos/amickael/create-flask-service/releases/25218336","Warn: release artifact v0.1.4 not signed: https://api.github.com/repos/amickael/create-flask-service/releases/25206518","Warn: release artifact v0.1.3 not signed: https://api.github.com/repos/amickael/create-flask-service/releases/25206326","Warn: release artifact v0.1.1 not signed: https://api.github.com/repos/amickael/create-flask-service/releases/25205621","Warn: release artifact v0.1.6 does not have provenance: https://api.github.com/repos/amickael/create-flask-service/releases/25238839","Warn: release artifact v0.1.5 does not have provenance: https://api.github.com/repos/amickael/create-flask-service/releases/25218336","Warn: release artifact v0.1.4 does not have provenance: https://api.github.com/repos/amickael/create-flask-service/releases/25206518","Warn: release artifact v0.1.3 does not have provenance: https://api.github.com/repos/amickael/create-flask-service/releases/25206326","Warn: release artifact v0.1.1 does not have provenance: https://api.github.com/repos/amickael/create-flask-service/releases/25205621"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"30 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-66 / GHSA-562c-5r94-xh97","Warn: Project is vulnerable to: PYSEC-2019-179 / GHSA-5wv5-4vpf-pj6m","Warn: Project is vulnerable to: PYSEC-2023-62 / GHSA-m2qf-hxjv-5gpq","Warn: Project is vulnerable to: GHSA-43qf-4rqw-9q2g","Warn: Project is vulnerable to: GHSA-7rxf-gvfg-47g4","Warn: Project is vulnerable to: GHSA-84pr-m4jr-85g5","Warn: Project is vulnerable to: GHSA-8vgw-p6qm-5gr7","Warn: Project is vulnerable to: PYSEC-2024-71 / GHSA-hxwh-jpp2-84pm","Warn: Project is vulnerable to: PYSEC-2020-43 / GHSA-xc3p-ff3m-f46v","Warn: Project is vulnerable to: PYSEC-2021-325 / GHSA-3q6g-vf58-7m4g","Warn: Project is vulnerable to: PYSEC-2018-67 / GHSA-9q2p-fj49-vpxj","Warn: Project is vulnerable to: PYSEC-2024-232 / GHSA-6c5p-j8vq-pqhj","Warn: Project is vulnerable to: PYSEC-2024-233 / GHSA-cjwg-qfpm-7377","Warn: Project is vulnerable to: PYSEC-2017-28 / GHSA-w799-prg3-cx77","Warn: Project is vulnerable to: GHSA-2g68-c3qc-8985","Warn: Project is vulnerable to: PYSEC-2020-157 / GHSA-3p3h-qghp-hvh2","Warn: Project is vulnerable to: GHSA-f9vj-2wh5-fj8j","Warn: Project is vulnerable to: PYSEC-2019-140 / GHSA-gq9m-qvpx-68hc","Warn: Project is vulnerable to: PYSEC-2017-43 / GHSA-h2fp-xgx6-xh6f","Warn: Project is vulnerable to: PYSEC-2023-221 / GHSA-hrfv-mqp8-q5rw","Warn: Project is vulnerable to: GHSA-j544-7q9p-6xp8","Warn: Project is vulnerable to: PYSEC-2023-57 / GHSA-px8h-6qxv-m22q","Warn: Project is vulnerable to: GHSA-q34m-jh98-gwm2","Warn: Project is vulnerable to: PYSEC-2023-58 / GHSA-xg9f-g7g7-2323","Warn: Project is vulnerable to: PYSEC-2022-203","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T20:19:36.799Z","repository_id":62565286,"created_at":"2025-08-16T20:19:36.799Z","updated_at":"2025-08-16T20:19:36.799Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020323,"owners_count":26086864,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["command-line-tool","flask","flask-restx","microservice","python","python-3","utility"],"created_at":"2024-11-13T03:14:47.522Z","updated_at":"2025-10-14T18:06:27.649Z","avatar_url":"https://github.com/amickael.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub issues](https://img.shields.io/github/issues/amickael/create-flask-service)](https://github.com/amickael/create-flask-service/issues)\n![PyPI](https://img.shields.io/pypi/v/create-flask-service?color=blue)\n![PyPI - Downloads](https://img.shields.io/pypi/dw/create-flask-service?color=red)\n[![GitHub license](https://img.shields.io/github/license/amickael/create-flask-service?color=purple)](https://github.com/amickael/create-flask-service/blob/master/LICENSE)\n[![Code style](https://img.shields.io/badge/code%20style-black-black)](https://github.com/psf/black)\n\n# create-flask-service\nSet up a Flask service with a few keystrokes\n\n![create-flask-service](https://repository-images.githubusercontent.com/252598272/c0646200-75c6-11ea-90dd-94cb96cbb2de)\n\n## 👶 Dependencies\n* [Python 3.6 or higher](https://www.python.org/downloads/)\n* [Git SCM](https://git-scm.com/downloads)\n\n## 🛠️ Installation\nInstall from PyPI using `pip`, you may need to use `pip3` depending on your installation\n```sh\npip install create-flask-service\n```\n\n## 🚀 Usage\n![Demo](https://github.com/amickael/create-flask-service/blob/master/demo.gif)\n\n1. Run the `create-flask-service` command\n2. Enter your new project name, note that spaces will be converted to dashes\n3. Enter the root directory for your new project, if none is supplied then the current directory is used\n4. Watch the magic happen\n\nTo start the application run `app.py` and navigate to http://127.0.0.1:5000, you should see a blank Swagger UI page. Note that in certain IDEs like PyCharm you may need to set your working directory to the project root, this will ensure that the .env file is loaded before runtime.\n\n## ⚙️ Command Line Arguments\n\u003e Note that supplying arguments will not run the main program\n\n| Name    | Argument | Description                      | Default |\n|---------|----------|----------------------------------|---------|\n| Version | -V       | Display installed version number | False   |\n\n## 📦 What's in the box\n* Boilerplate directory structure. Adapted from [a guide by AJ Pryor](http://alanpryorjr.com/2019-05-20-flask-api-example/), author of the excellent [flask_accepts](https://github.com/apryor6/flask_accepts) library (included)\n```\n.\n├── README.md\n├── __init__.py\n├── app.py\n├── controller\n│   └── __init__.py\n├── database\n│   └── __init__.py\n├── interface\n│   └── __init__.py\n├── model\n│   └── __init__.py\n├── requirements.txt\n├── schema\n│   └── __init__.py\n├── scripts\n│   └── __init__.py\n├── service\n│   └── __init__.py\n└── utils\n    └── __init__.py\n```\n\n* Python virtual environment with the following libraries installed, remember to activate the environment before developing\n    * [flask](https://github.com/pallets/flask) - The Python micro framework for building web applications\n    * [flask-restx](https://github.com/python-restx/flask-restx) - Fully featured framework for fast, easy and documented API development with Flask\n    * [flask_accepts](https://github.com/apryor6/flask_accepts) - Easy, opinionated Flask input/output handling mixing Marshmallow with flask-restx\n    * [flask-compress](https://github.com/colour-science/flask-compress) - Compress responses in your Flask app with gzip\n    * [flask-cors](https://github.com/corydolphin/flask-cors) - Cross Origin Resource Sharing ( CORS ) support for Flask\n    * [python-dotenv](https://github.com/theskumar/python-dotenv) - Get and set values in your .env file in local and production servers\n    * [marshmallow](https://github.com/marshmallow-code/marshmallow) - A lightweight library for converting complex objects to and from simple Python datatypes\n    * [python-jose](https://github.com/mpdavis/python-jose) - A JOSE implementation in Python\n    * [werkzeug](https://github.com/pallets/werkzeug) - The comprehensive WSGI web application library\n    * [flask-sqlalchemy](https://github.com/pallets/flask-sqlalchemy) - The Database Toolkit for Python\n    * [pyodbc](https://github.com/mkleehammer/pyodbc) - Python ODBC bridge\n    * [pytest](https://github.com/pytest-dev/pytest) - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing\n    * [typing-extensions](https://github.com/python/typing/tree/master/typing_extensions)\n      * Note that this is only needed for Python \u003c3.7\n* Basic Flask and Flask-RestX configuration\n    * app.py contains basic configuration setting up Flask, Flask-SQLAlchemy, CORS, and gzip compression\n    * controller/\\_\\_init\\_\\_.py contains basic Flask-RestX configuration based on the [Flask-RestX guidelines](https://flask-restx.readthedocs.io/en/latest/scaling.html)\n    * Boilerplate code style is formatted with [Black](https://github.com/psf/black), but you may use whatever style suits you\n* Initialized git repository with a Python-specific .gitignore file\n  * Nothing will be committed automatically\n* Basic README.md file\n\n## ⚖️ License\n[MIT © 2020 Andrew Mickael](https://github.com/amickael/create-flask-service/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famickael%2Fcreate-flask-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famickael%2Fcreate-flask-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famickael%2Fcreate-flask-service/lists"}