ethcx


Nameethcx JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/ethpwn/ethcx
SummaryPython wrapper and version management tool for ethereum-targeting compilers.
upload_time2023-07-31 16:51:29
maintainer
docs_urlNone
authorLukas Dresel (forked from py-solc-x by Ben Hause)
requires_python>=3.6, <4
licenseMIT
keywords ethereum solidity solc vyper
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ethcx

[![Pypi Status](https://img.shields.io/pypi/v/ethcx.svg)](https://pypi.org/project/ethcx/) [![Build Status](https://img.shields.io/github/workflow/status/ethpwn/ethcx/ethcx%20workflow)](https://github.com/ethpwn/ethcx/actions) [![Coverage Status](https://img.shields.io/codecov/c/github/ethpwn/ethcx)](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).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ethpwn/ethcx",
    "name": "ethcx",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6, <4",
    "maintainer_email": "",
    "keywords": "ethereum solidity solc vyper",
    "author": "Lukas Dresel (forked from py-solc-x by Ben Hause)",
    "author_email": "Lukas-Dresel@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/53/9f/b440f6799aea111d2fa67b515a5cbb4b64ab89928698832d44057e10e1e6/ethcx-0.0.4.tar.gz",
    "platform": null,
    "description": "# ethcx\n\n[![Pypi Status](https://img.shields.io/pypi/v/ethcx.svg)](https://pypi.org/project/ethcx/) [![Build Status](https://img.shields.io/github/workflow/status/ethpwn/ethcx/ethcx%20workflow)](https://github.com/ethpwn/ethcx/actions) [![Coverage Status](https://img.shields.io/codecov/c/github/ethpwn/ethcx)](https://codecov.io/gh/ethpwn/ethcx)\n\nPython wrapper and version management tool for compilers target the ethereum platform.\n\nCurrently supports the `solc` Solidity compiler and the `vyper` compiler.\n\nForked from [`py-solc-x`](https://github.com/iamdefinitelyahuman/py-solc-x).\n\n## Features\n\n* Full support for Solidity `>=0.4.11` and Vyper\n* Install Solidity and Vyper on Linux, OSX and Windows\n* Compile Solidity from source on Linux and OSX\n\n## Dependencies\n\n`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).\n\nFor Vyper, `ethcx` can download and install all released versions of the `vyper` compiler binaries from [Github Release](https://github.com/vyperlang/vyper/releases).\n\n\n## Installation\n\n### From `pypi`\n\n```bash\npip install ethcx\n```\n\n### Local (editable) install\n\n```bash\ngit clone https://github.com/ethpwn/ethcx.git\ncd ethcx\npip install -e .\n```\n\n## Documentation\n\nDocumentation is hosted at [Read the Docs](https://ethcx.readthedocs.io/en/latest/).\n\n## Testing\n\nethcx 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.\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 ethereum-targeting compilers.",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/ethpwn/ethcx"
    },
    "split_keywords": [
        "ethereum",
        "solidity",
        "solc",
        "vyper"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40993fd48905414fceac9b3dd9ae53193554d728ec8f5e5c8e9db8c7516b4770",
                "md5": "9574077f87e3a7909062825224601001",
                "sha256": "d7452ca9ed43bbba6eb028a20ee94263a22831e315f8f81d6666b193e1682722"
            },
            "downloads": -1,
            "filename": "ethcx-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9574077f87e3a7909062825224601001",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6, <4",
            "size": 29295,
            "upload_time": "2023-07-31T16:51:27",
            "upload_time_iso_8601": "2023-07-31T16:51:27.512253Z",
            "url": "https://files.pythonhosted.org/packages/40/99/3fd48905414fceac9b3dd9ae53193554d728ec8f5e5c8e9db8c7516b4770/ethcx-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "539fb440f6799aea111d2fa67b515a5cbb4b64ab89928698832d44057e10e1e6",
                "md5": "1615c6db7b40c292437b7f058faab6f8",
                "sha256": "5d4c72ee653d4da0a3e678cba51cae1e5025e4642042a76c81086ebf31f4befd"
            },
            "downloads": -1,
            "filename": "ethcx-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "1615c6db7b40c292437b7f058faab6f8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6, <4",
            "size": 27488,
            "upload_time": "2023-07-31T16:51:29",
            "upload_time_iso_8601": "2023-07-31T16:51:29.264801Z",
            "url": "https://files.pythonhosted.org/packages/53/9f/b440f6799aea111d2fa67b515a5cbb4b64ab89928698832d44057e10e1e6/ethcx-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-31 16:51:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ethpwn",
    "github_project": "ethcx",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "ethcx"
}
        
Elapsed time: 0.09223s