# ethcx
[](https://pypi.org/project/ethcx/) [](https://github.com/ethpwn/ethcx/actions) [](https://codecov.io/gh/ethpwn/ethcx)
Python wrapper and version management tool for compilers target the ethereum platform.
Currently supports the solc Solidity compiler and the vyper compiler.
Forked from [py-solc-x](https://github.com/iamdefinitelyahuman/py-solc-x).
## Features
Full support for Solidity >=0.4.11 and Vyper
Install Solidity and Vyper on Linux, OSX and Windows
Compile Solidity from source on Linux and OSX
## Dependencies
ethcx 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](https://solidity.readthedocs.io/en/latest/installing-solidity.html#building-from-source).
For Vyper, ethcx can download and install all released versions of the vyper compiler binaries from [Github Release](https://github.com/vyperlang/vyper/releases).
## Installation
### From pypi
`bash pip install ethcx `
### Local (editable) install
`bash git clone https://github.com/ethpwn/ethcx.git cd ethcx pip install -e . `
## Documentation
Documentation is hosted at [Read the Docs](https://ethcx.readthedocs.io/en/latest/).
## Testing
ethcx is tested on Linux, OSX and Windows with solc versions >=0.4.11.
To run the test suite:
`bash 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](CONTRIBUTING.md) prior to opening a pull request.
## License
This project is licensed under the [MIT license](LICENSE).
Metadata
Release files for ethcx 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ethcx-0.0.4.tar.gz | 27.5 kB | Without provenance | Details for ethcx-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ethcx-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for ethcx-0.0.4-py3-none-any.whl |
Total release size: 56.8 kB
Release files / ethcx-0.0.4.tar.gz
| Download URL | ethcx-0.0.4.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d4c72ee653d4da0a3e678cba51cae1e5025e4642042a76c81086ebf31f4befd
|
|
BLAKE2b-256 checksum How to use checksums |
539fb440f6799aea111d2fa67b515a5cbb4b64ab89928698832d44057e10e1e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / ethcx-0.0.4-py3-none-any.whl
| Download URL | ethcx-0.0.4-py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7452ca9ed43bbba6eb028a20ee94263a22831e315f8f81d6666b193e1682722
|
|
BLAKE2b-256 checksum How to use checksums |
40993fd48905414fceac9b3dd9ae53193554d728ec8f5e5c8e9db8c7516b4770
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for ethcx 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.