Skip to main content

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

Project description

PyPI version PyPI license

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, and

Installation instructions

Use this Maven dependency:

<dependency>
  <groupId>de.dlr.gitlab.fame</groupId>
  <artifactId>protobuf</artifactId>
  <version>1.3.0</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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fameprotobuf-1.3.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fameprotobuf-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for fameprotobuf-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c135da9b3b786cb86c70d7a521610dc4e01064fd0d337411d4e87664f4c6027
MD5 0bcaf4963fc3364393808b4b85ad7087
BLAKE2b-256 64da653d97a15a8f0718396e485cb2bac6f93da1aa403ca5f5550eff5df10d84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page