Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A Python wrapper for the Fletcher runtime library

Project description

Fletcher runtime library for Python

Fletcher is a framework for integrating FPGA accelerators with Apache Arrow that generates easy-to-use and efficient hardware interfaces allowing hardware addressing via table indices rather than byte addresses. Pyfletcher aims to make the Fletcher runtime library available in Python, allowing any Python programmer to easily interface with Fletcher enabled FPGA images. See the repository for using Fletcher to generate hardware.

Installing

The base pyfletcher library binary wheels can be easily installed on Linux:

pip install pyfletcher

In order to use pyfletcher to interface with FPGA's, please install the correct driver for your platform from the repository. It is recommended to install the echo platform for debugging and testing.

Building from source

Before installing pyfletcher, you should install Cython, numpy and pyarrow.

pip install Cython numpy pyarrow

Install the Fletcher C++ run-time library as follows:

mkdir build
cmake .. -DFLETCHER_PYTHON=ON -DPYARROW_DIR=<pyarrow_install_dir>
make
sudo make install

Here, <pyarrow_install_dir> should be the path to where pyarrow is installed on your system. This can easily be found by running the following code in Python:

import pyarrow as pa
print(pa.get_library_dirs())

You can now install pyfletcher.

python setup.py install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyfletcher, version 0.0.19
Filename, size File type Python version Upload date Hashes
Filename, size pyfletcher-0.0.19-cp36-cp36m-manylinux2014_x86_64.whl (11.5 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pyfletcher-0.0.19-cp37-cp37m-manylinux2014_x86_64.whl (11.5 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pyfletcher-0.0.19-cp38-cp38-manylinux2014_x86_64.whl (11.5 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pyfletcher-0.0.19-cp39-cp39-manylinux2014_x86_64.whl (11.5 MB) File type Wheel Python version cp39 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page