183 lines
7.3 KiB
Plaintext
183 lines
7.3 KiB
Plaintext
Metadata-Version: 2.1
|
|
Name: py-evm
|
|
Version: 0.10.1b1
|
|
Summary: Python implementation of the Ethereum Virtual Machine
|
|
Home-page: https://github.com/ethereum/py-evm
|
|
Author: Ethereum Foundation
|
|
Author-email: snakecharmers@ethereum.org
|
|
License: MIT
|
|
Keywords: ethereum blockchain evm
|
|
Classifier: Development Status :: 3 - Alpha
|
|
Classifier: Intended Audience :: Developers
|
|
Classifier: License :: OSI Approved :: MIT License
|
|
Classifier: Natural Language :: English
|
|
Classifier: Programming Language :: Python :: 3
|
|
Classifier: Programming Language :: Python :: 3.8
|
|
Classifier: Programming Language :: Python :: 3.9
|
|
Classifier: Programming Language :: Python :: 3.10
|
|
Classifier: Programming Language :: Python :: 3.11
|
|
Classifier: Programming Language :: Python :: 3.12
|
|
Requires-Python: >=3.8, <4
|
|
Description-Content-Type: text/markdown
|
|
License-File: LICENSE
|
|
Requires-Dist: cached-property >=1.5.1
|
|
Requires-Dist: eth-bloom >=1.0.3
|
|
Requires-Dist: eth-keys >=0.4.0
|
|
Requires-Dist: eth-typing >=3.3.0
|
|
Requires-Dist: eth-utils >=2.0.0
|
|
Requires-Dist: lru-dict >=1.1.6
|
|
Requires-Dist: py-ecc >=1.4.7
|
|
Requires-Dist: rlp >=3.0.0
|
|
Requires-Dist: trie >=2.0.0
|
|
Requires-Dist: ckzg >=0.4.3
|
|
Provides-Extra: benchmark
|
|
Requires-Dist: termcolor >=1.1.0 ; extra == 'benchmark'
|
|
Requires-Dist: web3 >=6.0.0 ; extra == 'benchmark'
|
|
Provides-Extra: dev
|
|
Requires-Dist: build >=0.9.0 ; extra == 'dev'
|
|
Requires-Dist: bumpversion >=0.5.3 ; extra == 'dev'
|
|
Requires-Dist: ipython ; extra == 'dev'
|
|
Requires-Dist: pre-commit >=3.4.0 ; extra == 'dev'
|
|
Requires-Dist: tox >=4.0.0 ; extra == 'dev'
|
|
Requires-Dist: twine ; extra == 'dev'
|
|
Requires-Dist: wheel ; extra == 'dev'
|
|
Requires-Dist: py-evm >=0.8.0b1 ; extra == 'dev'
|
|
Requires-Dist: sphinx >=6.0.0 ; extra == 'dev'
|
|
Requires-Dist: sphinx-rtd-theme >=1.0.0 ; extra == 'dev'
|
|
Requires-Dist: sphinxcontrib-asyncio >=0.2.0 ; extra == 'dev'
|
|
Requires-Dist: towncrier <22,>=21 ; extra == 'dev'
|
|
Requires-Dist: cached-property >=1.5.1 ; extra == 'dev'
|
|
Requires-Dist: eth-bloom >=1.0.3 ; extra == 'dev'
|
|
Requires-Dist: eth-keys >=0.4.0 ; extra == 'dev'
|
|
Requires-Dist: eth-typing >=3.3.0 ; extra == 'dev'
|
|
Requires-Dist: eth-utils >=2.0.0 ; extra == 'dev'
|
|
Requires-Dist: lru-dict >=1.1.6 ; extra == 'dev'
|
|
Requires-Dist: py-ecc >=1.4.7 ; extra == 'dev'
|
|
Requires-Dist: rlp >=3.0.0 ; extra == 'dev'
|
|
Requires-Dist: trie >=2.0.0 ; extra == 'dev'
|
|
Requires-Dist: ckzg >=0.4.3 ; extra == 'dev'
|
|
Requires-Dist: factory-boy >=3.0.0 ; extra == 'dev'
|
|
Requires-Dist: hypothesis <7,>=6 ; extra == 'dev'
|
|
Requires-Dist: pytest >=7.0.0 ; extra == 'dev'
|
|
Requires-Dist: pytest-asyncio >=0.20.0 ; extra == 'dev'
|
|
Requires-Dist: pytest-cov >=4.0.0 ; extra == 'dev'
|
|
Requires-Dist: pytest-timeout >=2.0.0 ; extra == 'dev'
|
|
Requires-Dist: pytest-xdist >=3.0 ; extra == 'dev'
|
|
Provides-Extra: docs
|
|
Requires-Dist: py-evm >=0.8.0b1 ; extra == 'docs'
|
|
Requires-Dist: sphinx >=6.0.0 ; extra == 'docs'
|
|
Requires-Dist: sphinx-rtd-theme >=1.0.0 ; extra == 'docs'
|
|
Requires-Dist: sphinxcontrib-asyncio >=0.2.0 ; extra == 'docs'
|
|
Requires-Dist: towncrier <22,>=21 ; extra == 'docs'
|
|
Provides-Extra: eth
|
|
Requires-Dist: cached-property >=1.5.1 ; extra == 'eth'
|
|
Requires-Dist: eth-bloom >=1.0.3 ; extra == 'eth'
|
|
Requires-Dist: eth-keys >=0.4.0 ; extra == 'eth'
|
|
Requires-Dist: eth-typing >=3.3.0 ; extra == 'eth'
|
|
Requires-Dist: eth-utils >=2.0.0 ; extra == 'eth'
|
|
Requires-Dist: lru-dict >=1.1.6 ; extra == 'eth'
|
|
Requires-Dist: py-ecc >=1.4.7 ; extra == 'eth'
|
|
Requires-Dist: rlp >=3.0.0 ; extra == 'eth'
|
|
Requires-Dist: trie >=2.0.0 ; extra == 'eth'
|
|
Requires-Dist: ckzg >=0.4.3 ; extra == 'eth'
|
|
Provides-Extra: eth-extra
|
|
Requires-Dist: blake2b-py >=0.2.0 ; extra == 'eth-extra'
|
|
Requires-Dist: coincurve >=18.0.0 ; extra == 'eth-extra'
|
|
Provides-Extra: test
|
|
Requires-Dist: factory-boy >=3.0.0 ; extra == 'test'
|
|
Requires-Dist: hypothesis <7,>=6 ; extra == 'test'
|
|
Requires-Dist: pytest >=7.0.0 ; extra == 'test'
|
|
Requires-Dist: pytest-asyncio >=0.20.0 ; extra == 'test'
|
|
Requires-Dist: pytest-cov >=4.0.0 ; extra == 'test'
|
|
Requires-Dist: pytest-timeout >=2.0.0 ; extra == 'test'
|
|
Requires-Dist: pytest-xdist >=3.0 ; extra == 'test'
|
|
|
|
# Python Implementation of the Ethereum protocol
|
|
|
|
[](https://discord.gg/GHryRvPB84)
|
|
[](https://circleci.com/gh/ethereum/py-evm)
|
|
[](https://badge.fury.io/py/py-evm)
|
|
[](https://pypi.python.org/pypi/py-evm)
|
|
[](https://py-evm.readthedocs.io/en/latest/?badge=latest)
|
|
|
|
## Py-EVM
|
|
|
|
Py-EVM is an implementation of the Ethereum protocol in Python. It contains the low level
|
|
primitives for the original proof-of-work (POW), (formerly known as Ethereum 1.0) chain
|
|
as well as emerging support for the proof-of-stake (POS) (formerly known as Ethereum 2.0) spec.
|
|
|
|
### Goals
|
|
|
|
Py-EVM aims to eventually become the defacto Python implementation of the Ethereum protocol,
|
|
enabling a wide array of use cases for both public and private chains.
|
|
|
|
In particular Py-EVM aims to:
|
|
|
|
- be a reference implementation of the Ethereum POW and POS implementations in one of the most widely used and understood languages, Python.
|
|
|
|
- be easy to understand and modifiable
|
|
|
|
- have clear and simple APIs
|
|
|
|
- come with solid, friendly documentation
|
|
|
|
- deliver the low level primitives to build various clients on top (including *full* and *light* clients)
|
|
|
|
- be highly flexible to support both research as well as alternate use cases like private chains.
|
|
|
|
## Quickstart
|
|
|
|
```sh
|
|
python -m pip install py-evm
|
|
```
|
|
|
|
[Get started in 5 minutes](https://py-evm.readthedocs.io/en/latest/guides/building_an_app_that_uses_pyevm.html)
|
|
|
|
## Documentation
|
|
|
|
Check out the [documentation on our official website](https://py-evm.readthedocs.io/en/latest/)
|
|
|
|
## Developer Setup
|
|
|
|
If you would like to hack on py-evm, please check out the [Snake Charmers
|
|
Tactical Manual](https://github.com/ethereum/snake-charmers-tactical-manual)
|
|
for information on how we do:
|
|
|
|
- Testing
|
|
- Pull Requests
|
|
- Documentation
|
|
|
|
We use [pre-commit](https://pre-commit.com/) to maintain consistent code style. Once
|
|
installed, it will run automatically with every commit. You can also run it manually
|
|
with `make lint`. If you need to make a commit that skips the `pre-commit` checks, you
|
|
can do so with `git commit --no-verify`.
|
|
|
|
### Development Environment Setup
|
|
|
|
```sh
|
|
git clone git@github.com:ethereum/py-evm.git
|
|
cd py-evm
|
|
virtualenv -p python3 venv
|
|
. venv/bin/activate
|
|
python -m pip install -e ".[dev]"
|
|
pre-commit install
|
|
```
|
|
|
|
### Release setup
|
|
|
|
To release a new version:
|
|
|
|
```sh
|
|
make release bump=$$VERSION_PART_TO_BUMP$$
|
|
```
|
|
|
|
To issue the next version in line, specify which part to bump,
|
|
like `make release bump=minor` or `make release bump=devnum`. This is typically done from the
|
|
main branch, except when releasing a beta (in which case the beta is released from main,
|
|
and the previous stable branch is released from said branch).
|
|
|
|
## Want to help?
|
|
|
|
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
|
|
guidelines for [contributing](https://py-evm.readthedocs.io/en/latest/contributing.html) and then check out one of our issues that are labeled [Good First Issue](https://github.com/ethereum/py-evm/issues?q=is%3Aissue+is%3Aopen+label%3A%22Good+First+Issue%22).
|