Landowner is a Python package designed to work with the JSON files that social media platforms provide when you request a copy of your personal data. This project aims to provide tools to parse, analyze, and manage your personal data efficiently.
- Parse complex JSON files from social media platforms into a structured format using straightforward classes with attributes.
- Deserializers for exports from Meta social media platforms are supported, including Facebook and Instagram.
- Support for handling mojibaking and other encoding issues with post content.
- Deserializers for other social media platforms, such as X (formerly Twitter).
To install the project, use pip:
pip install landowner
You can also clone the repository and install the required dependencies:
git clone https://github.com/loranallensmith/landowner.git
cd landowner
pip install -r requirements.txt
To start using the project, run the following command:
import json
from landowner.deserializers import FacebookExportPostDeserializer
ds = FacebookPostExportDeserializer()
with open('path/to/facebook.json') as f:
data = json.load(f)
posts = ds.deserialize(data)
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the GNU General Public Licence v3.0. See the LICENSE file for more details.
For any questions or inquiries, please contact Drop Table Records at info@droptablerecords.com.