haroldcarr / keripy

Key Event Receipt Infrastructure - the spec and implementation of the KERI protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Implementation of the KERI Core Libraries

Project Name: keripy

PyPi GitHub Actions codecov https://pypi.org/project/keri/ Documentation Status

Installation

Dependencies

Binaries

python 3.10.4+ libsodium 1.0.18+

python packages

lmdb 0.98+ pysodium 0.7.5+ blake3 0.1.5+ msgpack 1.0.0+ simplejson 3.17.0+ cbor2 5.1.0+

$ pip3 install -U lmdb pysodium blake3 msgpack simplejson cbor2

or separately

$ pip3 install -U lmdb
$ pip3 install -U pysodium
$ pip3 install -U blake3
$ pip3 install -U msgpack
$ pip3 install -U simplejson
$ pip3 install -U cbor2

Development

Setup

  • Ensure Python 3.10.4 is present along with venv and dev header files;
  • Setup virtual environment: python3 -m venv keripy
  • Activate virtual environment: source keripy/bin/activate
  • Setup dependencies: pip install -r requirements.txt

Testing

  • Install pytest: pip install pytest

  • Run the test suites:

pytest tests/ --ignore tests/demo/
pytest tests/demo/

About

Key Event Receipt Infrastructure - the spec and implementation of the KERI protocol

License:Apache License 2.0


Languages

Language:Python 96.3%Language:Shell 3.6%Language:HTML 0.1%Language:Makefile 0.0%Language:jq 0.0%Language:Dockerfile 0.0%Language:JavaScript 0.0%