{"id":19229035,"url":"https://github.com/caomeiyouren/python-flask-template","last_synced_at":"2026-04-29T00:03:16.864Z","repository":{"id":197992444,"uuid":"699816796","full_name":"CaoMeiYouRen/python-flask-template","owner":"CaoMeiYouRen","description":"基于 Python 的 Flask 应用模板","archived":false,"fork":false,"pushed_at":"2024-11-13T21:31:29.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-04T22:45:33.042Z","etag":null,"topics":["flask","python","template"],"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/CaoMeiYouRen.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":"2023-10-03T11:59:57.000Z","updated_at":"2024-11-13T21:31:26.000Z","dependencies_parsed_at":"2024-01-18T22:54:09.252Z","dependency_job_id":"8107ffff-fa34-4ea7-ae95-9225becfb5de","html_url":"https://github.com/CaoMeiYouRen/python-flask-template","commit_stats":null,"previous_names":["caomeiyouren/python-flask-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fpython-flask-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fpython-flask-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fpython-flask-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaoMeiYouRen%2Fpython-flask-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaoMeiYouRen","download_url":"https://codeload.github.com/CaoMeiYouRen/python-flask-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240304572,"owners_count":19780312,"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","python","template"],"created_at":"2024-11-09T15:31:57.437Z","updated_at":"2026-04-29T00:03:16.817Z","avatar_url":"https://github.com/CaoMeiYouRen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-flask-template\r\n\r\n基于 Python 的 Flask 项目模板\r\n\r\n## 依赖要求\r\n\r\n\r\n- python \u003e=3.6\r\n\r\n## 安装依赖\r\n\r\n```sh\r\npip install -r requirements.txt\r\n```\r\n\r\n## 开发环境运行\r\n\r\n```sh\r\n# 默认为开发环境\r\npython app.py\r\n```\r\n\r\n## 生产环境运行\r\n\r\n```sh\r\n# 设置环境变量\r\nexport PYTHON_ENV='production'  # Linux \r\ngunicorn app:app -p app.pid -b 0.0.0.0:80 -w 2\r\n```\r\n\r\n## 测试\r\n\r\n```sh\r\npytest\r\n```\r\n\r\n## 作者\r\n\r\n\r\n👤 **CaoMeiYouRen**\r\n\r\n* Website: [https://blog.cmyr.ltd/](https://blog.cmyr.ltd/)\r\n* GitHub: [@CaoMeiYouRen](https://github.com/CaoMeiYouRen)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaomeiyouren%2Fpython-flask-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaomeiyouren%2Fpython-flask-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaomeiyouren%2Fpython-flask-template/lists"}