# py-solc-x
[![Pypi Status](https://img.shields.io/pypi/v/py-solc-x.svg)](https://pypi.org/project/py-solc-x/) [![Build Status](https://img.shields.io/github/workflow/status/iamdefinitelyahuman/py-solc-x/py-solc-x%20workflow)](https://github.com/iamdefinitelyahuman/py-solc-x/actions) [![Coverage Status](https://img.shields.io/codecov/c/github/iamdefinitelyahuman/py-solc-x)](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).
Raw data
{
"_id": null,
"home_page": "https://github.com/ApeWorX/py-solc-x",
"name": "py-solc-x",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4",
"maintainer_email": "",
"keywords": "ethereum solidity solc",
"author": "ApeWorX Ltd.",
"author_email": "admin@apeworx.io",
"download_url": "https://files.pythonhosted.org/packages/87/a8/052d2deb96070f139620d9638ce41b335302a8f0a19bc44795c91e0b20ce/py-solc-x-2.0.2.tar.gz",
"platform": null,
"description": "# py-solc-x\n\n[![Pypi Status](https://img.shields.io/pypi/v/py-solc-x.svg)](https://pypi.org/project/py-solc-x/) [![Build Status](https://img.shields.io/github/workflow/status/iamdefinitelyahuman/py-solc-x/py-solc-x%20workflow)](https://github.com/iamdefinitelyahuman/py-solc-x/actions) [![Coverage Status](https://img.shields.io/codecov/c/github/iamdefinitelyahuman/py-solc-x)](https://codecov.io/gh/iamdefinitelyahuman/py-solc-x)\n\nPython wrapper and version management tool for the `solc` Solidity compiler.\n\nForked from [`py-solc`](https://github.com/ethereum/py-solc).\n\n## Features\n\n- Full support for Solidity `>=0.4.11`\n- Install Solidity on Linux, OSX and Windows\n- Compile Solidity from source on Linux and OSX\n\n## Dependencies\n\nPy-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).\n\n## Installation\n\n### via `pip`\n\n```bash\npip install py-solc-x\n```\n\n### via `setuptools`\n\n```bash\ngit clone https://github.com/iamdefinitelyahuman/py-solc-x.git\ncd py-solc-x\npython3 setup.py install\n```\n\n## Documentation\n\nDocumentation is hosted at [Read the Docs](https://solcx.readthedocs.io/en/latest/).\n\n## Testing\n\nPy-solc-x is tested on Linux, OSX and Windows with solc versions `>=0.4.11`.\n\nTo run the test suite:\n\n```bash\npytest tests/\n```\n\nBy 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.\n\n## Contributing\n\nHelp is always appreciated! Feel free to open an issue if you find a problem, or a pull request if you've solved an issue.\n\nPlease 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.\n\n## License\n\nThis project is licensed under the [MIT license](LICENSE).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python wrapper and version management tool for the solc Solidity compiler.",
"version": "2.0.2",
"project_urls": {
"Homepage": "https://github.com/ApeWorX/py-solc-x"
},
"split_keywords": [
"ethereum",
"solidity",
"solc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "742c73f2e78409dd69a89ffaf120eef4be222dfa5460a2b3849a25d3fd076c6d",
"md5": "cee62640f5fc8c25fc3eb0ab5265af5b",
"sha256": "d0e196e5c77d6ee76fb917582e4d08db6d4f8915e6c2a4da0ce0ed35c841528a"
},
"downloads": -1,
"filename": "py_solc_x-2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cee62640f5fc8c25fc3eb0ab5265af5b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4",
"size": 18483,
"upload_time": "2023-11-10T22:41:45",
"upload_time_iso_8601": "2023-11-10T22:41:45.925315Z",
"url": "https://files.pythonhosted.org/packages/74/2c/73f2e78409dd69a89ffaf120eef4be222dfa5460a2b3849a25d3fd076c6d/py_solc_x-2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "87a8052d2deb96070f139620d9638ce41b335302a8f0a19bc44795c91e0b20ce",
"md5": "76938e701555ebfc8041a17e89d2fd89",
"sha256": "55b49361d618809e67fc965dd9d444caf83cf30b3cc9a633b85587b0aff8e984"
},
"downloads": -1,
"filename": "py-solc-x-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "76938e701555ebfc8041a17e89d2fd89",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4",
"size": 77662,
"upload_time": "2023-11-10T22:41:47",
"upload_time_iso_8601": "2023-11-10T22:41:47.850933Z",
"url": "https://files.pythonhosted.org/packages/87/a8/052d2deb96070f139620d9638ce41b335302a8f0a19bc44795c91e0b20ce/py-solc-x-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-10 22:41:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ApeWorX",
"github_project": "py-solc-x",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "py-solc-x"
}