Skip to content

Rust library to compute reputation graphs based on sigma protocols

Notifications You must be signed in to change notification settings

reputation-systems/reputation-graph-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reputation Graph

This project designed to store an acyclic graph composed of objects and calculate the reputation of an object within the graph. It utilizes Rust and SurrealDB, providing support for both WebAssembly (WASM) and Python 3 through PyO3.

Features

  • Storage of acyclic graph structures
  • Reputation calculation for individual objects within the graph
  • Utilizes Rust for high-performance and reliability
  • Compatible with SurrealDB for efficient data management

Integration

The project offers integration with the following environments:

  • WebAssembly (WASM): Enables usage within web applications for client-side computation.
  • Python 3: Provides a Python interface through PyO3, allowing seamless integration with Python projects and workflows.

Usage

To use the reputation-graph project, follow these steps:

  1. Install the necessary dependencies and tools.
  2. Integrate the project into your desired environment (WASM or Python 3).
  3. Utilize the provided functionalities to store acyclic graphs and perform reputation calculations for objects within the graph.

Dependencies

The project relies on the following components:

  • Rust: Provides the core functionality and performance optimizations.
  • SurrealDB: Offers efficient data management and storage for the acyclic graph structures.

Getting Started

To get started with the reputation-graph project, refer to the documentation and examples provided in the respective environment (WASM or Python 3).

Install

maturin build --release --features pyo3-bindings

wasm-pack build --release --target web -- --features wasm-bindings

For Python3.11 - Linux - x86_64

pip3 install https://github.com/reputation-systems/sigma-reputation-graph/raw/master/target/wheels/sigma_reputation_graph-0.0.0-cp311-cp311-manylinux_2_35_x86_64.whl

About

Rust library to compute reputation graphs based on sigma protocols

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published