{"id":32124247,"url":"https://github.com/cstrap/flask-snippets","last_synced_at":"2026-03-15T16:37:46.582Z","repository":{"id":22153257,"uuid":"91469138","full_name":"cstrap/flask-snippets","owner":"cstrap","description":"Flask snippets for Visual Studio Code","archived":false,"fork":false,"pushed_at":"2023-06-16T13:19:35.000Z","size":40,"stargazers_count":68,"open_issues_count":5,"forks_count":24,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-20T21:48:02.360Z","etag":null,"topics":["flask","snippets","vscode","vscode-snippets"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cstrap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-05-16T14:39:06.000Z","updated_at":"2025-05-02T03:31:26.000Z","dependencies_parsed_at":"2022-07-25T09:02:04.086Z","dependency_job_id":null,"html_url":"https://github.com/cstrap/flask-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cstrap/flask-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrap%2Fflask-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrap%2Fflask-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrap%2Fflask-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrap%2Fflask-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cstrap","download_url":"https://codeload.github.com/cstrap/flask-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrap%2Fflask-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280166617,"owners_count":26283782,"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-20T02:00:06.978Z","response_time":62,"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":["flask","snippets","vscode","vscode-snippets"],"created_at":"2025-10-20T21:48:00.903Z","updated_at":"2025-10-20T21:48:03.947Z","avatar_url":"https://github.com/cstrap.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask snippets\n\nFlask snippets collections.\nInitially ported from PyCharm, TextMate, SublimeText and other editors/IDEs.\n\nIf you'd like to contribute, feel free to [submit a pull request on github](https://github.com/cstrap/flask-snippets)\n\nThanks!\n\n## Features\n\n### Base snippets\n\n| Abbreviation | Description                |\n|--------------|----------------------------|\n| hw           | Flask hello world          |\n| route        | Flask route                |\n| routegp      | Flask route with GET, POST |\n| routep       | Flask route POST only      |\n\n### Controls snippets\n\n| Abbreviation | Description     |\n|--------------|-----------------|\n| \"\"\"          | ML docstring    |\n| \"\"           | SL docstring    |\n| fapp         | Flask App       |\n| froute       | Flask route     |\n| furl         | URL generator   |\n| fmeth        | URL methods     |\n| frt          | Render template |\n| ftreq        | Test request    |\n| fup          | Flask upload    |\n| fsup         | Secure upload   |\n| frc          | Read cookie     |\n| fsc          | Set cookie      |\n| feh          | Error handler   |\n| flog         | Flask logging   |\n\n### Templates snippets\n\n| Abbreviation | Description        |\n|--------------|--------------------|\n| fexp         | Flask expression   |\n| ffilter      | Flask filter       |\n| fcomment     | Flask comment      |\n| fblock       | Flask block        |\n| fextends     | Flask extends      |\n| fself        | Flask self         |\n| fsuper       | Flask super        |\n| ffor         | Flask for          |\n| fif          | Flask if           |\n| fife         | Flask ife          |\n| felif        | Flask elif         |\n| fmacro       | Flask macro        |\n| ffb          | Flask filter block |\n| fset         | Flask set          |\n| finclude     | Flask include      |\n| fimport      | Flask import       |\n| fautoescape  | Flask autoescape   |\n| furl         | Flask url          |\n| ftitle       | Flask title        |\n| fvar         | Flask var          |\n| fcontent     | Flask content      |\n\n## Release Notes\n\nSee [changelog](CHANGELOG.md) for all changes and releases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcstrap%2Fflask-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcstrap%2Fflask-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcstrap%2Fflask-snippets/lists"}