使用在线文本服务的无服务器状态管理。
项目描述
Pasty
Pasty是一个库,为应用程序提供“无服务器”状态管理。
入门
需求
安装
Pasty可以使用pip或easy_install安装
pip install Pasty
或直接从源代码安装
python setup.py install
基本用法
安装后,可以从中导入抽象基类
python >>> import pasty pasty.__version__
开发者
需求
Python 3: https://pythonlang.cn/download/releases/3.3.3/#download
GNU Make
Windows: http://cygwin.com/install.html
Linux: https://gnu.ac.cn/software/make(可能已经安装)
virtualenv: https://pypi.python.org/pypi/virtualenv#installation
环境
创建虚拟环境
make develop
运行静态分析
make doc make pep8 make pylint make check # all of the above
运行测试
make test make tests # includes integration tests