• Stars
    star
    143
  • Rank 255,484 (Top 6 %)
  • Language
    Python
  • Created almost 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

操作系统通知中心监控(不论微信、钉钉、QQ,只要开启消息通知),可编写对应处理脚本

examiner

操作系统通知中心监控,可编写对应处理脚本

介绍

详细实现介绍见这篇推文:不论微信钉钉还是什么软件,我写了个通用的消息监控处理机器人

使用

pip install examiner
# 新特性
pip install git+https://github.com/howie6879/examiner

# 开发
git clone https://github.com/howie6879/examiner
cd examiner
# 推荐使用pipenv 你也可以使用自己中意的环境构建方式
pipenv install --python=/Users/howie6879/anaconda3/envs/python36/bin/python3.6  --skip-lock

接下来只需要在根目录构建自己的监控脚本就行,比如监控微信,建立文件命名为 wechat_app.py:

from examiner import Examiner

app_names = ["Wechat"]
examiner_app = Examiner(app_names)
info_list = examiner_app.get_notifications()
for each in info_list:
    print(each)

输出:

{'title': '老胡的储物柜', 'subtitle': '', 'body': '测试消息监控,任何应用都行', 'delivered_date': datetime.datetime(2019, 10, 20, 21, 40, 26, 428654), 'presented': 1, 'app_identifier': 'com.tencent.xinwechat', 'app_name': 'WeChat', 'md5': '75e24e2ccc502f01c101fcbd3637950b'}

More Repositories

1

owllook

owllook-小说搜索引擎
Python
2,549
star
2

ruia

Async Python 3.6+ web scraping micro-framework based on asyncio
Python
1,730
star
3

mlhub123

机器学习&深度学习网站资源汇总(Machine Learning Resources)
852
star
4

liuli

一站式构建多源、干净、个性化的阅读环境(Build a multi-source, clean and personalized reading environment in one stop.)
Python
852
star
5

weekly

老胡的信息技术周刊❤️记录我本周看到的有价值的信息,针对优秀项目、软件、教程资料、网站等。
Python
593
star
6

Sanic-For-Pythoneer

📚 一份sanic使用教程,开源小书
Python
387
star
7

magic_google

Google search results crawler, get google search results that you need
Python
368
star
8

NIYT

在你的终端看小说(Read the novel in your terminal) - NIYT
Go
154
star
9

owllook_api

owllook - 简洁优雅的小说API🎉
Go
130
star
10

ITBooks

Get itbooks from ebooks's website for free,such as allitebooks,digilibraries,etc
Python
106
star
11

owllook_gui

简洁优雅的小说监控工具🎉
Python
86
star
12

hproxy

hproxy - Asynchronous IP proxy pool, aims to make getting proxy as convenient as possible.(异步爬虫代理池)
Python
66
star
13

talospider

talospider - A simple,lightweight scraping micro-framework
Python
54
star
14

pylab

和Python相关的学习笔记:机器学习、算法、进阶书籍、文档,博客地址:https://www.howie6879.cn
Jupyter Notebook
51
star
15

getNews

互联网新闻推荐系统(myNews)--2016全国计算机设计大赛企业命题参赛作品
Python
44
star
16

w2b

将微信接收的文章自动解析同步到Bear
Python
40
star
17

k8s_note

k8s学习笔记
29
star
18

php-google

Google search results crawler, get google search results that you need - php
PHP
29
star
19

anan

安安 - 育儿医疗问答机器人
Python
24
star
20

book_swop

二手书籍转赠交换计划
21
star
21

sanic_annotation

sanic 源码注释 用于学习
Python
18
star
22

coolshell_qa

CoolShell 博客备份&基于 ChatGPT 的问答机器人
Python
17
star
23

instdd

Instagram Photos Download - Save Instagram photos and videos online
Python
15
star
24

mac-soft

记录我在使用 macOS 过程中使用&看到的软件项目
15
star
25

howie6879.github.io

努力就好
HTML
9
star
26

py_project_template

Python project template for you
Python
7
star
27

weeklyhub

汇聚优质精选技术周刊,为你提供高质量信息流
5
star
28

leaf

A CLI tool for hiding the application's icon in the Dock. (MacOS Dock栏软件图标隐藏终端工具)
Python
5
star
29

monkey

Search engine for programmers
Python
5
star
30

importData

将csv xls json等数据格式导入mysql
Python
4
star
31

expire

Expire aims to make using cache as convenient as possible.
Python
4
star
32

gpt123.ai-daily

老胡的 ChatGPT 日报信息流
Python
3
star
33

ml_note

我的机器学习笔记
Python
3
star
34

liuli_backup

Liuli 阅读环境文章留存
HTML
1
star
35

Mastering-Python

Mastering Python---阅读python相关书籍笔记
Jupyter Notebook
1
star
36

nand2tetris

✍️ 计算机系统要素-从零开始构建现代计算机
Scilab
1
star
37

howie6879

1
star
38

vim_config

vim
Vim Script
1
star