Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gldf-rs-python

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gldf-rs-python

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

  • 0.2.3
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc