Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

py-hdwallet

Join the chat at https://gitter.im/ethereum/py-hdwallet Build Status PyPI version Python versions Docs build

HD wallet generator.

WARNING: This package has not been peer reviewed or audited. Use at your own risk!

Read more in the documentation on ReadTheDocs. View the change log.

Quickstart

pip install py-hdwallet

Developer Setup

If you would like to hack on py-hdwallet, please check out the Snake Charmers Tactical Manual for information on how we do:

  • Testing
  • Pull Requests
  • Code Style
  • Documentation

Development Environment Setup

You can set up your dev environment with:

git clone git@github.com:ethereum/py-hdwallet.git
cd py-hdwallet
virtualenv -p python3 venv
. venv/bin/activate
pip install -e .[dev]

Testing Setup

During development, you might like to have tests run on every file save.

Show flake8 errors on file change:

# Test flake8
when-changed -v -s -r -1 hdwallet/ tests/ -c "clear; flake8 hdwallet tests && echo 'flake8 success' || echo 'error'"

Run multi-process tests in one command, but without color:

# in the project root:
pytest --numprocesses=4 --looponfail --maxfail=1
# the same thing, succinctly:
pytest -n 4 -f --maxfail=1

Run in one thread, with color and desktop notifications:

cd venv
ptw --onfail "notify-send -t 5000 'Test failure ⚠⚠⚠⚠⚠' 'python 3 test on py-hdwallet failed'" ../tests ../hdwallet

Release setup

For Debian-like systems:

apt install pandoc

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 master branch, except when releasing a beta (in which case the beta is released from master, and the previous stable branch is released from said branch). To include changes made with each release, update "docs/releases.rst" with the changes, and apply commit directly to master before release.

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"

Metadata

Release files for py-hdwallet 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-hdwallet 0.1.0a1
File Size Uploaded
py-hdwallet-0.1.0a1.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-hdwallet 0.1.0a1
File Interpreter ABI Platform
py_hdwallet-0.1.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / py-hdwallet-0.1.0a1.tar.gz

Download URL py-hdwallet-0.1.0a1.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d4b07032ed71d8b439d4aa373fecef15bc2edb2fb6aa6c8ecb1c6b897f57367b
BLAKE2b-256 checksum
How to use checksums
fc4c12a0a01a6ce512204163218562b5aafdfe82fb99842eb0905e54ab3808f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release files / py_hdwallet-0.1.0a1-py3-none-any.whl

Download URL py_hdwallet-0.1.0a1-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2350ff4c611b95ce3e4c1758110858cd4f5a85502e0451541aefa954ba61590
BLAKE2b-256 checksum
How to use checksums
06248795b09c6448966e96eec0a80ae664776dac4c032f4301de13a47f893328
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page