Skip to main content

No project description provided

Project description

MLC Logo

MLC-Python

MLC is a Python-first toolkit that makes it more ergonomic to build AI compilers, runtimes, and compound AI systems. It provides Pythonic dataclasses with rich tooling infra, which includes:

  • Structure-aware equality and hashing methods;
  • Serialization in JSON / pickle;
  • Text format printing and parsing in Python syntax.

Additionally, MLC language bindings support:

  • Zero-copy bidirectional functioning calling for all MLC dataclasses.

:key: Key features

TBD

:inbox_tray: Installation

:package: Install From PyPI

pip install -U mlc-python

:gear: Build from Source

python -m venv .venv
source .venv/bin/activate
python -m pip install --verbose --editable ".[dev]"
pre-commit install

:ferris_wheel: Create MLC-Python Wheels

This project uses cibuildwheel to build cross-platform wheels. See .github/workflows/wheels.ym for more details.

export CIBW_BUILD_VERBOSITY=3
export CIBW_BUILD="cp3*-manylinux_x86_64"
python -m pip install pipx
pipx run cibuildwheel==2.20.0 --output-dir wheelhouse

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

mlc_python-0.0.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.8 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

mlc_python-0.0.9-cp313-cp313-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.13 macOS 11.0+ ARM64

mlc_python-0.0.9-cp313-cp313-macosx_10_13_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.13 macOS 10.13+ x86-64

mlc_python-0.0.9-cp312-cp312-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.12 Windows x86-64

mlc_python-0.0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.8 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

mlc_python-0.0.9-cp312-cp312-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

mlc_python-0.0.9-cp312-cp312-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

mlc_python-0.0.9-cp311-cp311-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.11 Windows x86-64

mlc_python-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mlc_python-0.0.9-cp311-cp311-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mlc_python-0.0.9-cp311-cp311-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

mlc_python-0.0.9-cp310-cp310-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.10 Windows x86-64

mlc_python-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mlc_python-0.0.9-cp310-cp310-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

mlc_python-0.0.9-cp310-cp310-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mlc_python-0.0.9-cp39-cp39-win_amd64.whl (2.5 MB view details)

Uploaded CPython 3.9 Windows x86-64

mlc_python-0.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mlc_python-0.0.9-cp39-cp39-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

mlc_python-0.0.9-cp39-cp39-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file mlc_python-0.0.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e940c00d068eabf21dd25d1c2a0eefad613b846f3cf822fb5c594490a0619ff
MD5 68b64a6a4f3fae6bc4b066cd16954e3e
BLAKE2b-256 b85eb7f3cca878d850dd7725a6beaaaf51a6b1f7d6480c60b78158e3d697c637

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fbe84b6dce2a897855b4038d9f7a5cab7effdf76863e39c08259c0e0752b6c40
MD5 622d10061e9e3b4a43407b42337e5e1a
BLAKE2b-256 94a045ffb507611df1a2f2cbed352a93ab263cf124af3cf57c38e1177431e956

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7edc242000d76a833c87ab10796f2bdf03660698f7c2b61c2d4c187de3d896cb
MD5 8656d08c78b429111f812e6d0ae6dacb
BLAKE2b-256 0706ea8ff677f936cb581280fd0f1993baff1f501a7d3a7a44ad9f29910212d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9a8b7add7ad3cd46eeab4ebd0435ed6431f29a867c8816de9416fb9b44c844f7
MD5 b2c0855ea9f5eb8e819a9286d844e56e
BLAKE2b-256 b531d3a7ecff2e84428aec3a5df52749be5792ec6aaa7826bc82cd631e6ca8ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp312-cp312-win_amd64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 55328343624c67d3ac62e6feab13339bcec64394ff7af8f6e0a39ea624172877
MD5 51d0cb3a437d06ebe5af66d24e25b225
BLAKE2b-256 371946f4bb3f140217fe4c52f7a3633bca18274379a3d297e174618b9c4a37da

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af7e735be58dedd981f849ca49878f7fdb1f34e538ccea8a2161ba47d8eccf83
MD5 d8f143f2fe00dc17c10901e8bda3d658
BLAKE2b-256 75eace270c9c3e17c7cc72dbfe8822e077e23223230f31c0af4bf85582547a28

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f7887f2f8d71cc6fae0e75ca491564a86fa35b2a210c360f1585271a5ea37d27
MD5 aa023cfc42982d9b794f812d3ef315f8
BLAKE2b-256 626291abeb389a0fc2ead5cfb9b0eab86da02ff4bacd2e9f29ad0310cf57c767

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp312-cp312-macosx_10_9_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 730e14faf765f8c691bece7a880f1f880f0dfc2fb175d6dbbaac24277b993160
MD5 87c97f4cd36d3c5d8cbe9c7f98ff3059
BLAKE2b-256 8d0d5a063e8424835e0a5c5c140ec58c3eda55ad70de51d4b6637d9476117df3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp311-cp311-win_amd64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02c6e45dbf4b9329d0d005774e73e2439b3fe2c1cf1138c52957df8896e7546d
MD5 f8de58b21a61bf83b9ef7d1bb436e362
BLAKE2b-256 1c15827b5e87a3f8ccb242192514cd91a2e62995f61b1dc4ef0063d36d09b8f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3b3a29a769ca0a1e41d7aa0d91626442c0693ff513cbe961687ce68afd1a101
MD5 217345dc65ed3cdce231cc353d3048cf
BLAKE2b-256 5940e1a87f3501ab789600d3718a2003c7d294587dc985f5af0d760b07b8df0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 654988f5062489f8ab52ed30712d03b6f82308308d1bd09324586ebb9aae6f03
MD5 ba900e0d4e7b99536cd92980e1334e95
BLAKE2b-256 2bcb8ab0e34900f0d8459d0493071373bbaa03c4b73257e6acc53ce4748094f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e22b2b771e31b8b83a153bd503c49a11d7ebd9034587c85695208da0420c3d75
MD5 5e097beb238009682da02a48195975ce
BLAKE2b-256 11b2bcd4318bdf02eb4174b9e4428386811f5960795f09e71620bb29e37736cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp310-cp310-win_amd64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf99955b12d29140176d6d2fbe584991c67684c33815cfe2597d809e466be6a0
MD5 5760041a8647e862f947d8c7952cc02e
BLAKE2b-256 f8b12b866e631c9b1aa24171b0e2f7c776c5607572a1c073ac6fa446dbb41fba

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1eac4f3f20a0e562a10834c2632d8f650eba86b8822fe850a672fbe833730a5
MD5 e5794e16ce12948caa534aace501bbbc
BLAKE2b-256 e819f7ba1eec38321cab3058a8b052693ccbd56294ea456f91b53a62045a99d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 081839214ea3a5b59ac623e5c4eb28db5f7eebb25f7089ec8043bd13e20a9268
MD5 de7da8a104926ad81aaff1e05a1b109a
BLAKE2b-256 e71d73dc36b2492f0a75a20fc010d5fb42ad7ce57b2937d74e491f717f43c151

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 044e4085c985c4aa5b6be016890f1a6ec9964858c0b2aa5792687c9e59993493
MD5 98e70877b106d3eca070f75bf0551ebf
BLAKE2b-256 1152e1175f4173059b94cf69c05504ce69dc247f230760d3e8d9b9fc832d48b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp39-cp39-win_amd64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cfc55dfc94fd4fe6d2605543b85060a5679f92dc2db948be2ecf37dd65e658cf
MD5 d04a8da2fe8b32d5908f97b74078d76a
BLAKE2b-256 4f3f3be3a114ff7b68b68cdeed3abb3434829b4ddea17b2c9d4a80ec8f1d00a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d73919d8432f15fd638995e9217d4abb7764a36336db709c7ae9ceeed53e190
MD5 cab8df151ccedba369afc3799fa6e688
BLAKE2b-256 a60e58614675daa70eda2beeeb6b821ac96b3d726b303548c54ea46832508941

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

File details

Details for the file mlc_python-0.0.9-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mlc_python-0.0.9-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 59b82ca5a75a16ba60c811a1d604f1f1232619714bdc1cb2a37ac2d99b328b53
MD5 97132af27b9dc777cec43e4c219bdbf0
BLAKE2b-256 1bbda0976ae190f1dd26f2a010e38f6659fdb2c270983409974afde6e3e08f2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlc_python-0.0.9-cp39-cp39-macosx_10_9_x86_64.whl:

Publisher: release.yml on mlc-ai/mlc-python

Attestations:

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