Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format)

Project description

Facextractor

Facebook Data Extractor, simple tool for read and analyze facebook dump (JSON format).

Instalation

PyPI

pip install Facextractor

or from source:

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

and for bash complete:

bash bash-complete.sh

Using

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 Modules

from Facextractor import Friends, Threads

t = Threads("./facebook-dump")
t.describe()  # str: summary of all chats
t.analysis.photos  # int: count photos of all chats

t.threads[0].describe()  # str: summary of first thread in list

t.find_thread_by_name("John Doe")  # Thread: return thread for exact match
t.find_threads_by_participant("John Doe")  # List[Thread]: returns list of threads where is participant

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Facextractor, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size Facextractor-1.0.2-py3-none-any.whl (7.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Facextractor-1.0.2.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page