Skip to main content

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.

Metadata

Release files for py-solc-x 2.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-solc-x 2.0.5
File Size Uploaded
py_solc_x-2.0.5.tar.gz 78.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-solc-x 2.0.5
File Interpreter ABI Platform
py_solc_x-2.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 97.5 kB

Release files / py_solc_x-2.0.5.tar.gz

Download URL py_solc_x-2.0.5.tar.gz
Size 78.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2d8440d2be8a5577137fb2313ee211b5b35f36c4c922f274192d34f401616e83
BLAKE2b-256 checksum
How to use checksums
348df30778d5f08387cc3f7576aedf4a1e6841caeb8d6d600bb070aa9480b689
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / py_solc_x-2.0.5-py3-none-any.whl

Download URL py_solc_x-2.0.5-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6c24b699a7db8f7bf731f32dcfe8c43d7ea9d181191b2a3b7cb5e60395dd449
BLAKE2b-256 checksum
How to use checksums
4e3760ccc88d918d8f1cd218e413fb6263afcde350dc259fb2ba413d9f7d1051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

2.0.5 This release

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

3 release files

0.3.0

2 release files

0.2.1

3 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page