clvm-tools
CLVM compiler.
Decision gist · record as of 2026-08-14
Yes, if you are developing on Chia blockchain or need to work with CLVM. The package is actively maintained, has no known vulnerabilities, installs with low friction, and carries a permissive license. It is in Alpha status, so expect occasional API changes; however, the 660-day release cycle and active repository suggest stability for production use. Install only if CLVM compilation is a direct requirement for your project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later (supports 3.9, 3.10, 3.11, 3.12 per classifiers); clvm-tools-rs dependency may require a Rust toolchain or prebuilt binary depending on your platform.
- Low friction: pure Python wheel with four runtime dependencies (clvm, clvm-tools-rs, importlib-metadata, setuptools).
- Actively maintained with recent commits; last release 660 days ago suggests stable maturity rather than abandonment.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects that can comply with attribution and derivative-work disclosure requirements.
last release 2024-10-23 (660 days) · last repo commit 2026-08-14 · 51 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 122,146 downloads/mo, #11,958 on PyPI
Alternatives
Verify before relying
pip install clvm-tools
from clvm_tools.clvm_tools import run
result = run('(mod (X) (+ X 3))')
print(result)- Whether clvm-tools-rs is available as a prebuilt wheel for all supported platforms or requires compilation.
- Performance characteristics and typical compile times for real-world CLVM programs.
- Completeness of error messages and debugging support for CLVM syntax errors.
What it is and what it does
clvm-tools is a compiler for CLVM, a LISP-like language designed for writing smart contracts on the Chia blockchain. It translates high-level CLVM source code into lower-level bytecode that runs on the CLVM virtual machine. The compiler supports defining functions with `defun`, macros with `defmacro`, inline functions with `defun-inline`, and provides operators like `mod` for module definition, `if` for lazy conditional evaluation, and `qq`/`unquote` for template expansion.
The package is primarily used by Chia blockchain developers to write transaction-encumbrance logic—code that controls when and how funds can be spent. It handles both the parsing and compilation phases, auto-quoting literals and expanding macros at compile time. The tool is invoked via command-line utilities (`run` to compile, `brun` to execute) or as a library, and it depends on clvm for the underlying virtual machine and clvm-tools-rs for performance-critical compilation steps.
Use it for
- Write and compile Chia smart contracts that control fund release conditions and transaction validation logic.
- Develop reusable CLVM macros and inline functions to reduce code duplication in blockchain applications.
- Test CLVM programs locally by compiling and executing them with the `run` and `brun` utilities.
- Build cryptocurrency wallet or exchange software that needs to generate and validate Chia transaction scripts.
- Prototype and debug smart-contract logic before deploying to the Chia blockchain.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing on Chia blockchain or need to work with CLVM.
The package is actively maintained, has no known vulnerabilities, installs with low friction, and carries a permissive license. It is in Alpha status, so expect occasional API changes; however, the 660-day release cycle and active repository suggest stability for production use. Install only if CLVM compilation is a direct requirement for your project.
Install
clvm-tools on PyPI
Before you install
Low friction: pure Python wheel with four runtime dependencies (clvm, clvm-tools-rs, importlib-metadata, setuptools). Actively maintained with recent commits; last release 660 days ago suggests stable maturity rather than abandonment.
Requires Python 3.9 or later (supports 3.9, 3.10, 3.11, 3.12 per classifiers); clvm-tools-rs dependency may require a Rust toolchain or prebuilt binary depending on your platform.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects that can comply with attribution and derivative-work disclosure requirements.
Quickstart
pip install clvm-tools
from clvm_tools.clvm_tools import run
result = run('(mod (X) (+ X 3))')
print(result)
Verify before relying
- Whether clvm-tools-rs is available as a prebuilt wheel for all supported platforms or requires compilation.
- Performance characteristics and typical compile times for real-world CLVM programs.
- Completeness of error messages and debugging support for CLVM syntax errors.
Package facts
| License | Apache-2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesclvmclvm-tools-rsimportlib-metadatasetuptools |
| Maintenance | Actively maintained 660 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 122,146 / month, #11,958 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Security :: Cryptography |
Evidence: clvm_tools-0.4.10-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “clvm compiler”
- clvm-toolsCompiles a LISP-like smart-contract language (CLVM) into executable…
- clvm-tools-rsCompiles and executes Chialisp programs to CLVM bytecode, providing…
- clvm-rsRust-based implementation of the CLVM virtual machine for Chia…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also clvm · clvm-tools-rs · py-evm · clvm-rs · chia-base · vyper · ethereum-dasm · chialisp-builder · chia-rs · chia-puzzles-py