Skip to main content

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

Project description

py-solc-x

Pypi Status Build Status Coverage Status

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


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-2.0.5.tar.gz (78.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_solc_x-2.0.5-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file py_solc_x-2.0.5.tar.gz.

File metadata

  • Download URL: py_solc_x-2.0.5.tar.gz
  • Upload date:
  • Size: 78.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for py_solc_x-2.0.5.tar.gz
Algorithm Hash digest
SHA256 2d8440d2be8a5577137fb2313ee211b5b35f36c4c922f274192d34f401616e83
MD5 5e690cad4797541fe11dcb5b1e6dd290
BLAKE2b-256 348df30778d5f08387cc3f7576aedf4a1e6841caeb8d6d600bb070aa9480b689

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_solc_x-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for py_solc_x-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d6c24b699a7db8f7bf731f32dcfe8c43d7ea9d181191b2a3b7cb5e60395dd449
MD5 543f7a735e639932a76118ebba2623e5
BLAKE2b-256 4e3760ccc88d918d8f1cd218e413fb6263afcde350dc259fb2ba413d9f7d1051

See more details on using hashes here.

Supported by

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