Skip to content

ethereum/blake2b-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

db67a2e · Feb 3, 2025
Jan 17, 2025
Sep 21, 2019
Jan 30, 2025
Sep 20, 2019
Nov 16, 2023
Feb 3, 2025
Sep 17, 2019
Jan 21, 2025
Jan 21, 2025
Feb 3, 2025
Jan 17, 2025
Mar 2, 2021

Repository files navigation

blake2b-py

Blake2b hashing in Rust with Python bindings.

Building/releasing

To build and publish a release, follow these steps:

Bump the version

First, bump the package version with the included make target:

make bump-my-version bump=patch

The above invocation bumps the "patch" version of a semantic version number ("x" in "1.2.x"). Other valid version types are "major" and "minor". The version is bumped by modifying source files that contain the version number, creating a new commit that includes those modifications, then tagging that commit with the new version. The new commit and tag are then pushed to the upstream repository.

Building & Releasing

Packages are build and distributed via Github Actions as soon as a tag is pushed to the remote repository which is taken care of by the bump-my-version command.

Developing

You'll need to have Maturin installed on your machine. Create a virtual environment, and then you can do:

pip install maturin
maturin develop

to install the dependencies. You may need to specify the MACOSX_DEPLOYMENT_TARGET environment variable to your version of MacOS.

Run the tests

Running make test_all will run all the tests.