mirror of https://github.com/veops/cmdb.git
add library future
This commit is contained in:
parent
c305aaaef6
commit
9c47d9c733
|
@ -41,6 +41,7 @@ toposort = ">=1.5"
|
||||||
requests = ">=2.22.0"
|
requests = ">=2.22.0"
|
||||||
PyJWT = ">=1.7.1"
|
PyJWT = ">=1.7.1"
|
||||||
elasticsearch = "==7.0.4"
|
elasticsearch = "==7.0.4"
|
||||||
|
future = "==0.18.2"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
# Testing
|
# Testing
|
||||||
|
|
|
@ -12,7 +12,7 @@ from future.moves.urllib.parse import urlparse
|
||||||
|
|
||||||
|
|
||||||
def build_api_key(path, params):
|
def build_api_key(path, params):
|
||||||
g.user is not None or abort(403, "您得登陆才能进行该操作")
|
g.user is not None or abort(403, "You have to login to do this")
|
||||||
key = g.user.key
|
key = g.user.key
|
||||||
secret = g.user.secret
|
secret = g.user.secret
|
||||||
values = "".join([str(params[k]) for k in sorted(params.keys())
|
values = "".join([str(params[k]) for k in sorted(params.keys())
|
||||||
|
|
|
@ -1,38 +1,39 @@
|
||||||
-i https://mirrors.aliyun.com/pypi/simple
|
-i https://mirrors.aliyun.com/pypi/simple
|
||||||
# Flask
|
# Flask
|
||||||
Flask==1.0.3
|
Flask == 1.0.3
|
||||||
Werkzeug==0.15.4
|
Werkzeug == 0.15.4
|
||||||
click>=5.0
|
click >= 5.0
|
||||||
# Api
|
# Api
|
||||||
Flask-RESTful ==0.3.7
|
Flask-RESTful == 0.3.7
|
||||||
# Database
|
# Database
|
||||||
Flask-SQLAlchemy ==2.4.0
|
Flask-SQLAlchemy == 2.4.0
|
||||||
SQLAlchemy ==1.3.5
|
SQLAlchemy == 1.3.5
|
||||||
PyMySQL ==0.9.3
|
PyMySQL == 0.9.3
|
||||||
redis ==3.2.1
|
redis == 3.2.1
|
||||||
# Migrations
|
# Migrations
|
||||||
Flask-Migrate == 2.5.2
|
Flask-Migrate == 2.5.2
|
||||||
# Deployment
|
# Deployment
|
||||||
gevent ==1.4.0
|
gevent == 1.4.0
|
||||||
gunicorn == 19.5.0
|
gunicorn == 19.5.0
|
||||||
supervisor ==4.0.3
|
supervisor == 4.0.3
|
||||||
# Auth
|
# Auth
|
||||||
Flask-Login ==0.4.1
|
Flask-Login == 0.4.1
|
||||||
Flask-Bcrypt ==0.7.1
|
Flask-Bcrypt == 0.7.1
|
||||||
Flask-Cors>=3.0.8
|
Flask-Cors >= 3.0.8
|
||||||
# Caching
|
# Caching
|
||||||
Flask-Caching>=1.0.0
|
Flask-Caching >= 1.0.0
|
||||||
# Environment variable parsing
|
# Environment variable parsing
|
||||||
environs ==4.2.0
|
environs == 4.2.0
|
||||||
marshmallow ==2.20.2
|
marshmallow == 2.20.2
|
||||||
# async tasks
|
# async tasks
|
||||||
celery ==4.3.0
|
celery == 4.3.0
|
||||||
more-itertools ==5.0.0
|
more-itertools == 5.0.0
|
||||||
kombu ==4.4.0
|
kombu == 4.4.0
|
||||||
# other
|
# other
|
||||||
six ==1.12.0
|
six == 1.12.0
|
||||||
bs4>=0.0.1
|
bs4 >= 0.0.1
|
||||||
toposort>=1.5
|
toposort >= 1.5
|
||||||
requests>=2.22.0
|
requests >= 2.22.0
|
||||||
PyJWT>=1.7.1
|
PyJWT >= 1.7.1
|
||||||
elasticsearch ==7.0.4
|
elasticsearch == 7.0.4
|
||||||
|
future == 0.18.2
|
||||||
|
|
Loading…
Reference in New Issue