Skip to main content

No project description provided

Project description


Extracts, transforms, and loads your Facebook data from the Download Your Information tool into an SQLite DB.


fbetl is available on PyPI

Install via pip

$ pip install fbetl

Or via easy_install

$ easy_install fbetl

Or directly from fbetl’s git repo <>

$ git clone git://
$ cd fbetl
$ python install

Basic usage

Use Facebook’s Download Your Information tool using the format JSON and unzip the file.
>>> from fbetl import Fbetl
>>> fbetl = Fbetl('path/to/unzipped/facebook-user/data')
>>> fbetl.load_all()
>>> fbetl.sql('SELECT COUNT(*) FROM comments')[0][0]
>>> fbetl.sql('SELECT timestamp FROM posts LIMIT 5;')
[('2018-07-27 14:04:24',), ('2018-07-23 11:34:12',), ('2018-07-17 09:47:19',), ('2018-07-13 23:56:44',), ('2018-07-12 09:54:13',)]
>>>'foo.db') # Saves SQLite db to disk

Running Test

$ python tests/

Python compatibility

Developed for Python 3. May work but not tested in Python 2.

Project details

Download files

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

Source Distribution

fbetl-0.1.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page