Python wrapper and version management tool for the solc Solidity compiler.
Project description
py-solc-x
Python wrapper and version management tool for the solc
Solidity compiler.
Forked from py-solc
.
Features
- Full support for Solidity
>=0.4.11
- Install Solidity on Linux, OSX and Windows
- Compile Solidity from source on Linux and OSX
Dependencies
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.
Installation
via pip
pip install py-solc-x
via setuptools
git clone https://github.com/iamdefinitelyahuman/py-solc-x.git
cd py-solc-x
python3 setup.py install
Documentation
Documentation is hosted at Read the Docs.
Testing
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.
Contributing
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.
License
This project is licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py-solc-x-2.0.3.tar.gz
.
File metadata
- Download URL: py-solc-x-2.0.3.tar.gz
- Upload date:
- Size: 77.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b5fe26d5f4976b1fcc2b3276fb2fe182633bc35757a3abf3b9af5ac57ec2544 |
|
MD5 | 0cd1e6ed6c18a600024b9b2b40a366d9 |
|
BLAKE2b-256 | 2a4260f33a2d32b1308656b9f1e49a478ea81e294d9aaba4404f83dc20e1d60e |
File details
Details for the file py_solc_x-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: py_solc_x-2.0.3-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef131f2f0e708fcaf92068a38c7569920839d259fdaa9946af3393f1dc86c5b1 |
|
MD5 | ffc79651a8b91c351f4a8c3d67b66321 |
|
BLAKE2b-256 | 9d30c2075d568e3cef46947089a07878cf8da1dde4e0c8a566e9b04c1ea0fec6 |