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
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
Release history Release notifications | RSS feed
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)
Built Distributions
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f522aac15e17d5f6fee3739d7a72197f1e05819bff83835a0eb80676f5b90f3c |
|
MD5 | ef60367b1dffa866b70126601e723019 |
|
BLAKE2b-256 | 66263e45b920aa561a494061853bf997fd9602cfed028ac818aa3fdfc8da0778 |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b44057f3fc7eb71a0c41651d7ff8ecd532e0cd691866ca64689d42e6f429fe0c |
|
MD5 | a6d83863e4cbfeeaea0c8bda30b12657 |
|
BLAKE2b-256 | 1d8871ac6632781eda9bd60bd4e22964903fb0e348b5ae0a322c51704019f951 |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16aa95545501d1d3ffc146c6bd571546ceca1b22ab7e29af45baf5f5818d39b0 |
|
MD5 | c6339be7a93ba311b0df63004b96c7f9 |
|
BLAKE2b-256 | 4695828370276aed3fde2fc9b630b875a50f7e50cc6659c4a772db75b02f9e24 |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951638113549a3b55fa20fa32798cd34b4d4f682c01ed61c4752f0eecb3c8d0c |
|
MD5 | 3b5579388a5ed8d50889f4e46a115a90 |
|
BLAKE2b-256 | 44755eabf55cc0de2d675453ebe22af8ec063335ceb3d1cdab1929c3f52b879f |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 367a296eac1aee7dce495333e93277c4c6daf90566885915fd79b62506cdd537 |
|
MD5 | 49cba3465390a2be915ef89ca55655f3 |
|
BLAKE2b-256 | 411b8bd1baf836c55fea8053b9ed5760a947cfa42d8be73ca78679583609536b |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae4833527a0a5bc75e927bf67870803752b0d16b305eefb1339768f06b1f67f1 |
|
MD5 | e378a3d182054e24a7aea72bba70ff95 |
|
BLAKE2b-256 | 1eccbc3299c7f303102237411287cba6c0cdc8d5f31bfbe514839e3e4321817a |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8785362edb0b3391c67d6a9edf4a7264eab21de727973f9f6667a148b591cef6 |
|
MD5 | 378e37a051c150d89ab6735c6323b08d |
|
BLAKE2b-256 | 77173b979e00f6e550827ff83bfe3447b464f5a94bfd67f2f69dd8fdae671996 |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 810337c2b0330efb969f9ad5fd0236e5d355c76a6287c47456aeba77d8f16a30 |
|
MD5 | 9ba8ec6f9d65619dda1308c444f673b6 |
|
BLAKE2b-256 | 66779300c367a60bfc0ae3ac5cb3d0d536e2ac48f3f6f981850769424c62f59d |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1fe05292b61c329d7602f457cd1defa07205fd6e87de9ba7aad72a175b3328 |
|
MD5 | c8a8cbbfd74bd1eab0ea2d6f552f3d8d |
|
BLAKE2b-256 | 52c682f02d2489ec207affbc76b05168414a5439bbf57bcb76414fef7db0e076 |
Close
Hashes for gldf_rs_python-0.2.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ce6173206c49066065e04d56eec3161d15ea1d0190ec1193ec29c973924bb0 |
|
MD5 | 34216f2e471c40669373d6d0f9b5c3bb |
|
BLAKE2b-256 | d149a023ffedf2340055333bc5fd4af84dc12bbb40186517de8f2c3d57d3149a |