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

Rust

gldf-rs-python

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

0.2.3

  • added new header definition, because FormatVersion changed
  • added Logger to pass into some methods
  • added test to completely check and compare to URL based gldf
  • bumped up versions of dependencies

0.2.2

  • added support meta-information.xml

0.2.1

  • added better documentation fo the main page
  • for wasm support some refactoring was needed, to use reqwest::blocking

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.3.tar.gz (59.1 kB view details)

Uploaded Source

Built Distributions

gldf_rs_python-0.2.3-cp37-abi3-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.7+ Windows x86-64

gldf_rs_python-0.2.3-cp37-abi3-win32.whl (1.9 MB view details)

Uploaded CPython 3.7+ Windows x86

gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ x86-64

gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_i686.whl (2.5 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ i686

gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_armv7l.whl (2.5 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARMv7l

gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

gldf_rs_python-0.2.3-cp37-abi3-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

gldf_rs_python-0.2.3-cp37-abi3-macosx_10_12_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

File details

Details for the file gldf_rs_python-0.2.3.tar.gz.

File metadata

  • Download URL: gldf_rs_python-0.2.3.tar.gz
  • Upload date:
  • Size: 59.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for gldf_rs_python-0.2.3.tar.gz
Algorithm Hash digest
SHA256 556b35f63ca2faf94c391c2492afe972a262701c1fc32d4e547eb5da425c73d1
MD5 cf85d774148c0477eba6e248cd4641f0
BLAKE2b-256 e00f7856f71d062636be8884f14d11f1fd9af0b6300e5d5fe77a5f3bd8b9c24e

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3187c17c480773b185b216b11547860c9df25a7e8561e98abf8eaeab9995b48a
MD5 f25b657e375a8b6302d31e296272f9d5
BLAKE2b-256 9d77664075d048b3e8118098092d22f02fc96fd253f80c1a86b3871ff01eba76

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 23510307a63fcc6c45cb32807d35ef5ceef10cbd6a7f2e5fc01506ec8f85de95
MD5 300c942b0ad89392f7b03a93361c7fdb
BLAKE2b-256 72c9821440f9ef68d497d58b249c08b733a4c744274806367c17b07f074fe86b

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5cbefdcb9410d184bb8eef718a543adc9d00423cd9451728a8b58d9d65201e3d
MD5 f406dbb32f6220f7af32d19e08f1a3d2
BLAKE2b-256 096b5243ccdd766b1257feba6b6f048db3344beb0b04aef9b6dfa3504c1c348d

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e56b0aa1353c927cb3b59452fdcb7238b60046635895c0fc78203dfe0d39de72
MD5 32302a8cc8954fb683d90b165ec78a2c
BLAKE2b-256 cbf7bbb224a3b7dbc16d64ecb2121b9acb8f7dc31600f8980b6322f58d29d3f9

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 d9918c65dd101eb18332945467b0c9431f9cea4d9221d0ce37937dc78273f141
MD5 d49c22e700ab757c67e854af20d838c5
BLAKE2b-256 4c316fbaf9139662417be801cecc692d9c358e36c595ac00bea8caee3b43e847

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b6cb0951e94eb43243d6495a859200939db521bb197298e877b2232c0519b029
MD5 99145414b8487a59510ade14283cadbb
BLAKE2b-256 73895d44a315dcef24fd4e571a1ddacfe090c6ebb897cc933757378acae8187f

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8b9285a6d798548b0f9bc100a57f05a427f0ebbeccbb57313a5d3b6e376d3112
MD5 046dbda6dc7444135fa5763495a20ad9
BLAKE2b-256 7b4286bc1009eed40b80293967982593da65aab542a806087c20343289bf6c78

See more details on using hashes here.

File details

Details for the file gldf_rs_python-0.2.3-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for gldf_rs_python-0.2.3-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0b35ad0724c524a23f134d50953037b00004ad8aea2d513267ffda80c11f0839
MD5 680b0f22cf3470b8b0385aa3076d88c0
BLAKE2b-256 c40ce794b14ee3245727ad8967372b110c4ea40d75c96e4703d8f6848394eca4

See more details on using hashes here.

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