Skip to main content

socialysis

PyPI - License

socialysis is a Python package for analyzing and visualizing Facebook Messenger data. It provides tools for creating and customizing various types of charts and graphs from your Messenger data, such as bar charts, line charts, pie charts, sunburst charts, dot charts, and gantt charts. With socialysis, you can easily gain insights from your Messenger data, including messages, media, links, reacts, photos, audio records, videos, emoji, words and more.

Installation

    pip install socialysis

Getting Started

To use socialysis, you first need to download your Facebook Messenger data from Facebook.

To download your Facebook Messenger data, follow these steps:

  1. Go to your Facebook settings by clicking the dropdown arrow in the top right corner of the page, and selecting "Settings" from the dropdown menu.

  2. In the left-hand menu, click on the "Your Facebook Information" option.

  3. In the "Your Facebook Information" section, click on the "Download Your Information" option.

  4. In the "Download Your Information" window, select the "Deselect All" button to deselect all data categories.

  5. Scroll down to the "Messages" category and click on the "Messages" checkbox to select it.

  6. In the "Format" dropdown menu, select the "JSON" option.

  7. In the "Media Quality" dropdown menu, select the "Low" option.

  8. Click on the "Create File" button to start the download process.

  9. Once the download is complete, you will receive a notification and an email with a link to download the file. Click on the download link to download the file to your computer.

  10. Extract the downloaded file to obtain the JSON files containing your Messenger data.

Sample Data

Socialysis includes a sample data set that you can use to get started without needing to download your own Facebook data. To access the sample data, you can use the restore parameter when initializing the Stats class and set it to 'sample'. For example:

from socialysis import Stats

stats = Stats(restore='sample')

You can then use the Stats class and its attributes and modules to analyze the sample data.

Usage

See Demos for detailed examples with explanations.

Collection

Metadata

Release files for socialysis 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for socialysis 0.1.0
File Size Uploaded
socialysis-0.1.0.tar.gz 4.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for socialysis 0.1.0
File Interpreter ABI Platform
socialysis-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 MB

Release files / socialysis-0.1.0.tar.gz

Download URL socialysis-0.1.0.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
7aeba7660248b7af87b92638a9ee52047e1df0a8fc99d2d0298a6c2a581eb644
BLAKE2b-256 checksum
How to use checksums
ede1fa53bf4bae63716df36bfc8d5a08d2da3ce6a826d548cdc7a56ddb0e706e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / socialysis-0.1.0-py3-none-any.whl

Download URL socialysis-0.1.0-py3-none-any.whl
Size 4.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8c0ef23b2f9a47696bff43d60aca41d100ed50d9ec5b5feb364484c7decb3935
BLAKE2b-256 checksum
How to use checksums
7c7c472b754d748a38206c233c0da2f3c25682c9d9213ef481678f6fb455bf95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page