pyxls
Python bindings for the XLS (eXtensible Logic Synthesis) compiler infrastructure.
[!NOTE]
pyxlsis a third-party project interfacing with the XLS C API. It is not affiliated, endorsed, or maintained by the XLS team at Google.
[!WARNING] pyxls is in development. The API is not stable and may change without deprecation.
Installation
pip install xls-python
Or from source (requires a C++20 compiler, Meson, and Ninja):
pip install .
Quick Start
from xls import Package, Value
IR = """
package my_pkg
top fn add(x: bits[32], y: bits[32]) -> bits[32] {
ret add.3: bits[32] = add(x, y, id=3)
}
"""
pkg = Package.parse_ir(IR)
fn = pkg.get_function('add')
result = fn.interpret([Value.make_ubits(32, 3), Value.make_ubits(32, 4)])
print(result.to_string()) # bits[32]:7
Documentation
See https://calad0i.github.io/pyxls/ for full documentation.
License
Apache 2.0
Metadata
Release files for xls-python 0.1.9934
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| xls_python-0.1.9934-cp314-cp314-manylinux_2_34_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.34+ x86-64 | Details |
| xls_python-0.1.9934-cp313-cp313-manylinux_2_34_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.34+ x86-64 | Details |
| xls_python-0.1.9934-cp312-cp312-manylinux_2_34_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.34+ x86-64 | Details |
| xls_python-0.1.9934-cp311-cp311-manylinux_2_34_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.34+ x86-64 | Details |
| xls_python-0.1.9934-cp310-cp310-manylinux_2_34_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.34+ x86-64 | Details |
Total release size: 424.9 MB
Release files / xls_python-0.1.9934-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | xls_python-0.1.9934-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 85.0 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
17a60c344c30c8b4d1daab9cf9a1e99c800b844f9ba85ba1b57c6ab0248d72b6
|
|
BLAKE2b-256 checksum How to use checksums |
5dc62b11b4298b98191bad624a75912819e1886b79e1adfe2471b3fadb0dc821
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / xls_python-0.1.9934-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | xls_python-0.1.9934-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 85.0 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
8babc207b9815fc0dae46d34d537c21162e174c675b00e0e808757a87a98c205
|
|
BLAKE2b-256 checksum How to use checksums |
e9a6eb828a2c1278398e78e8f6d3ebd740a9bde14b58f9006d456e9227e55445
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / xls_python-0.1.9934-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | xls_python-0.1.9934-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 85.0 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
5314c23ce09d36e93b5bbb868a6407a52488f3847ae8f1d25931ccc7dc8e8c8a
|
|
BLAKE2b-256 checksum How to use checksums |
ad651580458bb6c887c2ab75d37fe21719666186bb186f4d551be1a4fb695d0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / xls_python-0.1.9934-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | xls_python-0.1.9934-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 85.0 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
00d791eb26cd71d8af4d3965767852a2c21e0b404e808c879949cefd712cfde7
|
|
BLAKE2b-256 checksum How to use checksums |
5ee999d3c2bd3cbfe399a57a8d8a86850c2e9bbe6f4ae7d2734c26a708db0b62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / xls_python-0.1.9934-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | xls_python-0.1.9934-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 85.0 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
ceec53017fb0995a63c50150bf07fb3691bc04958b8ad02dbe837d7daedd35d3
|
|
BLAKE2b-256 checksum How to use checksums |
7c16e13e903f35bff045ef65d000d71681dba5a5af4aa6ced69410aeeb5620f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logSecurity for xls-python 0.1.9934
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 5 files in this release have been uploaded with provenance metadata.
Attestation for xls_python-0.1.9934-cp314-cp314-manylinux_2_34_x86_64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.