Skip to main content

A common language independent and cross-network social-media data scheme.

Project description


A python compiled version of the common location based social network (LBSN) data structure concept (ProtoBuf) to handle cross network Social Media data in Python. There are several motivations for prividing a common LBSN interchange data structure. Firstly, the GDPR directly requests Social Media Network operators to allow users to transfer accounts and data inbetween services. While there are attempts by Google, Facebook etc. (see data-transfer-project), it is not currently possible. With this structure concept, we follow an independent road. A primary goal is to systematically characterize LBSN data aspects in a common scheme that enables privacy-by-design for connected software, transfer scripts and database design.

Quick Start

Install with:

pip install --upgrade lbsnstructure

Import to python projecty with:

import lbsnstructure
from lbsnstructure.lbsnstructure_pb2 import lbsnPost

.. or compile newest version from Protofiles

  1. Clone git Repository git clone
  2. Install Protocoll Buffers
  3. Compile structure to python package protoc --python_out=examples/python lbsnstructure/structure.proto
  4. Install with pip install . in examples/python


For development & testing, make a local clone of this repository

git clone

Go to subfolder examples\python and (e.g.) symlink the folder to your
Python's site-packages folder with:

python develop

Now, lbsnstructure should be available through your python path and directly link to the local git clone directory.


For the releases available, see the tags on this repository. The versioning (major.minor.patch) is automated using python-semantic-release. Commit messages that follow the Angular Commit Message Conventions will be automatically interpreted, followed by version bumps if necessary.


This project is licensed under the MIT License.

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 lbsnstructure, version 0.2.8
Filename, size File type Python version Upload date Hashes
Filename, size lbsnstructure-0.2.8-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lbsnstructure-0.2.8.tar.gz (10.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page