py-solc-x
=========
|Pypi Status| |Build Status| |Coverage Status|
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``
~~~~~~~~~~~
.. code:: bash
pip install py-solc-x
via ``setuptools``
~~~~~~~~~~~~~~~~~~
.. code:: 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:
.. code:: 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>`__.
.. |Pypi Status| image:: https://img.shields.io/pypi/v/py-solc-x.svg
:target: https://pypi.org/project/py-solc-x/
.. |Build Status| image:: https://img.shields.io/github/workflow/status/iamdefinitelyahuman/py-solc-x/py-solc-x%20workflow
:target: https://github.com/iamdefinitelyahuman/py-solc-x/actions
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/iamdefinitelyahuman/py-solc-x
:target: https://codecov.io/gh/iamdefinitelyahuman/py-solc-x
Raw data
{
"_id": null,
"home_page": "https://github.com/BlockyFile/py-solc-x-ir",
"name": "py-solc-x-ir",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6, <4",
"maintainer_email": "",
"keywords": "ethereum solidity solc",
"author": "EpicMario71 (forked from py-solc-x by ApeWorX)",
"author_email": "info@epicmario71.com",
"download_url": "",
"platform": null,
"description": "py-solc-x\r\n=========\r\n\r\n|Pypi Status| |Build Status| |Coverage Status|\r\n\r\nPython wrapper and version management tool for the ``solc`` Solidity\r\ncompiler.\r\n\r\nForked from ```py-solc`` <https://github.com/ethereum/py-solc>`__.\r\n\r\nFeatures\r\n--------\r\n\r\n- Full support for Solidity ``>=0.4.11``\r\n- Install Solidity on Linux, OSX and Windows\r\n- Compile Solidity from source on Linux and OSX\r\n\r\nDependencies\r\n------------\r\n\r\nPy-solc-x allows the use of multiple versions of solc, and can install\r\nor compile them as needed. If you wish to compile from source you must\r\nfirst insall the required `solc\r\ndependencies <https://solidity.readthedocs.io/en/latest/installing-solidity.html#building-from-source>`__.\r\n\r\nInstallation\r\n------------\r\n\r\nvia ``pip``\r\n~~~~~~~~~~~\r\n\r\n.. code:: bash\r\n\r\n pip install py-solc-x\r\n\r\nvia ``setuptools``\r\n~~~~~~~~~~~~~~~~~~\r\n\r\n.. code:: bash\r\n\r\n git clone https://github.com/iamdefinitelyahuman/py-solc-x.git\r\n cd py-solc-x\r\n python3 setup.py install\r\n\r\nDocumentation\r\n-------------\r\n\r\nDocumentation is hosted at `Read the\r\nDocs <https://solcx.readthedocs.io/en/latest/>`__.\r\n\r\nTesting\r\n-------\r\n\r\nPy-solc-x is tested on Linux, OSX and Windows with solc versions\r\n``>=0.4.11``.\r\n\r\nTo run the test suite:\r\n\r\n.. code:: bash\r\n\r\n pytest tests/\r\n\r\nBy default, the test suite installs all available ``solc`` versions for\r\nyour OS. If you only wish to test against already installed versions,\r\ninclude the ``--no-install`` flag.\r\n\r\nContributing\r\n------------\r\n\r\nHelp is always appreciated! Feel free to open an issue if you find a\r\nproblem, or a pull request if you\u2019ve solved an issue.\r\n\r\nPlease check out our `Contribution Guide <CONTRIBUTING.md>`__ prior to\r\nopening a pull request, and join the Brownie `Gitter\r\nchannel <https://gitter.im/eth-brownie/community>`__ if you have any\r\nquestions.\r\n\r\nLicense\r\n-------\r\n\r\nThis project is licensed under the `MIT license <LICENSE>`__.\r\n\r\n.. |Pypi Status| image:: https://img.shields.io/pypi/v/py-solc-x.svg\r\n :target: https://pypi.org/project/py-solc-x/\r\n.. |Build Status| image:: https://img.shields.io/github/workflow/status/iamdefinitelyahuman/py-solc-x/py-solc-x%20workflow\r\n :target: https://github.com/iamdefinitelyahuman/py-solc-x/actions\r\n.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/iamdefinitelyahuman/py-solc-x\r\n :target: https://codecov.io/gh/iamdefinitelyahuman/py-solc-x\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python wrapper and version management tool for the solc Solidity compiler with IR support.",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/BlockyFile/py-solc-x-ir"
},
"split_keywords": [
"ethereum",
"solidity",
"solc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ac1a4789c2f885dabda7a0fb2017b8972876719d893c03a8d5a70e3b624e38aa",
"md5": "a53b8380588a8585df17e9ad5170e19d",
"sha256": "45636211f8cb5b4b2e9ec9a23440f22d8f888c5fd3580e06ba1c13df0c6303c9"
},
"downloads": -1,
"filename": "py_solc_x_ir-1.0.0-py3.8.egg",
"has_sig": false,
"md5_digest": "a53b8380588a8585df17e9ad5170e19d",
"packagetype": "bdist_egg",
"python_version": "1.0.0",
"requires_python": ">=3.6, <4",
"size": 34724,
"upload_time": "2023-05-15T14:15:06",
"upload_time_iso_8601": "2023-05-15T14:15:06.452897Z",
"url": "https://files.pythonhosted.org/packages/ac/1a/4789c2f885dabda7a0fb2017b8972876719d893c03a8d5a70e3b624e38aa/py_solc_x_ir-1.0.0-py3.8.egg",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1bb7dbb08ef9426fe152a7a147ea2ef245b477bfa7d5b3db973be0e373c8645c",
"md5": "91fd196c49c026ab14885e58e2d537fe",
"sha256": "0b05afe8d5b7e926680acdaf4eda403c9b41d99d2d9f47a5c53dc6feb78b1a65"
},
"downloads": -1,
"filename": "py_solc_x_ir-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "91fd196c49c026ab14885e58e2d537fe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6, <4",
"size": 16246,
"upload_time": "2023-05-15T14:15:03",
"upload_time_iso_8601": "2023-05-15T14:15:03.414904Z",
"url": "https://files.pythonhosted.org/packages/1b/b7/dbb08ef9426fe152a7a147ea2ef245b477bfa7d5b3db973be0e373c8645c/py_solc_x_ir-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-15 14:15:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "BlockyFile",
"github_project": "py-solc-x-ir",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "py-solc-x-ir"
}