a place for contributed functionality for arkouda
- All modules must include a
client
directoryclient
directory must include aREADME.md
andsetup.py
.- The client module will be installed using
pip
. - Install uses
setuptools
test
directory is REQUIREDpytest.ini
is also required in the top level of your module.
server
directory is optional
For more details, visit CONTRIBUTING.md.
Basic examples of client-only and client-server extensions to Arkouda:
- Client-only example: arkouda_distance
- Client-server example: arkouda_distance_wserver
Installation is performed by running module_configuration.py
. When running module_configuration.py
, the complete path to the location of the Arkouda repo must be specified through the ak_loc
flag along with the complete path to the Arkouda contrib repo module that you want to include. Example:
python3 module_configuration.py --ak_loc=/complete/path/to/arkouda/ --pkg_path=/complete/path/to/arkouda-
contrib/arkouda_distance_wserver/
After running this command, the result should be a couple of commands along the lines of:
pip install -U /complete/path/to/arkouda-contrib/arkouda_distance_wserver/client
cp /complete/path/to/arkouda/ServerModules.cfg ~/TmpServerModules.cfg.1660849671
ARKOUDA_SERVER_USER_MODULES=" /complete/path/to/arkouda-contrib/arkouda_distance_wserver/server/DistanceCalcMsg.chpl" ARKOUDA_CONFIG_FILE=~/TmpServerModules.cfg.1660849671 ARKOUDA_SKIP_CHECK_DEPS=true make -C /complete/path/to/arkouda
These commands will then need to be run and then the Arkouda server will be built including the module Arkouda contrib package specified.
For detailed package installation instructions please view INSTALL.md.
import arkouda as ak
import yourModule
# Code using your module and Arkouda