Skip to main content

数学运算专用库,使用简单,内含三角学、分数、科学计算法等实用功能。

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mathprolib-0.1.7.tar.gz (16.3 kB view details)

Uploaded Source

File details

Details for the file mathprolib-0.1.7.tar.gz.

File metadata

  • Download URL: mathprolib-0.1.7.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mathprolib-0.1.7.tar.gz
Algorithm Hash digest
SHA256 0ebcfcfdca49de44e5a6cff5006c0e58488e04ebd471dc8bcaf76d7d166efc81
MD5 1947adc1c9ae43ad53f6072954e483ab
BLAKE2b-256 699162fc6703e65bfebdeefc8f14ee5ed8fd330e16cc6cf8c599fc6141e9f396

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page