Python bindings for mxslc++
Project description
mxslc++
This package contains the Python bindings for the ShadingLanguageX C++ compiler. See the User Guide for information on how to get started and the Language Specification for documentation on what language features the compiler supports.
pip install mxslcxx
OS: Linux and Windows.
Python version: 3.9+.
import mxslc
mtlx = mxslc.compile_string_to_string("float f = randomfloat() + 1.0;")
print(mtlx)
<?xml version="1.0"?>
<materialx version="1.39">
<randomfloat name="node1" type="float" />
<add name="node2" type="float">
<input name="in1" type="float" nodename="node1" />
<input name="in2" type="float" value="1" />
</add>
</materialx>
Note that the package name is mxslcxx, but the module is called mxslc to be consistent with the old compiler. See below for the API documentation for the Python bindings.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mxslcxx-0.1.4-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b7481ce36b381f529f33fbd8909d3170dd40b404eb6f3977c6933d5ebc55047
|
|
| MD5 |
da7702c0724e1c77905f70fda0d09b49
|
|
| BLAKE2b-256 |
7c205716749b96ef720fd08c5a05875b4bdc5705f440c43dabf19a4a5ee2d643
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp313-cp313-win_amd64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp313-cp313-win_amd64.whl -
Subject digest:
6b7481ce36b381f529f33fbd8909d3170dd40b404eb6f3977c6933d5ebc55047 - Sigstore transparency entry: 1871793725
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14550b5a5e25ea9328efc8d60a6bc7d87018b1a352568edc47c6af8173ac75f9
|
|
| MD5 |
30f270d1d5cf4c4db4f892dc61843e1e
|
|
| BLAKE2b-256 |
5a4d51e8c6d4767ba7c56b5b3d0e12cd75ed2f89d91f0b6870d5992195b8beb6
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
14550b5a5e25ea9328efc8d60a6bc7d87018b1a352568edc47c6af8173ac75f9 - Sigstore transparency entry: 1871793667
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
522f5f6beabb31e82124d87b1fb4cff1bead88b5f37e7bdb832071177091e680
|
|
| MD5 |
69769bf31b9704cf2c6bcb38bb4fa843
|
|
| BLAKE2b-256 |
e713a0c88a2acc2727077c93abff0e6a32b01b0f1a336c7a27d7318cafb7c405
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp312-cp312-win_amd64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp312-cp312-win_amd64.whl -
Subject digest:
522f5f6beabb31e82124d87b1fb4cff1bead88b5f37e7bdb832071177091e680 - Sigstore transparency entry: 1871793385
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
001406eba56b5feaa777507bc4bd6d781d6d98db93217c3a80eccd25db66f56a
|
|
| MD5 |
9259d7f3b74c52660e7e875ee1a2989e
|
|
| BLAKE2b-256 |
b25123d017385078254801fa5fcc1720262c9050f174ee64dd51677c5b6ed555
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
001406eba56b5feaa777507bc4bd6d781d6d98db93217c3a80eccd25db66f56a - Sigstore transparency entry: 1871793828
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a44b61ceda1f96cfbbf071f8f4c62e371dfbe32bf8f122fc31f4adfb0ed4a187
|
|
| MD5 |
24b61e7074ab7bef5230d8d2a26a724c
|
|
| BLAKE2b-256 |
79268bde39a592d4af1778618f4f9ef5c9424a7120fee4188b1fd15b168b3e12
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp311-cp311-win_amd64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp311-cp311-win_amd64.whl -
Subject digest:
a44b61ceda1f96cfbbf071f8f4c62e371dfbe32bf8f122fc31f4adfb0ed4a187 - Sigstore transparency entry: 1871793970
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f56e18a54ab1b2b2a74ff7f7788592a956e8950c551c97004daa8af86ffbf543
|
|
| MD5 |
f81cf8454668b327642367959dbbbe2a
|
|
| BLAKE2b-256 |
c9e5c33dd727ab74799d402beb84efe588fb95743ea2ba2c406f236b2ab02eb9
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
f56e18a54ab1b2b2a74ff7f7788592a956e8950c551c97004daa8af86ffbf543 - Sigstore transparency entry: 1871793317
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dce4fe956a2ed53588dd1cd9f1f45d34dedc8f57585d1ee7be2da6831df026c0
|
|
| MD5 |
1ec80d79d26150164d1ec012b2ffe1bf
|
|
| BLAKE2b-256 |
53d16bcfab33239c3e00949eb1feb2d0a1de473e95c13b9fa2e2348116053489
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp310-cp310-win_amd64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp310-cp310-win_amd64.whl -
Subject digest:
dce4fe956a2ed53588dd1cd9f1f45d34dedc8f57585d1ee7be2da6831df026c0 - Sigstore transparency entry: 1871793462
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e46992cc1de4a76bff7527014b2062b2bd4c3af87be3a6304bcfc0efe5c355b
|
|
| MD5 |
0082d576f8cceed8a051fb4986d8d303
|
|
| BLAKE2b-256 |
b2dc58551a79addaf756dfee3ef8917624f079ae66db0aea220b0de45ef18b5e
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
5e46992cc1de4a76bff7527014b2062b2bd4c3af87be3a6304bcfc0efe5c355b - Sigstore transparency entry: 1871793911
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
869d12edee3c6159c52761aed271bdbe978439293e355f4a062c7decbe67e1db
|
|
| MD5 |
c25d1e4a8242b35805af2747bfa84a18
|
|
| BLAKE2b-256 |
c804a24a895e493c44e24e5cf842ddce79a282ca97c858462eeff16662178d6f
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp39-cp39-win_amd64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp39-cp39-win_amd64.whl -
Subject digest:
869d12edee3c6159c52761aed271bdbe978439293e355f4a062c7decbe67e1db - Sigstore transparency entry: 1871793601
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mxslcxx-0.1.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mxslcxx-0.1.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.9, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
281325493d86151eef367b13deb7af7df255e8a5f094dfb119127770c9c1762d
|
|
| MD5 |
7be4ef3d2786076081774b34b2a0bf94
|
|
| BLAKE2b-256 |
3f1447b5b6d3d8f9b7f403d1ac0ed00e8baf2db804b92bc94090c7eab270ae78
|
Provenance
The following attestation bundles were made for mxslcxx-0.1.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
publish-wheels.yml on jakethorn/ShadingLanguageX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mxslcxx-0.1.4-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
281325493d86151eef367b13deb7af7df255e8a5f094dfb119127770c9c1762d - Sigstore transparency entry: 1871793530
- Sigstore integration time:
-
Permalink:
jakethorn/ShadingLanguageX@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jakethorn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-wheels.yml@498fc877456b70213d711e98ce7d0bc7fd06ae1f -
Trigger Event:
workflow_dispatch
-
Statement type: