beem is an unofficial python library for steem and HIVE, which is created new from scratch from python-bitshares The library name is derived from a beam machine, similar to the analogy between steem and steam. beem includes python-graphenelib.
You may find help in the beem-discord-channel. The discord channel can also be used to discuss things about beem.
A complete library documentation is available at beem.readthedocs.io.
- High unit test coverage
- Support for websocket nodes
- Native support for new Appbase calls
- Node error handling and automatic node switching
- Usage of pycryptodomex instead of the outdated pycrypto
- Complete documentation of beempy and all classes including all functions
- hivesigner integration
- Works on read-only systems
- Own BlockchainObject class with cache
- Contains all broadcast operations
- Estimation of virtual account operation index from date or block number
- the command line tool beempy uses click and has more commands
- NodeRPC can be used to execute even not implemented RPC-Calls
- More complete implemention
The minimal working python version is 3.6.x
beem can be installed parallel to python-steem.
For Debian and Ubuntu, please ensure that the following packages are installed:
sudo apt-get install build-essential libssl-dev python3-dev python3-pip python3-setuptools
The following package speeds up beempy: .. code:: bash
sudo apt-get install python3-gmpy2
For Fedora and RHEL-derivatives, please ensure that the following packages are installed:
sudo yum install gcc openssl-devel python-devel
For OSX, please do the following:
brew install openssl export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS" export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"
For Termux on Android, please install the following packages:
pkg install clang openssl python
Signing and Verify can be fasten (200 %) by installing cryptography (you may need to replace pip3 by pip):
pip3 install -U cryptography
or (you may need to replace pip3 by pip):
pip3 install -U secp256k1prp
Install or update beem by pip(you may need to replace pip3 by pip):
pip3 install -U beem
You can install beem from this repository if you want the latest but possibly non-compiling version:
git clone https://github.com/holgern/beem.git cd beem python3 setup.py build python3 setup.py install --user
Run tests after install:
pytest
Installing beem from the conda-forge channel can be achieved by adding conda-forge to your channels with:
conda config --add channels conda-forge
Once the conda-forge channel has been enabled, beem can be installed with:
conda install beem
Signing and Verify can be fasten (200 %) by installing cryptography:
conda install cryptography
beem can be updated by:
conda update beem
A command line tool is available. The help output shows the available commands:
beempy --help
For Ledger (Nano S) signing, the following package must be installed:
pip3 install ledgerblue
With the help of pyinstaller, a stand alone version of beempy was created for Windows, OSX and linux. Each version has just to be unpacked and can be used in any terminal. The packed directories can be found under release. Each release has a hash sum, which is created directly in the build-server before transmitting the packed file. Please check the hash-sum after downloading.
Can be found in CHANGELOG.rst.
This library is licensed under the MIT License.
python-bitshares and python-graphenelib were created by Fabian Schuh (xeroc).