eth-rlp: RLP definitions for common Ethereum objects in Python
Project description
eth-rlp
RLP definitions for common Ethereum objects in Python
Read more in the documentation on ReadTheDocs. View the change log.
Quickstart
python -m pip install eth-rlp
Developer Setup
If you would like to hack on eth-rlp, please check out the Snake Charmers Tactical Manual for information on how we do:
- Testing
- Pull Requests
- Documentation
We use pre-commit 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
You can set up your dev environment with:
git clone git@github.com:ethereum/eth-rlp.git
cd eth-rlp
virtualenv -p python3 venv
. venv/bin/activate
python -m pip install -e ".[dev]"
pre-commit install
Release setup
To release a new version:
make release bump=$$VERSION_PART_TO_BUMP$$
How to bumpversion
The version format for this repo is {major}.{minor}.{patch}
for stable, and
{major}.{minor}.{patch}-{stage}.{devnum}
for unstable (stage
can be alpha or beta).
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).
If you are in a beta version, make release bump=stage
will switch to a stable.
To issue an unstable version when the current version is stable, specify the
new version explicitly, like make release bump="--new-version 4.0.0-alpha.1 devnum"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file eth-rlp-1.0.1.tar.gz
.
File metadata
- Download URL: eth-rlp-1.0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d61dbda892ee1220f28fb3663c08f6383c305db9f1f5624dc585c9cd05115027 |
|
MD5 | 81ad56a07d52026a0dc59bb7b56ffd88 |
|
BLAKE2b-256 | 9b2efb9c2e0a2d0e249b61abf462828f3f8039305dfbe5844e138ab1a3b3a413 |
File details
Details for the file eth_rlp-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: eth_rlp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd76515d71654277377d48876b88e839d61553aaf56952e580bb7cebef2b1517 |
|
MD5 | ea9cf83d5d729cfef27ab5fe9da40096 |
|
BLAKE2b-256 | 337f583c8286530a52d9d5c07f3895c2184e36399379d1284dc1c2c8309a8e9d |