$npx skillfedfor your agent

py-solc-x

Python wrapper and version management tool for the solc Solidity compiler.

Worth itPyPI Build ToolsReleased Dec 2025222.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_solc_x-2.0.5-py3-none-any.whl
v2.0.5 · released 2025-12-10 · Python <4,>=3.8 · 2 runtime deps: requests, packaging

Yes. Low install friction, active maintenance, no known vulnerabilities, and permissive MIT licensing make this a straightforward choice for Python projects that need Solidity compilation. Install it if you're building Ethereum tooling in Python and need compiler version flexibility.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Compiling from source requires system-level solc build dependencies; prebuilt binaries are available for Linux, macOS, and Windows.
  • Low friction install with only two lightweight runtime dependencies (requests and packaging).
  • Actively maintained with stable production status.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2025-12-10 (247 days) · last repo commit 2026-05-08 · 143 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 222,485 downloads/mo, #9,263 on PyPI

Verify before relying

pip install py-solc-x

from py_solc_x import compile_standard
compile_standard({"language": "Solidity", "sources": {...}})
  • Whether prebuilt solc binaries are automatically downloaded or require manual setup.
  • Performance characteristics when switching between multiple installed solc versions.
  • Specific Solidity versions beyond >=0.4.11 that are actively tested and supported.
Same gist for agents: .md · .json

What it is and what it does

py-solc-x is a Python wrapper around the Solidity compiler that handles both installation and invocation of solc. It lets you install and manage multiple versions of the compiler on your system, then call them from Python code to compile Solidity smart contracts. The package abstracts away platform-specific compiler setup—handling downloads and builds for Linux, macOS, and Windows—so you can focus on compilation logic rather than toolchain management.

The package is commonly used in Ethereum development workflows where Python tools need to compile Solidity code as part of a build or test pipeline. It depends on requests and packaging for downloading compiler binaries and version parsing, keeping the dependency footprint minimal. The project is actively maintained and supports Python 3.8, 3.9, 3.10, and 3.11.

Use it for

  • Compile Solidity smart contracts from within a Python test suite or build script without manual compiler installation.
  • Manage multiple Solidity compiler versions in a single development environment for testing contract compatibility.
  • Automate Solidity compilation as part of a Python-based Ethereum development framework or CI/CD pipeline.
  • Build Python tools for Ethereum that need to compile contracts on-the-fly without requiring users to install solc separately.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Low install friction, active maintenance, no known vulnerabilities, and permissive MIT licensing make this a straightforward choice for Python projects that need Solidity compilation. Install it if you're building Ethereum tooling in Python and need compiler version flexibility.

Install

py-solc-x on PyPI

Before you install

Low friction install with only two lightweight runtime dependencies (requests and packaging). Actively maintained with stable production status.

Compiling from source requires system-level solc build dependencies; prebuilt binaries are available for Linux, macOS, and Windows.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install py-solc-x

from py_solc_x import compile_standard
compile_standard({"language": "Solidity", "sources": {...}})

Verify before relying

  • Whether prebuilt solc binaries are automatically downloaded or require manual setup.
  • Performance characteristics when switching between multiple installed solc versions.
  • Specific Solidity versions beyond >=0.4.11 that are actively tested and supported.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
requestspackaging
MaintenanceActively maintained 247 days since the last release
Last repo commit
First released
Downloads222,485 / month, #9,263 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: MacOSOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: py_solc_x-2.0.5-py3-none-any.whl

Tags

Capabilities
solidity compiler python wrappersolc version managementethereum solidity compilationpython solc installersolidity build tool pythonmulti-version solc managementsolc dependency manager
Topics
ethereumsoliditycompiler
PyPI keywords
ethereumsoliditysolc

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 › “solidity compiler python wrapper”

  • py-solc-xManages installation and version control of the Solidity compiler…
  • solc-selectManages installation and switching between multiple Solidity compiler…
  • crytic-compileCrytic-compile abstracts smart contract compilation across multiple…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also solc-select · crytic-compile · eth-brownie · py-evm · pccm · eth-typing · pbs-installer · ssh-python · nvidia-cuda-nvcc-cu12