Skip to content

sunjiaying/PhotographyServerPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PhotographyServerPython

本项目利用了flask框架实现web�服务,以及图片处理�库结合python-thumbnails实现了缩略图效果

先安装好python3

安装依赖环境

pip install flask
pip install flask_cors
pip install pillow
pip install python-thumbnails
pip install numpy

加上 -i https://pypi.tuna.tsinghua.edu.cn/simple 可以进行安装加速

启动运行

python server.py

编译成exe

需要先安装pyinstaller

pip install pyinstaller
pyinstaller -c -F server.py --hidden-import thumbnails.cache_backends --hidden-import thumbnails.storage_backends --hidden-import numpy.core._dtype_ctypes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages