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.5.tar.gz (9.1 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.5-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vdma_lif-1.0.0.5.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for vdma_lif-1.0.0.5.tar.gz
Algorithm Hash digest
SHA256 1af6bd1dc8fd016434ab2b69aa8dca9754db9c9f16e7afd29a5effff5e5a95c6
MD5 f464687f2cfdf0eb2390c942f1dcf01a
BLAKE2b-256 9f0f53c1f12643afa160aefe291ed5914205ed7869d0f21c3f62e85ce31f77c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vdma_lif-1.0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for vdma_lif-1.0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 95fb44ac8e4cc27b25f8a03a8d9761c41a0144622c65e2c5011df0aab1462072
MD5 b69e556e22de6ff73f304498f834fd47
BLAKE2b-256 ede739800b6ac487c4220885473c8ba527df0cfb241bc9b2ff23a7682bc4f48d

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