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.1.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. 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.1.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

fameprotobuf-2.1.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fameprotobuf-2.1.0.tar.gz
  • Upload date:
  • Size: 16.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 72f0ecda3d06088cfb2ed2c6f71b778d6c35e79ab81d29e7ba618e88c0aa3299
MD5 a7c0308a3f789fa2b286d08ba5695bc2
BLAKE2b-256 761ce7e4b257ab0dcb5c879a6ec48bccb99cb00c0cb268e54243db289859876d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fameprotobuf-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.0 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5b7f5d5fc87ee384897002a9d64dfa2116fd86b1c2296a853d032af5a4b4728
MD5 020b0dd89a3e583baa14f30d29c0e034
BLAKE2b-256 57da5de56e59806b99a61ecb81b21ae7d8e1917167489f13e3e44f21216deaa0

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