Skip to main content

Protobuf definitions converted to python classes for use in `fameio`

Project description

PyPI version PyPI license Pipeline status REUSE status

FAME-Protobuf

Google Protocol Buffer (protobuf) definitions define the structure of binary input and output files for FAME applications. Please visit the Wiki for FAME to get an explanation of FAME and its components.

FAME-Protobuf connects FAME-Io to applications based on FAME-Core. Thus, both depend on FAME-Protobuf.

Repository

The repository is split into three source code parts:

  • protobuf definitions reside in src/main/resources,
  • derived Python classes for FAME-Io reside in src/main/python.
  • derived Java classes for FAME-Core reside in target/generated-java-sources

Installation instructions

Use this Maven dependency:

<dependency>
  <groupId>de.dlr.gitlab.fame</groupId>
  <artifactId>protobuf</artifactId>
  <version>2.0.1</version>
</dependency>

Packaging

Compile

The pom.xml is configured to allow automated compilation of the protobuf definitions to Python and Java classes.

Maven build

In the cloned repository of fame-protobuf, compile and package fame-protobuf locally to your Maven repository:

mvn package

Deploy to PyPI

FAME-Protobuf is packaged to PyPI. We use poetry for packaging. Packaging requires these steps:

  • install poetry: pip install poetry
  • run the packaging script: python packaging.py
  • build wheel: poetry build
  • publish: poetry publish

Contribute

Please read the Contributors License Agreement (cla.md), sign it and send it to fame@dlr.de before contributing. Also, check CONTRIBUTING.md.

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

fameprotobuf-2.0.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

fameprotobuf-2.0.2-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file fameprotobuf-2.0.2.tar.gz.

File metadata

  • Download URL: fameprotobuf-2.0.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.18 Windows/10

File hashes

Hashes for fameprotobuf-2.0.2.tar.gz
Algorithm Hash digest
SHA256 53d22dae7696dfec253de7e301ae4c4beba194dad9b98fab8f40695b8f6871c1
MD5 67bf228d5a5d80e5d3430b78da2a37e1
BLAKE2b-256 84bf5468c8eaa62d6751660aede955bae840a96aa554bd3f9bd3f38cdc303c0d

See more details on using hashes here.

File details

Details for the file fameprotobuf-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: fameprotobuf-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.18 Windows/10

File hashes

Hashes for fameprotobuf-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e98ea8ba19b5f83aff40ea29b0004dd53978c7fbd0fbc79b1742db24455c7cb5
MD5 a7b0f2cdec26ebb02b0080f0861859a0
BLAKE2b-256 f7cff96373a7f27c2e732efdd21ee181f99e88890072f750019296dc7cc4d27a

See more details on using hashes here.

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