Skip to main content

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

Project description

Pypi Status Build Status Coverage Status

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

Forked from `py-solc <>`__.


  • Full support for Solidity >=0.4.11
  • Install Solidity on Linux, OSX and Windows
  • Compile Solidity from source on Linux and OSX


Py-solc-x allows the use of multiple versions of solc, and can install or compile them as needed. If you wish to compile from source you must first insall the required solc dependencies.


via pip

pip install py-solc-x

via setuptools

git clone
cd py-solc-x
python3 install


Documentation is hosted at Read the Docs.


Py-solc-x is tested on Linux, OSX and Windows with solc versions >=0.4.11.

To run the test suite:

pytest tests/

By default, the test suite installs all available solc versions for your OS. If you only wish to test against already installed versions, include the --no-install flag.


Help is always appreciated! Feel free to open an issue if you find a problem, or a pull request if you’ve solved an issue.

Please check out our Contribution Guide prior to opening a pull request, and join the Brownie Gitter channel if you have any questions.


This project is licensed under the MIT license.

Project details

Download files

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

Files for py-solc-x, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size py_solc_x-1.0.2-py3-none-any.whl (15.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size py-solc-x-1.0.2.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page