Better coding experience for Flask
Project description
Overview
guniflask是自动化生成基于flask + gunicorn的服务端项目基础代码的构建工具。
Installation
guniflask需要Python 3.6或更高版本的环境支持。
可以通过pip安装或升级guniflask:
$ pip install -U guniflask
Getting Started
安装guniflask项目生成工具:
$ pip install -U guniflask-cli
新建一个空文件夹 foo 并进入到 foo 中:
$ mkdir foo && cd foo
运行如下命令:
$ guniflask init
当出现提示时按 Enter 键即可选择默认设置。 提示项目创建成功后,安装项目所需依赖:
$ pip install -r requirements/app.txt
调试模式启动项目:
$ bash bin/manage debug
在浏览器中访问 http://localhost:8000/hello-world 。
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
guniflask-0.7.2.tar.gz
(64.8 kB
view hashes)
Built Distribution
guniflask-0.7.2-py3-none-any.whl
(102.8 kB
view hashes)
Close
Hashes for guniflask-0.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8045bdea0ff07c075864e99f4f70988700b4ece2f21455788c9f858e392deb0f |
|
MD5 | c63eb6eb1b55fa723ffaa88bb7e1f5ec |
|
BLAKE2b-256 | 1a8d795d7b6b69267bfbb8f065684dc6dc1648ea83869ef5b4192b0202715dce |