Development

Installation

Pallas can be installed with development dependencies using pip:

pip install -e .[dev]

Configuration

For integration test to run, access to AWS resources has to be configured.

export TEST_PALLAS_REGION=            # AWS region, can be also specified in ~/.aws/config
export TEST_PALLAS_DATABASE=          # Name of Athena database
export TEST_PALLAS_WORKGROUP=         # Optional
export TEST_PALLAS_OUTPUT_LOCATION=   # s3:// URI

If the above environment variables are not defined, integration tests will be skipped.

Tools

Tox can run the above tools:

tox -e format
tox --parallel