Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mxslcxx-0.1.3-cp313-cp313-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.13Windows x86-64

mxslcxx-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mxslcxx-0.1.3-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

mxslcxx-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mxslcxx-0.1.3-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

mxslcxx-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mxslcxx-0.1.3-cp310-cp310-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.10Windows x86-64

mxslcxx-0.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mxslcxx-0.1.3-cp39-cp39-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.9Windows x86-64

mxslcxx-0.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file mxslcxx-0.1.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: mxslcxx-0.1.3-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

Hashes for mxslcxx-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 05047989f16324da3617026cd98a1647f78e385314c2d6909d331a0ce16e4e91
MD5 73643513bf0a541aa84f19a669d3ff84
BLAKE2b-256 e9b5fcb8d0ad6f8650a307747f5c6c4eb250a7229bf984074998fde80400e6e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp313-cp313-win_amd64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mxslcxx-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a6b4bff2436e2161ecebe33cc67bbd496f1d180a03b8e345bde98cf27f549d5b
MD5 1ff3f07d8dc315c2ea4121577e4ac308
BLAKE2b-256 1e40cfa3e6803f94c737d0468b598cbb445fdf6f27bc14e7ae3444cdab8dc429

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: mxslcxx-0.1.3-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

Hashes for mxslcxx-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 064e4b4919f4c840ce5568e28efc0769576a2cd1cd2053dd2de79a4ba0f7812f
MD5 6716d065737e239efece1abf3d146761
BLAKE2b-256 c7d9f2394523d090287a21167d3cab350af1f760ad786cbc94a9813422e1eff1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp312-cp312-win_amd64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mxslcxx-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5bb0866f396cfc625b1dcc089598f01dc45f07513363a80f09021cb73a6910f1
MD5 fa3b76b89a3f9e06ed3009b197fe178e
BLAKE2b-256 91cd3fbc2b1c7ac2caf7a92cdf35503af283e2186b3a40370e26a724b46e92a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: mxslcxx-0.1.3-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

Hashes for mxslcxx-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 54d55703f507cb34f736289ddc4f1228c7d5fc6cfa9f75348bbb9d51f33d02a0
MD5 8fd94ee4fdbdf64a51ef0e5e59465b9d
BLAKE2b-256 e95722c090201c4f2265c8ed9c3b1b9aa22633632f23e4b6b921ee84970a548f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp311-cp311-win_amd64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mxslcxx-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d5f30bdc4ea99fb0777cbb7498a5f3fc866dd43602329b2ae88504a077b1e44a
MD5 31d65945fac958da1ebc7fd9e21102e7
BLAKE2b-256 6db00aa75ea73099e375f5beb9ee70881e900aaa2f62411556186f39c9734f38

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: mxslcxx-0.1.3-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

Hashes for mxslcxx-0.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 490c39ef1a5476535dfa473e26d9c40cf31a259033cd73445ff2d202bd05a856
MD5 44e83c0e926c1be8dba88820e5791d01
BLAKE2b-256 47dc133269dcead6d6f8297f41a2b5e5f7732e74eddd634d4774eae3422cfb03

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp310-cp310-win_amd64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mxslcxx-0.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6ba65775d162f8430611575a7c6599f2ea137673e8d4f39724455d51a42bc69a
MD5 c29f1966205f3d3baa1b4dbb05e98853
BLAKE2b-256 5b3672bde42c1b89d587159912e15d5519062a92c2d61da08c8767f05bc54353

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: mxslcxx-0.1.3-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

Hashes for mxslcxx-0.1.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d21eab28f7361d4f3d4ea7b059505c5946377c7f68f1226449c5e16fc9c61698
MD5 241a03790db785f45069ce72913e7436
BLAKE2b-256 2c189bec67f55762a1802415f052f507621ca08a47de7307ddb8c02149528575

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp39-cp39-win_amd64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mxslcxx-0.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mxslcxx-0.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c8b5c3ce816d38d1124727f147e35ef3a800b9ce6fda80954f67b8bf32a3341
MD5 11a23267e379aafa39eaf621129d9c68
BLAKE2b-256 e252b73363a6a8f935b4e86341e05cb907a3d816c7bafcacf5d056154e0972f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mxslcxx-0.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish-wheels.yml on jakethorn/ShadingLanguageX

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page