{"id":21327417,"url":"https://github.com/aiscenblue/sanic-framework-starterkit","last_synced_at":"2026-05-13T23:38:10.072Z","repository":{"id":93164145,"uuid":"107721013","full_name":"aiscenblue/sanic-framework-starterkit","owner":"aiscenblue","description":"Sanic framework application boilerplate project","archived":false,"fork":false,"pushed_at":"2017-10-28T06:53:25.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T12:45:45.164Z","etag":null,"topics":["flask","flask-api","flask-application","flask-backend","python","python3","sanic","sanic-boilerplat","sanic-explore","sanic-for-pythoner","sanic-framework","sanic-project"],"latest_commit_sha":null,"homepage":"https://github.com/aiscenblue/sanic-framework-starterkit","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/aiscenblue.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":"2017-10-20T20:00:48.000Z","updated_at":"2017-10-30T04:33:33.000Z","dependencies_parsed_at":"2023-04-19T11:04:55.519Z","dependency_job_id":null,"html_url":"https://github.com/aiscenblue/sanic-framework-starterkit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiscenblue%2Fsanic-framework-starterkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiscenblue%2Fsanic-framework-starterkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiscenblue%2Fsanic-framework-starterkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiscenblue%2Fsanic-framework-starterkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiscenblue","download_url":"https://codeload.github.com/aiscenblue/sanic-framework-starterkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806072,"owners_count":20350775,"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":["flask","flask-api","flask-application","flask-backend","python","python3","sanic","sanic-boilerplat","sanic-explore","sanic-for-pythoner","sanic-framework","sanic-project"],"created_at":"2024-11-21T21:17:12.129Z","updated_at":"2025-10-12T04:20:11.877Z","avatar_url":"https://github.com/aiscenblue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Requirements:**\n```\n  Python 3.5 or higher\n  Windows Environment: N/A\n```\n\n**Install requirements**  \n`pip3 install -r requirements.txt`\n\n**Setup configuration**  \n```\nopen: config/app.py\nHOST = \"0.0.0.0\"\nDEBUG = True / False\nPORT = 8000\nWORKERS = 4  # workers: Number of processes received before it is respected\n```\n\n**RUN sanic**  \n`python3 run.py`\n\n```\n2017-09-25 10:52:54 - (sanic)[DEBUG]: \n                 ▄▄▄▄▄\n        ▀▀▀██████▄▄▄       _______________\n      ▄▄▄▄▄  █████████▄  /                 \\\n     ▀▀▀▀█████▌ ▀▐▄ ▀▐█ |   Gotta go fast!  |\n   ▀▀█████▄▄ ▀██████▄██ | _________________/\n   ▀▄▄▄▄▄  ▀▀█▄▀█════█▀ |/\n        ▀▀▀▄  ▀▀███ ▀       ▄▄\n     ▄███▀▀██▄████████▄ ▄▀▀▀▀▀▀█▌\n   ██▀▄▄▄██▀▄███▀ ▀▀████      ▄██\n▄▀▀▀▄██▄▀▀▌████▒▒▒▒▒▒███     ▌▄▄▀\n▌    ▐▀████▐███▒▒▒▒▒▐██▌\n▀▄▄▄▄▀   ▀▀████▒▒▒▒▄██▀\n          ▀▀█████████▀\n        ▄▄██▀██████▀█\n      ▄██▀     ▀▀▀  █\n     ▄█             ▐▌\n ▄▄▄▄█▌              ▀█▄▄▄▄▀▀▄\n▌     ▐                ▀▀▄▄▄▀\n ▀▀▄▄▀\n\n2017-09-25 10:52:54 - (sanic)[INFO]: Goin' Fast @ http://0.0.0.0:8000\n2017-09-25 10:52:54 - (sanic)[INFO]: Starting worker [24478]\n2017-09-25 10:52:54 - (sanic)[INFO]: Starting worker [24479]\n2017-09-25 10:52:54 - (sanic)[INFO]: Starting worker [24480]\n2017-09-25 10:52:54 - (sanic)[INFO]: Starting worker [24481]\n\n```\n\n**Register blueprint route**\n\n`NOTE :: if it's a sub directory it must consist a __init__.py\nfile to be recognize as a package`\n\n```\nfrom sanic import Blueprint\nfrom sanic.response import json\nfrom http import HTTPStatus\n\n\"\"\" blueprint module for url handler \"\"\"\nmodule_name = 'index'  #  module name to be registered in the blueprint\nor just change the 'index' string to get_file_name(__file__)\nit uses the current filename as the root url of your api module\nmodule_name = get_file_name(__file__)\n\nmethod = Blueprint(module_name, url_prefix='/')\n\n\"\"\" http code status \"\"\"\n__status = HTTPStatus  # status codes library\n\n\n@method.route(\"/\", methods=['GET'])\nasync def index(requests):\n    return json(\"Welcome to sanic!\", __status.OK)\n      \n```\n\n**READ MORE:** ``https://github.com/channelcat/sanic/``","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiscenblue%2Fsanic-framework-starterkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiscenblue%2Fsanic-framework-starterkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiscenblue%2Fsanic-framework-starterkit/lists"}