Skip to main content

crea - Unofficial Python Library for Crea

crea is an unofficial python library for crea, which is created new from scratch from python-bitshares The library name is derived from a beam machine, similar to the analogy between crea and steam. crea includes python-graphenelib.

Latest Version Python Versions https://anaconda.org/conda-forge/crea/badges/version.svg https://anaconda.org/conda-forge/crea/badges/downloads.svg

Current build status

https://travis-ci.org/holgern/crea.svg?branch=master https://ci.appveyor.com/api/projects/status/ig8oqp8bt2fmr09a?svg=true https://circleci.com/gh/holgern/crea.svg?style=svg https://readthedocs.org/projects/crea/badge/?version=latest https://api.codacy.com/project/badge/Grade/e5476faf97df4c658697b8e7a7efebd7 Updates Test Coverage

Support & Documentation

You may find help in the crea-discord-channel. The discord channel can also be used to discuss things about crea.

A complete library documentation is available at crea.readthedocs.io.

Advantages over the official crea-python library

  • 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 creapy and all classes including all functions

  • creaconnect 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 creapy uses click and has more commands

  • CreaNodeRPC can be used to execute even not implemented RPC-Calls

  • More complete implemention

Installation

The minimal working python version is 2.7.x. or 3.4.x

crea can be installed parallel to python-crea.

For Debian and Ubuntu, please ensure that the following packages are installed:

sudo apt-get install build-essential libssl-dev python-dev

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-dev python-dev

Signing and Verify can be fasten (200 %) by installing cryptography:

pip install -U cryptography

or:

pip install -U secp256k1prp

Install or update crea by pip:

pip install -U crea

You can install crea from this repository if you want the latest but possibly non-compiling version:

git clone https://github.com/holgern/crea.git
cd crea
python setup.py build

python setup.py install --user

Run tests after install:

pytest

Installing crea with conda-forge

Installing crea 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, crea can be installed with:

conda install crea

Signing and Verify can be fasten (200 %) by installing cryptography:

conda install cryptography

crea can be updated by:

conda update crea

CLI tool creapy

A command line tool is available. The help output shows the available commands:

creapy –help

Stand alone version of CLI tool creapy

With the help of pyinstaller, a stand alone version of creapy 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.

Changelog

Can be found in CHANGELOG.rst.

License

This library is licensed under the MIT License.

Acknowledgements

python-bitshares and python-graphenelib were created by Fabian Schuh (xeroc).

Metadata

Release files for crea 0.1.6

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

Source distribution (sdist)

Source distribution for crea 0.1.6
File Size Uploaded
crea-0.1.6.tar.gz 495.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crea 0.1.6
File Interpreter ABI Platform
crea-0.1.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 829.3 kB

Release files / crea-0.1.6.tar.gz

Download URL crea-0.1.6.tar.gz
Size 495.3 kB
Tags Source
SHA-256 checksum
How to use checksums
05a56aefcca88f7a092c27c199fb782e6c10d3986a95c5efb88348968ddb6e10
BLAKE2b-256 checksum
How to use checksums
042785de2344d406aaa0e0a58c1ddf9d2fea14d5e3e19d55f37be24d4b9af388
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.7

Release files / crea-0.1.6-py2.py3-none-any.whl

Download URL crea-0.1.6-py2.py3-none-any.whl
Size 334.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fbfd1e0b5c9c9f840079a9399dabf53da0ee58b5ccbdf62d461acc802753a794
BLAKE2b-256 checksum
How to use checksums
a6d35df1e385d770b663b5c76b7d869b88a644d03ed626fbba075a418c364a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.0

2 release files

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