Skip to content

NebulaiNetwork/OpenCompute_User

Repository files navigation

OpenCompute_User

The base code for the OpenCompute user module.

This project uses a Python virtual environment to build and run a Rust-Python hybrid module via Maturin. Ensure you have all prerequisites installed before proceeding.

Prerequisites

  • Python 3.10.12+
  • Maturin
  • Rust (recommended version: 1.86.0 or higher)
  • make

Setup and Build

Follow these steps to build and run the project:

1. Activate the Python Virtual Environment

If you haven't created one yet:

cd OpenCompute_User
python -m venv venv

Load virtual env

# Unix/macOS:
source ./venv/bin/activate
# Windows:
venv\Scripts\activate

Then install maturin:

pip install maturin

2. Build the Project

make

3. Run the Test Script

python test.py

About

The base code of OpenCompute user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published