【文件属性】:
文件名称:upaste:基于纯文件的Python pastebin
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-04 08:49:32
Python
增添
一个简单的,纯文件存储的,由Python驱动的pastebin。
要求
* nix操作系统
启用xattr的文件系统,并且启用了用户xattrs(Linux: user_xattr挂载选项)
的Python 3
乌斯吉
设置
# Install requirements.
pip3 install -e requirements.txt
# Modify config.
editor upaste/config.py
editor uwsgi.xml
# Restore xattrs not tracked by git.
setfattr -n user.upaste.language -v python3 upaste/upaste.py
# Now point a uwsgi instance to uwsgi.xml, and your web server's web
【文件预览】:
upaste-master
----uwsgi.xml(200B)
----LICENSE(484B)
----requirements.txt(43B)
----upaste()
--------templates()
--------config.py(2KB)
--------plain()
--------upaste.py(4KB)
----README.md(620B)