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.1.tar.gz
.
File metadata
- Download URL: py-solc-x-2.0.1.tar.gz
- Upload date:
- Size: 77.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ac5bd3a6b78b299cdae4f6e64f4ba40832de65a161ca986371cafd2499c2c0e |
|
MD5 | 43445a45ecb8e357ea55daf5228ea62f |
|
BLAKE2b-256 | b66a5b38b0f0f99b0c68849da55aebe2f956fdcd908813316f8f4ce60261923c |
File details
Details for the file py_solc_x-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: py_solc_x-2.0.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53f79a835edd3463c9a4c6d87c37fdbd9e9516140b5e179367a3257541ce0bdb |
|
MD5 | a7bfea56aa8e6bac4160cc9ccebc977e |
|
BLAKE2b-256 | 3fe815de292a001da186f00d4baeffb4c1b6040983495e6560b73973d2a431e7 |