Skip to main content

flask_appmanager

starfork

介绍

使用flask做的后台插件,暂时功能很少,欢迎issue或pull request

功能

【先按照示例代码配置先】

运行后进入 localhost:5000/manager 输入账号密码admin 12345(还没完全做好登陆系统QWQ,可以pull request来帮帮忙) 然后进入后台(界面如下) 后台界面 目前的功能:

  1. 查看路由和函数连接关系(概览页面)
  2. 上传文件到静态资源目录 更多文档:https://gitee.com/toby_lai/flask_appmanager/wikis

可以pull request来提交新功能哦~

安装教程

cd 你的python site-package路径
git clone https://gitee.com/toby_lai/flask_appmanager.git

示例代码

简单几行,即可启动

from flask import *
from flask_appmanager import *
app=Flask(__file__,static_folder='static')
#自己先创建静态目录,并把static_folder参数设置为静态目录名称

app.config['SECRET_KEY'] = '给session设置key,自己修改' #这个key随便设置也行,但不要给别人看
manage_app(app,'static')#给app添加上后台,第二个参数是静态目录名称   **_> !最核心语句!_** 
app.run()#运行

提交issue | 新建pull request

Release files for mathprolib 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mathprolib 0.1.7
File Size Uploaded
mathprolib-0.1.7.tar.gz 16.3 kB Details

Release files / mathprolib-0.1.7.tar.gz

Download URL mathprolib-0.1.7.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0ebcfcfdca49de44e5a6cff5006c0e58488e04ebd471dc8bcaf76d7d166efc81
BLAKE2b-256 checksum
How to use checksums
699162fc6703e65bfebdeefc8f14ee5ed8fd330e16cc6cf8c599fc6141e9f396
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.1.7 This release

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page