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 <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 Distribution

py-solc-x-1.1.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

py_solc_x-1.1.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file py-solc-x-1.1.1.tar.gz.

File metadata

  • Download URL: py-solc-x-1.1.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.10

File hashes

Hashes for py-solc-x-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d8b0bd2b04f47cff6e92181739d9e94e41b2d62f056900761c797fa5babc76b6
MD5 a57fbfd95e14e20bcae3ec6c772d1331
BLAKE2b-256 11c8b6d5c1c74db461c86a33f396c6bb01306627f23ff0dad18d1bad78be642f

See more details on using hashes here.

File details

Details for the file py_solc_x-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_solc_x-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.10

File hashes

Hashes for py_solc_x-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f5caa4f54e227fc301e2e4c8aa868e869c2bc0c6636aa9e8115f8414bb891f9
MD5 eb29e1a780ff4fd0c107ea74c960107b
BLAKE2b-256 79f44210bbaa0b2fdfc862827fd89fe281b85682d5646c65156bcaa4a062a649

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