- https://docs.daft.ai for the user-facing API docs
- CONTRIBUTING.md for detailed development process
- https://github.com/Eventual-Inc/Daft for issues, discussions, and PRs
- [Once] Set up Python environment and install dependencies:
make .venv - [Optional] Activate .venv:
source .venv/bin/activate. Not necessary with Makefile commands. - If Rust code is modified, rebuild:
make build - Run tests. See Testing Details.
make testruns tests intests/directory. Usespytestunder the hood.- Must set
DAFT_RUNNERenvironment variable torayornativeto run the tests with the corresponding runner.- Start with
DAFT_RUNNER=nativeunless testing Ray or distributed code.
- Start with
make test EXTRA_ARGS="..."passes additional arguments topytest.make test EXTRA_ARGS="-v tests/dataframe/test_select.py"runs the test in the given file.make test EXTRA_ARGS="-v tests/dataframe/test_select.py::test_select_dataframe"runs the given test method.
- Default
integration,benchmark, andhypothesistests are disabled. Best to run on CI.
- Must set
make doctestsruns doctests indaft/directory. Tests docstrings in Daft APIs.
- Titles: Conventional Commits format; enforced by
.github/workflows/pr-labeller.yml. - Descriptions: follow
.github/pull_request_template.md.