mojo-data / arrow.mojo

Apache Arrow in Mojo🔥
Apache License 2.0
42 stars 2 forks source link

arrow.mojo

Apache Arrow in Mojo

This repo is very much a work in progress. The goal is to provide a way to use Apache Arrow in Mojo. This is a very early version and is not yet ready for use.

Dev Setup

If you have all the prerequisites, you should be able to just run

make setup

Prerequisites

If you would like to manually create your python virtual env, use this command

python3 -m venv .venv

The makefile contains some helpful commands:

However, for make commands to work MODULAR_HOME and PATH must be configured in ~/.zprofile or ~/.bash_profile in addition to ~/.zshrc or ~/.bashrc.

export MODULAR_HOME="$HOME/.modular"

# Pick one of the following, don't use both
# Option A: Nightly Mojo
export PATH="$HOME/.modular/pkg/packages.modular.com_nightly_mojo/bin:$PATH"
# Option B: Stable Mojo
export PATH="$HOME/.modular/pkg/packages.modular.com_mojo/bin:$PATH"