{"id":16415619,"url":"https://github.com/donno2048/direct-flask","last_synced_at":"2026-05-16T00:10:12.661Z","repository":{"id":62567937,"uuid":"374929940","full_name":"donno2048/Direct-Flask","owner":"donno2048","description":"Use responses for Flask directly","archived":false,"fork":false,"pushed_at":"2022-02-05T20:24:15.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-16T06:35:45.291Z","etag":null,"topics":["flask"],"latest_commit_sha":null,"homepage":"","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/donno2048.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":"2021-06-08T08:00:23.000Z","updated_at":"2022-01-07T02:05:37.000Z","dependencies_parsed_at":"2022-11-03T16:30:47.062Z","dependency_job_id":null,"html_url":"https://github.com/donno2048/Direct-Flask","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":"donno2048/nothingness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FDirect-Flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FDirect-Flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FDirect-Flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donno2048%2FDirect-Flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donno2048","download_url":"https://codeload.github.com/donno2048/Direct-Flask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232754628,"owners_count":18571670,"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"],"created_at":"2024-10-11T07:06:25.221Z","updated_at":"2026-05-16T00:10:12.633Z","avatar_url":"https://github.com/donno2048.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Direct-Flask\n\nUse responses for Flask directly\n\n## Installation\n\n### From PyPI\n\n```sh\npip3 install dflask\n```\n\n### From GitHub\n\n```sh\npip3 install git+https://github.com/donno2048/Direct-Flask\n```\n\n## Usage\n\n```py\nfrom dflask import DirectFlask, Response\napp = DirectFlask(__name__)\napp.add_response(\"/\", Response(\"\u003chtml\u003e\u003chead\u003e\u003clink href='/style.css' rel='stylesheet'\u003e\u003c/head\u003e\u003cbody\u003e\u003c/body\u003e\u003c/html\u003e\"))\napp.add_response(\"/style.css\", \"body{background-color: red;}\").run()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonno2048%2Fdirect-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonno2048%2Fdirect-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonno2048%2Fdirect-flask/lists"}