Skip to main content

JSON parsers and models for the VDMA - LIF (Layout Interchange Format), which is used for defining track layouts and exchanging information between the integrator of driverless transport vehicles and a third-party master control system.

Project description

VDMA-LIF JSON Parsers

JSON parsers and models for the VDMA - LIF (Layout Interchange Format), which is used for defining track layouts and exchanging information between the integrator of driverless transport vehicles and a third-party master control system.

The models are generated from a json schema which can be found in the vdma-lif repository.

Install

pip install vmda_lif

Usage

Read layouts from file

from vdma_lif.parser import LIFParser
layout_collection = LIFParser.from_file("example.lif.json")

Read layouts from string

from vdma_lif.parser import LIFParser
layout_collection = LIFParser.from_json(layout_collection_str)

Convert into json

layout_collection_str = LIFParser.to_json(layout_collection)

Write layouts to file:

LIFParser.to_file(layout_collection, "example.lif.json")

License

This project is licensed under the MIT License.

Maintainers

This repository is maintained by Continua Systems GmbH. For any inquiries, please contact us at:

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

vdma_lif-1.0.0.7.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vdma_lif-1.0.0.7-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file vdma_lif-1.0.0.7.tar.gz.

File metadata

  • Download URL: vdma_lif-1.0.0.7.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for vdma_lif-1.0.0.7.tar.gz
Algorithm Hash digest
SHA256 fdcce6dfd0acf22e8ee0419aa17c6c9a69d566b28f05bc14d1df9f33314fe944
MD5 c3b9862543f40100f3d5b46ad4d61e2c
BLAKE2b-256 20c8ef8d90c86ed95a145e890df2a8fd2a1f063ac0fab0bb4e3ada60c6737220

See more details on using hashes here.

File details

Details for the file vdma_lif-1.0.0.7-py3-none-any.whl.

File metadata

  • Download URL: vdma_lif-1.0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for vdma_lif-1.0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cd6c651b6e30dddc3304c7133b44b787bc6bf48b82ca6eec69e9273e8eabb6c0
MD5 7f7b07a86cbfc8f8186c4b7d1483ecf1
BLAKE2b-256 c217db1e474092b3e2092702e6885d23cd778335730354a5bc12ce667d4f1a04

See more details on using hashes here.

Supported by

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