Skip to content

anjakefala/AsyncArrowReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsyncArrowReader Prototype

Setup Guide

Prerequisites

  • Python 3.8 or later
  • CMake 3.15 or later
  • C++ compiler supporting C++11 or later

Setup

System Dependencies

On Debian/Ubuntu:

sudo apt-get update
sudo apt-get install -y     \
    python3-dev             \
    cmake                   \
    build-essential         \
    libarrow-dev

Note: See Install Apache Arrow for instructions on installing Arrow C++ on Linux.

Or on macOS:

brew install apache-arrow cmake curl

Python dependencies

Python dependencies are defined in pyproject.toml and are handled automatically when you runpip install ..

The prototype depends on the following packages:

  • pyarrow
  • aiohttp
  • nanobind (build only)
  • scikit-build-core (build only)

Docker

As an alternative to the above steps, a Dockerfile is provided which builds and runs the prototype.

docker build -t prototype .
docker run prototype

Build

pip install .

# Or install in such a way that VSCode/clangd gives nice autocomplete
pip install "scikit-build-core>=0.5.0" "nanobind>=1.5.0" # required for --no-build-isolation
pip install -e . -v --config-settings=build-dir=build --no-build-isolation

Run

python3 example.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •