py-solc-x-2.0.5
توضیحات
Python wrapper and version management tool for the solc Solidity compiler.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | py-solc-x-2.0.5 |
| نام | py-solc-x |
| نسخه کتابخانه | 2.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ApeWorX Ltd. |
| ایمیل نویسنده | admin@apeworx.io |
| آدرس صفحه اصلی | https://github.com/ApeWorX/py-solc-x |
| آدرس اینترنتی | https://pypi.org/project/py-solc-x/ |
| مجوز | MIT |
# py-solc-x
[](https://pypi.org/project/py-solc-x/) [](https://github.com/iamdefinitelyahuman/py-solc-x/actions) [](https://codecov.io/gh/iamdefinitelyahuman/py-solc-x)
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](https://solidity.readthedocs.io/en/latest/installing-solidity.html#building-from-source).
## Installation
### via `pip`
```bash
pip install py-solc-x
```
### via `setuptools`
```bash
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](https://solcx.readthedocs.io/en/latest/).
## Testing
Py-solc-x 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, and join the Brownie [Gitter channel](https://gitter.im/eth-brownie/community) if you have any questions.
## License
This project is licensed under the [MIT license](LICENSE).
نیازمندی
| مقدار | نام |
|---|---|
| - | requests<3,>=2.19.0 |
| - | packaging>=23.1 |
| xtr | pytest>=6.0; |
| xtr | pytest-xdist; |
| xtr | pytest-cov; |
| xtr | pytest-mock; |
| xtr | hypothesis<7.0,>=6.2.0; |
| xtr | black<24,>=23.11.0; |
| xtr | mypy<2,>=1.6.1; |
| xtr | types-setuptools; |
| xtr | types-requests; |
| xtr | flake8<7,>=6.1.0; |
| xtr | isort<6,>=5.10.1; |
| xtr | mdformat>=0.7.17; |
| xtr | mdformat-gfm>=0.3.5; |
| xtr | mdformat-frontmatter>=0.4.1; |
| xtr | myst-parser<2,>=1.0.0; |
| xtr | sphinx-click<5,>=4.4.0; |
| xtr | Sphinx<7,>=6.1.3; |
| xtr | sphinx_rtd_theme<2,>=1.2.0; |
| xtr | sphinxcontrib-napoleon>=0.7; |
| xtr | sphinx-plausible<0.2,>=0.1.2; |
| xtr | setuptools; |
| xtr | setuptools-scm; |
| xtr | wheel; |
| xtr | twine; |
| xtr | pytest>=6.0; |
| xtr | pytest-xdist; |
| xtr | pytest-cov; |
| xtr | pytest-mock; |
| xtr | hypothesis<7.0,>=6.2.0; |
| xtr | black<24,>=23.11.0; |
| xtr | mypy<2,>=1.6.1; |
| xtr | types-setuptools; |
| xtr | types-requests; |
| xtr | flake8<7,>=6.1.0; |
| xtr | isort<6,>=5.10.1; |
| xtr | mdformat>=0.7.17; |
| xtr | mdformat-gfm>=0.3.5; |
| xtr | mdformat-frontmatter>=0.4.1; |
| xtr | myst-parser<2,>=1.0.0; |
| xtr | sphinx-click<5,>=4.4.0; |
| xtr | Sphinx<7,>=6.1.3; |
| xtr | sphinx_rtd_theme<2,>=1.2.0; |
| xtr | sphinxcontrib-napoleon>=0.7; |
| xtr | sphinx-plausible<0.2,>=0.1.2; |
| xtr | setuptools; |
| xtr | setuptools-scm; |
| xtr | wheel; |
| xtr | twine; |
| xtr | commitizen; |
| xtr | pre-commit; |
| xtr | pytest-watch; |
| xtr | IPython; |
| xtr | ipdb; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| <4,>=3.8 | Python |
نحوه نصب
نصب پکیج whl py-solc-x-2.0.5:
pip install py-solc-x-2.0.5.whl
نصب پکیج tar.gz py-solc-x-2.0.5:
pip install py-solc-x-2.0.5.tar.gz