Skip to main content

Python Module of the GLDF (General Lighting Data Format) parser and writer for Rust, specifically for the Rust/WASM target as such designed for JSON format

Project description

CI

gldf-rs-python

Some more descriptive info in the Cargo.toml file Added the build.rs mostly bcs of macOS

v0.2.0 New: support for file types of url support for BOM encoded UTF8 product.xml

WIP python module and binding for the gldf-rs rust library
the github workflow shall make sure all the wheels are build
and published to pypi

install via pip:

pip install gldf-rs-python

create venv and maturin

maturin develop

import gldf_rs_python

xml = gldf_rs_python.gldf_to_xml('tests/data/test.gldf')

json = gldf_rs_python.gldf_to_json('tests/data/test.gldf')

xml2 = gldf_rs_python.xml_from_json(json)

xml == xml2

=> True

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

gldf_rs_python-0.2.0.tar.gz (44.2 kB view hashes)

Uploaded Source

Built Distributions

gldf_rs_python-0.2.0-cp37-abi3-win_amd64.whl (1.8 MB view hashes)

Uploaded CPython 3.7+ Windows x86-64

gldf_rs_python-0.2.0-cp37-abi3-win32.whl (1.7 MB view hashes)

Uploaded CPython 3.7+ Windows x86

gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (3.5 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (3.4 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.1 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.1 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (3.4 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

gldf_rs_python-0.2.0-cp37-abi3-macosx_11_0_arm64.whl (2.0 MB view hashes)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

gldf_rs_python-0.2.0-cp37-abi3-macosx_10_7_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

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