Skip to main content

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

Project description

Pypi Status Build Status Coverage Status

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

Forked from `py-solc <https://github.com/ethereum/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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

py_solc_x_ir-1.0.0-py3.8.egg (34.7 kB view details)

Uploaded Source

py_solc_x_ir-1.0.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file py_solc_x_ir-1.0.0-py3.8.egg.

File metadata

  • Download URL: py_solc_x_ir-1.0.0-py3.8.egg
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for py_solc_x_ir-1.0.0-py3.8.egg
Algorithm Hash digest
SHA256 45636211f8cb5b4b2e9ec9a23440f22d8f888c5fd3580e06ba1c13df0c6303c9
MD5 a53b8380588a8585df17e9ad5170e19d
BLAKE2b-256 ac1a4789c2f885dabda7a0fb2017b8972876719d893c03a8d5a70e3b624e38aa

See more details on using hashes here.

File details

Details for the file py_solc_x_ir-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: py_solc_x_ir-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for py_solc_x_ir-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b05afe8d5b7e926680acdaf4eda403c9b41d99d2d9f47a5c53dc6feb78b1a65
MD5 91fd196c49c026ab14885e58e2d537fe
BLAKE2b-256 1bb7dbb08ef9426fe152a7a147ea2ef245b477bfa7d5b3db973be0e373c8645c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page