Skip to content

GiovanniForlenza/rusthypergraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustHypergraph (RHG)

RustHypergraph (RHG) is a Python library written in Rust that provides functionality for working with hypergraphs.

Features

  • TODO

How to Install

For Linux and MacOS

Before you begin, make sure you have Git, Python, and Rust installed on your machine.

As the library is not yet available on PyPI, the steps to install and use it are as follows:

  1. Clone the library:

    git clone https://github.com/GiovanniForlenza/rusthypergraph.git
    
  2. Navigate to the rusthypergraph directory:

    cd rusthypergraph
    
  3. Build the library:

    cargo build --release
    
  4. Now you need to install Maturin:

  • It's advisable to use a virtual environment:
    python3 -m venv .env
    
  • Activate the virtual environment:
    source .env/bin/activate
    
  1. To install Maturin, execute:

    pip install maturin
    
  2. To compile the Rust extension for the Python project:

    maturin develop --release
    
  3. To install the library in the virtual environment, simply execute:

    pip install .
    
  4. If you want to install the library on your machine and use it outside the virtual environment:

    deactive
    
    pip install .
    

Perfect, now the library is installed and ready for use 🔥

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors