Skip to content

Commit

Permalink
relaease 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lijiawei committed Jun 25, 2020
1 parent 3dae022 commit 63e7aaa
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 10 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,52 @@
# garbevents


[![Build Status](https://travis-ci.com/Pactortester/garb-events.svg?branch=master)](https://travis-ci.com/Pactortester/garb-events) ![PyPI](https://img.shields.io/pypi/v/garbevents) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/garbevents) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mitmproxy) ![GitHub top language](https://img.shields.io/github/languages/top/Pactortester/garb-events) ![GitHub stars](https://img.shields.io/github/stars/Pactortester/garb-events?style=social) ![https://blog.csdn.net/flower_drop](https://img.shields.io/badge/csdn-%40flower__drop-orange)


# garbevents
## Logo

## logo

![logo](https://github.com/Pactortester/garb-events/blob/master/images/garbevents.png)


## 安装

pip install garbevents

pip install garbevents


## 仓库地址:


- github:https://github.com/Pactortester/garb-events.git
- pypi:https://pypi.org/project/garbevents/#history


## 社区地址


- testerhome:https://testerhome.com/opensource_projects/garbevents


## 适用场景


1. 使用 诸葛IO 作为埋点收集工具的 。
2. 需要回归验证大批量埋点是否丢失的。
3. 使用本工具 自动抓取解析埋点信息数据校验埋点是否 丢失。


## 功能


1. 自动解析 移动端\桌面端\h5页面 触发的埋点信息,解密后生成[now_data.txt]
2. 去重后和已知埋点信息diff,保存文件[data.txt]


## 使用


- 启动服务
```shell
mitmdump -p 8889
Expand All @@ -49,14 +59,18 @@ mitmdump -p 8889
mitm.it
```


## 命令


```shell
mitmdump -p 8889 -s <you_test_script.py>
```


## Demo


```python
from garbevents.events import GetData
from garbevents.settings import Settings as ST
Expand Down
Binary file removed dist/garbevents-1.0.5-py3-none-any.whl
Binary file not shown.
Binary file removed dist/garbevents-1.0.5.tar.gz
Binary file not shown.
Binary file added dist/garbevents-1.0.7-py3-none-any.whl
Binary file not shown.
Binary file added dist/garbevents-1.0.7.tar.gz
Binary file not shown.
114 changes: 111 additions & 3 deletions garbevents.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,11 +1,119 @@
Metadata-Version: 1.0
Metadata-Version: 2.1
Name: garbevents
Version: 1.0.5
Version: 1.0.7
Summary: grabbing buried points
Home-page: https://github.com/Pactortester/garb-events
Author: lijiawei
Author-email: 1456470136@qq.com
License: MIT Licence
Description: A method of grabbing buried points, improve the mitmproxy.This is a python toolkit for real-time capture,analysis, cleaning and report generation of embedded points based on the development of mitmproxy.
Description: # garbevents


[![Build Status](https://travis-ci.com/Pactortester/garb-events.svg?branch=master)](https://travis-ci.com/Pactortester/garb-events) ![PyPI](https://img.shields.io/pypi/v/garbevents) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/garbevents) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mitmproxy) ![GitHub top language](https://img.shields.io/github/languages/top/Pactortester/garb-events) ![GitHub stars](https://img.shields.io/github/stars/Pactortester/garb-events?style=social) ![https://blog.csdn.net/flower_drop](https://img.shields.io/badge/csdn-%40flower__drop-orange)


## Logo


![logo](https://github.com/Pactortester/garb-events/blob/master/images/garbevents.png)


## 安装


pip install garbevents


## 仓库地址:


- github:https://github.com/Pactortester/garb-events.git
- pypi:https://pypi.org/project/garbevents/#history


## 社区地址


- testerhome:https://testerhome.com/opensource_projects/garbevents


## 适用场景


1. 使用 诸葛IO 作为埋点收集工具的 。
2. 需要回归验证大批量埋点是否丢失的。
3. 使用本工具 自动抓取解析埋点信息数据校验埋点是否 丢失。


## 功能


1. 自动解析 移动端\桌面端\h5页面 触发的埋点信息,解密后生成[now_data.txt]
2. 去重后和已知埋点信息diff,保存文件[data.txt]


## 使用


- 启动服务
```shell
mitmdump -p 8889
```

- 连接代理

- 下载证书
```shell
mitm.it
```


## 命令


```shell
mitmdump -p 8889 -s <you_test_script.py>
```


## Demo


```python
from garbevents.events import GetData
from garbevents.settings import Settings as ST

# 埋点上传url
ST.url = 'https://www.baidu.com/'
# 报告生成路径
ST.report_path = 'report'
# 所有事件名称
ST.all_events = ['event_name_1', 'event_name_2']
# 接口地址
ST.interface_url = ['apipool', 'APIPOOL']

addons = [
GetData()
]
```

Keywords: pip,garbevents,get_events,buried points
Platform: any
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console :: Curses
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Security
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: Proxy Servers
Classifier: Topic :: System :: Networking :: Monitoring
Classifier: Topic :: Software Development :: Testing
Classifier: Typing :: Typed
Description-Content-Type: text/markdown
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
# -*- coding:utf-8 -*-
from setuptools import setup, find_packages

with open('README.md', encoding='utf-8') as f:
long_description = f.read()

setup(
name="garbevents",
version="1.0.5",
version="1.0.7",
keywords=["pip", "garbevents", "get_events", "buried points"],
description="grabbing buried points",
long_description="A method of grabbing buried points, improve the mitmproxy."
"This is a python toolkit for real-time capture,analysis, "
"cleaning and report generation of embedded points based on the development of mitmproxy.",
long_description=long_description,
long_description_content_type='text/markdown',
license="MIT Licence",

url="https://github.com/Pactortester/garb-events",
Expand Down

0 comments on commit 63e7aaa

Please sign in to comment.