Skip to main content

Static Z3 development artifacts for native build systems

Project description

z3-static

z3-static is a Python package that carries native Z3 development artifacts for build systems. It does not provide Z3 Python bindings.

The wheel contains:

  • Z3 C and C++ headers.
  • A PIC static Z3 library (libz3.a on Unix-like platforms, .lib on Windows).
  • Z3 CMake package files under z3_static/static/lib/cmake/z3.
  • Z3 pkg-config metadata when upstream install provides it.

Build systems can locate the package from Python:

import z3_static

print(z3_static.get_cmake_dir())

Or from a build script:

python -m z3_static.config --cmake-dir

For CMake projects, pass the reported directory to find_package:

find_package(Python COMPONENTS Interpreter REQUIRED)
execute_process(
  COMMAND "${Python_EXECUTABLE}" -m z3_static.config --cmake-dir
  OUTPUT_STRIP_TRAILING_WHITESPACE
  OUTPUT_VARIABLE Z3_DIR
)
find_package(Z3 CONFIG REQUIRED)

Local Build

Build a wheel from an upstream Z3 tag:

STATICLIB_Z3_TAG=z3-4.16.0 \
STATICLIB_Z3_ALLOW_SOURCE_BUILD=1 \
python -m build --wheel

Use an existing Z3 checkout:

STATICLIB_Z3_TAG=z3-4.16.0 \
STATICLIB_Z3_SOURCE_DIR=/path/to/z3 \
STATICLIB_Z3_ALLOW_SOURCE_BUILD=1 \
python -m build --wheel

Source builds are opt-in to avoid accidental long Z3 builds on unsupported platforms when pip cannot find a matching prebuilt wheel.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z3_static-4.16.0.post1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distributions

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

z3_static-4.16.0.post1-py3-none-win_amd64.whl (66.7 MB view details)

Uploaded Python 3Windows x86-64

z3_static-4.16.0.post1-py3-none-manylinux_2_28_x86_64.whl (22.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

z3_static-4.16.0.post1-py3-none-manylinux_2_28_aarch64.whl (22.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

z3_static-4.16.0.post1-py3-none-macosx_11_0_arm64.whl (17.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

z3_static-4.16.0.post1-py3-none-macosx_10_9_x86_64.whl (18.5 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file z3_static-4.16.0.post1.tar.gz.

File metadata

  • Download URL: z3_static-4.16.0.post1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for z3_static-4.16.0.post1.tar.gz
Algorithm Hash digest
SHA256 b9b7b7df5d41b887ce9f863750e32242d6601fa499cd0cb080dc94f182523e66
MD5 e1404df5fa655c85d5cdc6f701592f06
BLAKE2b-256 addbc42ca3ca871af54bef861149a1790f2116eb270e486bf30b0960c488fbdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for z3_static-4.16.0.post1.tar.gz:

Publisher: z3_static_wheel.yml on mlc-ai/package

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

File details

Details for the file z3_static-4.16.0.post1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for z3_static-4.16.0.post1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b29bdcdce3335f388a6e4b05ef414f150b952a66c1da82cda903f15521da8d59
MD5 acec4ebf69de4d935955b2f6f0da03ac
BLAKE2b-256 f08c28b30a7308ca41c3dfbef78ed15dd7f124e84d7facf4a13b1720f3395c30

See more details on using hashes here.

Provenance

The following attestation bundles were made for z3_static-4.16.0.post1-py3-none-win_amd64.whl:

Publisher: z3_static_wheel.yml on mlc-ai/package

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

File details

Details for the file z3_static-4.16.0.post1-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for z3_static-4.16.0.post1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 938c42daa1fec9c5673b9065d1c361ab427e82cc0245eca3a98ad74670d54d71
MD5 e5668050400e3f44e5e3f97e59f3fad2
BLAKE2b-256 cff3a91a7a49503abec55eda9857d11615d5d49acca1247a225e1cfee5fb4850

See more details on using hashes here.

Provenance

The following attestation bundles were made for z3_static-4.16.0.post1-py3-none-manylinux_2_28_x86_64.whl:

Publisher: z3_static_wheel.yml on mlc-ai/package

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

File details

Details for the file z3_static-4.16.0.post1-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for z3_static-4.16.0.post1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 77e0632c44ddd15dcbb174442e4565204627aed70f6c39008b8ed3c8b6807306
MD5 b0a61e227364b09db7efe66aa7fd2d96
BLAKE2b-256 926fbccaa4a740d53767bb54dd84eb8d1a3e03a307672966c320fd8cf8a6dfac

See more details on using hashes here.

Provenance

The following attestation bundles were made for z3_static-4.16.0.post1-py3-none-manylinux_2_28_aarch64.whl:

Publisher: z3_static_wheel.yml on mlc-ai/package

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

File details

Details for the file z3_static-4.16.0.post1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for z3_static-4.16.0.post1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bba4bce72c45350057a23f547054a641cb0885982fae78e52ad3769d8f69264d
MD5 b29b285547c47f40e523648652bee942
BLAKE2b-256 0c3a5f9dcab122464f1cd9b42e8bfe44877e4f1c535d4f5298e71489b6962715

See more details on using hashes here.

Provenance

The following attestation bundles were made for z3_static-4.16.0.post1-py3-none-macosx_11_0_arm64.whl:

Publisher: z3_static_wheel.yml on mlc-ai/package

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

File details

Details for the file z3_static-4.16.0.post1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for z3_static-4.16.0.post1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c7d3e0ef482c48c4c5a5f3fd7a3d0efb1ad1c6f98894e362a34f4ec6025b075e
MD5 80e905a2a5448857b9a2becbb1153926
BLAKE2b-256 603bddd3d5f878a9ab1ac6913be9bed137ce55782e148e511e3b3dd07d90ef7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for z3_static-4.16.0.post1-py3-none-macosx_10_9_x86_64.whl:

Publisher: z3_static_wheel.yml on mlc-ai/package

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