# hookee - command line webhooks, on demand
[![PyPI version](https://badge.fury.io/py/hookee.svg)](https://badge.fury.io/py/hookee)
[![Build Status](https://travis-ci.org/alexdlaird/hookee.svg?branch=master)](https://travis-ci.org/alexdlaird/hookee)
[![codecov](https://codecov.io/gh/alexdlaird/hookee/branch/master/graph/badge.svg)](https://codecov.io/gh/alexdlaird/hookee)
[![Documentation Status](https://readthedocs.org/projects/hookee/badge/?version=latest)](https://hookee.readthedocs.io/en/latest/?badge=latest)
[![PyPI license](https://img.shields.io/pypi/l/hookee.svg)](https://pypi.org/project/hookee/)
`hookee` is a utility that provides command line webhooks, on demand! Dump useful request data to the
console, process requests and responses, customize response data, and configure `hookee` and its routes
further in any number of ways through custom plugins.
## Installation
`hookee` is available on [PyPI](https://pypi.org/project/hookee/) and can be installed
using `pip`:
```sh
pip install hookee
```
or `conda`:
```sh
conda install -c conda-forge hookee
```
That's it! `hookee` is now installed.
## Basic Usage
`hookee` makes it easy to get webhooks on the fly right from the console. Simply start it with:
```sh
hookee start
```
With its default configuration, this will start a server on port 5000, open a [`ngrok`](https://ngrok.com/) tunnel
using [`pyngrok`](https://pyngrok.readthedocs.io/en/latest/), and mount a URL at `/webhook`. Sending any request to
the `/webhook` endpoint will dump the request and response data to the console.
`hookee` can be configured in a number of ways to quickly and easily tweak request and response data. For example,
here we are customizing the response body from `/webhook` using the `--response` arg.
```sh
hookee --response "<Response>Ok</Response>" --content-type application/xml
```
To see the ways `hookee` can be tweaked right from the console, view its documented args and commands like this:
```sh
hookee --help
```
## Documentation
For more advanced usage, including how `hookee` default configuration can be changed, extended through plugins,
and more, see its official documentation is available at [http://hookee.readthedocs.io](http://hookee.readthedocs.io).
## Contributing
If you would like to get involved, be sure to review the [Contribution Guide](https://github.com/alexdlaird/hookee/blob/master/CONTRIBUTING.rst).
Want to contribute financially? If you've found `hookee` useful, [a donation](https://www.paypal.me/alexdlaird>) would
also be greatly appreciated!
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共32个文件
py:19个
txt:5个
md:2个
资源分类:Python库 所属语言:Python 资源全名:hookee-1.0.1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
hookee-1.0.1.tar.gz (32个子文件)
hookee-1.0.1
MANIFEST.in 202B
PKG-INFO 5KB
hookee.egg-info
PKG-INFO 5KB
requires.txt 62B
SOURCES.txt 730B
entry_points.txt 64B
top_level.txt 7B
dependency_links.txt 1B
hookee
server.py 4KB
pluginmanager.py 12KB
conf.py 4KB
cli.py 6KB
plugins
request_url_info.py 616B
response_echo.py 801B
request_headers.py 597B
request_body.py 742B
request_files.py 414B
__init__.py 0B
blueprint_default.py 1KB
request_query_params.py 419B
response_info.py 756B
util.py 4KB
__init__.py 0B
tunnel.py 4KB
climanager.py 4KB
exception.py 355B
config_default.yaml 234B
LICENSE 1KB
setup.cfg 102B
setup.py 3KB
CHANGELOG.md 4KB
README.md 3KB
共 32 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 12w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功