Skip to main content

Blake2b hashing in Rust with Python bindings.

Project description

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 bumpversion 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 bumpversion 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.

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

blake2b_py-0.3.0.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distributions

blake2b_py-0.3.0-cp312-none-win_amd64.whl (113.2 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

blake2b_py-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl (242.6 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

blake2b_py-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl (183.9 kB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

blake2b_py-0.3.0-cp311-none-win_amd64.whl (113.1 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

blake2b_py-0.3.0-cp311-cp311-manylinux_2_34_x86_64.whl (242.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

blake2b_py-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl (184.1 kB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

blake2b_py-0.3.0-cp310-none-win_amd64.whl (113.1 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

blake2b_py-0.3.0-cp310-cp310-manylinux_2_34_x86_64.whl (242.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

blake2b_py-0.3.0-cp39-none-win_amd64.whl (113.2 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

blake2b_py-0.3.0-cp39-cp39-manylinux_2_34_x86_64.whl (242.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

blake2b_py-0.3.0-cp39-cp39-macosx_10_12_x86_64.whl (184.2 kB view hashes)

Uploaded CPython 3.9 macOS 10.12+ x86-64

blake2b_py-0.3.0-cp38-none-win_amd64.whl (113.0 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

blake2b_py-0.3.0-cp38-cp38-manylinux_2_34_x86_64.whl (242.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.34+ x86-64

blake2b_py-0.3.0-cp38-cp38-macosx_10_12_x86_64.whl (183.9 kB view hashes)

Uploaded CPython 3.8 macOS 10.12+ x86-64

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