Pwnurl URL shorter(PWN that URL!)

pwnurl的Python项目详细描述


https://badge.fury.io/py/pwnurl.pnghttps://travis-ci.org/donovan-duplessis/pwnurl.png?branch=master

目录

主要功能

  • 待办事项

安装

最新稳定版本始终可以通过pip

安装或更新到
$ pip install --upgrade pwnurl

最新开发版本可以直接从github安装: Build Status of the master branch

$ pip install --upgrade https://github.com/donovan-duplessis/pwnurl/tarball/master

配置

您需要将PWNURL_SETTINGS环境变量设置为指向 配置文件:

$ exportPWNURL_SETTINGS=~/.pwnurlrc

以下配置参数可用:

ParameterDescription
HOST
^{tt2}$
Hostname or ip address to bind server on
e.g. ^{tt3}$
PORT
^{tt4}$
Port number to bin server on
e.g. ^{tt5}$
SECRET_KEY
^{tt6}$
Secret application key/token
e.g. ^{tt7}$
CACHE_TYPE
^{tt2}$,
Caching implementation (simple|memcached|redis)
e.g. ^{tt9}$
SQLALCHEMY_DATABASE_URI
^{tt2}$
Database connection string
e.g. ^{tt11}$

用法

初始化数据库:

$ pwnurl db upgrade

编译Web资产:

$ pwnurl assets clean
$ pwnurl assets build

启动Gunicorn服务器:

$ pwnurl gunicorn [--daemon]

停止Gunicorn服务器:

$ kill -TERM `cat /tmp/pwnurl.pid`

许可证

请看LICENSE


历史

0.1.0(2014-01-15)

  • pypi上的第一个版本。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java中的多个控制台或显示屏?   java Guava:是否可能不使用多重映射映射所有条目。索引()?   java转换键值对作为JSON响应的对象?   java读取一个文本文件,然后计算字母频率,并从高到低列出它们   java Apache CXF为客户提供SEI   java如何在SQL查询中“转义”整个字符串   将JavaServlet定义为主网页servlet注释不起作用   运行jar文件时发生java FileNotFoundException   java有两种加载FXML的方法;为什么一个比另一个更受欢迎?   java无法切换到timeofindia站点页面中的帧   java Firebase Firestore在连接丢失后需要很长时间才能重新连接   java使用来自SQLite的通用数据填充RecyclerView/ListView   当我使用offer和poll独占访问它时,java是LinkedList线程安全的吗?   如何使用包含Java命名空间的XPath检索XML数据?   Spring Boot的java Elasticsearch Searchguard配置   java数组中的数组值赋值?   java保存成功,但更新失败使用Jointable的多对多Spring JPA和额外列   kotlin什么是java。构造器。单()?   简单解析例程的java问题