Skip to main content

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

Project description

pypi version pipeline status from protobuf: version


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.

The Github-repository of this protobuf-derived package can be found here:

Quick Start

Install with:

pip install --upgrade lbsnstructure

Import to python project with:

import lbsnstructure as lbsn
post = lbsn.Post()
place = lbsn.Place()

.. 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:

pip install --editable .

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.

Source Distribution

lbsnstructure-1.3.0.tar.gz (19.7 kB view hashes)

Uploaded source

Built Distribution

lbsnstructure-1.3.0-py3-none-any.whl (24.2 kB view hashes)

Uploaded py3

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