Facebook数据提取器,用于读取和分析Facebook转储的简单工具(JSON格式)

Facextractor的Python项目详细描述


Facextractor

facebook数据提取器,用于读取和分析facebook dump(json格式)的简单工具。

安装

PYPI

pip install Facextractor

或来源:

git clone https://github.com/geekmoss/facextractor.git
cd facextractor
pip install .

对于bash complete:

bash bash-complete.sh

使用

cli

# Friends:
facextractor friends ./facebook-dump

# Chats:# For summary of all chats
facextractor threads ./facebook-dump
# For summary of chat with John Doe
facextractor friends ./facebook-dump -f "John Doe"# For summary of all chats where is John Doe is participant
facextractor friends ./facebook-dump -p -f "John Doe"

python模块

fromFacextractorimportFriends,Threadst=Threads("./facebook-dump")t.describe()# str: summary of all chatst.analysis.photos# int: count photos of all chatst.threads[0].describe()# str: summary of first thread in listt.find_thread_by_name("John Doe")# Thread: return thread for exact matcht.find_threads_by_participant("John Doe")# List[Thread]: returns list of threads where is participant

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

推荐PyPI第三方库


热门话题
java如何在ArrayList<List>中选择我的列表中的哪一列用于排序我的ArrayList?   Java设计模式相当于Smalltalk的:   如何在Java中说stringA>stringB   用Python重写Java代码的Python方式   java如何在Mybatis for Postgresql db中使用like(非IN)编写查询?   java看不到如何禁用AlertDialog对话框   java正常转换,但照明仍然很奇怪?   为什么Java中存在检查和未检查异常   使用Flink的JavaSpringBootGradle项目不起作用   java我可以在最终hashmap中存储函数名以供执行吗?   java无法理解实际应用程序中的枚举   java Hibernate注释执行内部连接   java Jenkins Maven3错误,工件已启用   数组的java打印内容只返回[null,null,null,null]   java对同一实体的多个更新   java将日期从一个时区转换为本地时区   jface tableviewer中的java多行功能或换行文本功能   ArrayList是如何在Java中实现的?   如何将程序的输出像矩阵一样写入文件,Java   java EasyMock和返回泛型类的方法