Skip to main content
hivecomb

hivecomb-beem

A beem-compatible API for Hive, implemented on hivecomb.

This distribution provides the beem, beemgraphenebase, beembase and beemapi package names, and the beempy console script. Installing it in place of beem makes existing import beem code and existing beempy invocations work unchanged, with the defects catalogued in SECURITY_FINDINGS.md fixed underneath and the post-HF25 operations beem never gained made available.

pip uninstall -y beem
pip install hivecomb hivecomb-beem

It deliberately shadows beem's package names, so do not install it alongside beem.

What you get for switching

Speed, measured on the same machine with both libraries signing identical operations, pinned to one core, payload varied on every call (CPython 3.12, minimum of nine interleaved one-second windows on a CPU clock, beem 0.24.26 on the cryptography backend a default install selects):

hivecomb-beem beem 0.24.26
sign a message 70.2 µs 20.2 ms ~288×
sign a custom_json 89.3 µs 20.6 ms ~231×
sign a transfer 87.0 µs 20.6 ms ~237×
serialize and digest, no signing 10.2 µs 64.8 µs ~6.3×

beem is the least favourable comparison in the set, because it is unmaintained; the project's COMPARISON.md measures every Python, Rust and Node Hive library it names, including hive-nectar, where the gap is far smaller.

The signing rows are that wide because of which backend beem ends up on, not because Python is slow. beem prefers secp256k1 and falls back to cryptography, and on the fallback it derives each signature's recovery parameter by recovering the public key in pure Python, inside a loop that retries until the signature is canonical. The secp256k1 path would close most of the gap — but installed against a current binding it raises AttributeError: 'PrivateKey' object has no attribute 'ctx', because beem was pinned to an API that changed and has not been maintained since 2021. The fallback is what you actually get.

The last row is the fair one: serialization alone, no cryptography, ~6×.

And correctness, which matters more. beem 0.24.26's known_chains["HIVE"] is the all-zero pre-hardfork-24 chain id, so it signs against a chain that has not existed since 2020 unless you override it. That and twenty-four other findings are catalogued with file and line in SECURITY_FINDINGS.md — including one that turned out to be wrong, marked as retracted, because a catalogue you cannot check is not worth much.

Full detail — what was fixed, what diverges on purpose, what was added, what is not implemented — is in MIGRATION.md.

Tests

python test_compat.py    # beem's API, run unmodified
python test_cli.py       # beempy, offline

Two things to know before switching

  • Signing no longer contacts a node. Hive caches a block reference and refuses to serve a stale one. Call hive.refresh_block_ref() from a background task if you sign after long idle periods.
  • repr() and str() of a private key still return the secret, matching beem, because real code depends on it. Set COMB_COMPAT_REDACT_KEYS=1 once you have checked yours does not.

beempy

Every one of beem's commands is registered. The ten this layer does not provide say so and name an alternative rather than failing obscurely.

beempy commands lists everything; beempy commands --new lists the nine that have no beem equivalent — recurrenttransfer, collateralizedconvert, mnemonic, bip38, decodetx, virtualops, opsinblock, verifyauthority and commands itself.

Metadata

Release files for hivecomb-beem 0.1.2

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

Source distribution (sdist)

Source distribution for hivecomb-beem 0.1.2
File Size Uploaded Provenance Actions
hivecomb_beem-0.1.2.tar.gz 84.8 kB With provenance Details for hivecomb_beem-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hivecomb-beem 0.1.2
File Interpreter ABI Platform Actions
hivecomb_beem-0.1.2-py3-none-any.whl Python 3 none any Details for hivecomb_beem-0.1.2-py3-none-any.whl

Total release size: 181.3 kB

Release files / hivecomb_beem-0.1.2.tar.gz

Download URL hivecomb_beem-0.1.2.tar.gz
Size 84.8 kB
Tags Source
SHA-256 checksum
How to use checksums
43bc83f08e730afff1c2a3671f27b448d4c1ea3a4fd171e4ea8dfa922b1c92de
BLAKE2b-256 checksum
How to use checksums
32a6bd9dc99daac43a716c8887805a6e0c7bacd35fcaee024e04a475251a89bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / hivecomb_beem-0.1.2-py3-none-any.whl

Download URL hivecomb_beem-0.1.2-py3-none-any.whl
Size 96.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95c40ede1f8dd19ec35b38f08930b350bbdd419ffff92f34133980751fa5dbb2
BLAKE2b-256 checksum
How to use checksums
3b9d9a255ccbd70c5c28c34a882dd7fa0eae77734e98c4535fc9d1acfabd601a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Security for hivecomb-beem 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hivecomb_beem-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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