Python wrapper and version management tool for the
solc Solidity compiler.
- Full support for Solidity
- 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.
pip install py-solc-x
git clone https://github.com/iamdefinitelyahuman/py-solc-x.git cd py-solc-x python3 setup.py install
Documentation is hosted at Read the Docs.
Py-solc-x is tested on Linux, OSX and Windows with solc versions
To run the test suite:
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
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.
This project is licensed under the MIT license.