Skip to content

nubificus/vaccel-python

Repository files navigation

Python bindings for vAccel

Python bindings for vAccel wrap the vAccel C API and provide a native Python API to vAccel operations. The bindings are currently a WiP, supporting a subset of the vAccel operations.

You can find more information about these bindings and everything vAccel in the Documentation.

Installation

The bindings are implemented in the vaccel Python package. The package is installable with pip by using the provided Wheels or from source.

Requirements

  • To use the vaccel Python package you need a valid vAccel installation. You can find more information on how to install vAccel in the Installation page.

  • This package requires Python 3.10 or newer. Verify your Python version with:

    python3 --version

    and update Python as needed using the official instructions

Wheel

You can get the latest vaccel Wheel package from the Releases page.

# Replace `x86_64` with `aarch64` or `armv7l` to get packages for the relevant
# architectures
wget https://github.com/nubificus/vaccel-python/releases/download/v0.1.0/vaccel-0.1.0-cp310-abi3-linux_x86_64.whl
pip install vaccel-0.1.0-cp310-abi3-linux_x86_64.whl

Latest artifacts

To install the Wheel artifact of the latest vaccel revision:

# Replace `x86_64` with `aarch64` or `armv7l` to get packages for the relevant
# architectures
wget https://s3.nbfc.io/nbfc-assets/github/python-vaccel/main/x86_64/vaccel-latest-cp310-abi3-linux_x86_64.whl
pip install vaccel-latest-cp310-abi3-linux_x86_64.whl

Building from source

You can build the package from source directly and install it using pip:

pip install git+https://github.com/nubificus/vaccel-python

Running the examples

Examples of using the package are provided in the examples directory.

After cloning the repo:

git clone https://github.com/nubificus/vaccel-python
cd vaccel-python

you can run all the available examples with sample arguments using:

python3 run-examples.py

About

vAccel Python bindings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages