Skip to main content

eth-rlp: RLP definitions for common Ethereum objects in Python

Project description

eth-rlp

Join the conversation on Discord Build Status PyPI version Python versions Docs build

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eth-rlp-2.0.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

eth_rlp-2.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file eth-rlp-2.0.0.tar.gz.

File metadata

  • Download URL: eth-rlp-2.0.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for eth-rlp-2.0.0.tar.gz
Algorithm Hash digest
SHA256 70116ec32abd2569fc4ba5f2af80080d896b0dc53a86d582fe1ffa66ecfee308
MD5 ea67ff4dcf2f5cb1a2c06f7209a804e6
BLAKE2b-256 8a7a890f3baa06be3f8ae65fee06db2bd2489d7b49d2f12b0b92098b5dbe3eed

See more details on using hashes here.

File details

Details for the file eth_rlp-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: eth_rlp-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for eth_rlp-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0286c0b8fd47baa5d6f0f44e1574b8a4281299059c8a4b01a8c528106db4d930
MD5 6a8f79f12108c4cf0d9cfab6cf6afcc5
BLAKE2b-256 bc1d864ce2da97933347c31fa4d740ef0c78f6b04eb08aa9fa241e38b7890a26

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page