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.
Hivecaches a block reference and refuses to serve a stale one. Callhive.refresh_block_ref()from a background task if you sign after long idle periods. repr()andstr()of a private key still return the secret, matching beem, because real code depends on it. SetCOMB_COMPAT_REDACT_KEYS=1once 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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hivecomb_beem-0.1.1.tar.gz | 84.8 kB | With provenance | Details for hivecomb_beem-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hivecomb_beem-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for hivecomb_beem-0.1.1-py3-none-any.whl |
Total release size: 181.3 kB
Release files / hivecomb_beem-0.1.1.tar.gz
| Download URL | hivecomb_beem-0.1.1.tar.gz |
|---|---|
| Size | 84.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87c805256386531f544ac3f9dafbca70e5a53b981757d44fab5395fb0118a9f0
|
|
BLAKE2b-256 checksum How to use checksums |
39bbeae31abdc597b4411f78e25dc273631d216fdb6fb505aae4a9d8dca3b610
|
| 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 logRelease files / hivecomb_beem-0.1.1-py3-none-any.whl
| Download URL | hivecomb_beem-0.1.1-py3-none-any.whl |
|---|---|
| Size | 96.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cbd783853dfd84d698308010994b47dfa29a652b465ef70d073de81d48a30b5
|
|
BLAKE2b-256 checksum How to use checksums |
bed95ec4946b24a61ae6a5aa1eb3f87b7c9758466ca16b956294ff870a885af5
|
| 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 logSecurity for hivecomb-beem 0.1.1
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.
Attestation for hivecomb_beem-0.1.1.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 logA 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.