opendalfs is a Python package built on the Apache OpenDAL Python bindings.
Clone the repository:
git clone https://github.com/fsspec/opendalfs.git
cd opendalfsInstall uv and just, then create the locked development environment:
just installIntegration tests and benchmarks also require Docker with the Compose plugin.
Run just --list to list the supported development commands.
Run tests that do not require S3:
just unitPass additional pytest options as recipe arguments, for example:
just unit -xRun the complete test suite with the repository's root docker-compose.yml:
just integrationThis command starts MinIO, waits for it to become healthy, runs the tests, and stops MinIO afterward. The S3 tests use these default settings:
- Endpoint:
http://localhost:9000 - Region:
us-east-1 - Access Key:
minioadmin - Secret Key:
minioadmin - Bucket:
test-bucket
Override them with OPENDAL_S3_ENDPOINT, OPENDAL_S3_REGION,
OPENDAL_S3_BUCKET, OPENDAL_S3_ACCESS_KEY_ID, and
OPENDAL_S3_SECRET_ACCESS_KEY. Compose and pytest read the same values.
To run the complete suite against services you already manage, use:
just testOptional downstream integrations use separate dependency groups because some of their requirements conflict. The test workflow shows the group used for each integration.
Run the same formatting, linting, and type checks used by CI:
just checkThe documentation source is Markdown parsed by MyST and built by Sphinx. Run the strict build and the examples available in the documentation environment:
just docs
just docs-examplesThe HTML output is written to docs/_build/html. Use the live-reload server
while editing:
just docs-serveIntegration pages with conflicting optional dependencies run in separate CI jobs. To run one of those pages locally, select its dependency group:
DOCS_EXAMPLE_GROUP=integration-prefect \
uv run --group integration-prefect pytest -q docs/check_examples.pyKeep each documentation page focused on one reader need:
- A tutorial leads a new user to a working result.
- A how-to guide solves a specific task.
- An explanation describes how or why the adapter behaves as it does.
- A reference page records options, protocols, compatibility, or API details.
Add or update an integration test before claiming compatibility. An integration page should use the library's public fsspec entry form, include a runnable example based on the test, state the operations covered by CI, record relevant limits, and link to the test file.
OpenDAL owns service configuration and backend capability details. fsspec owns the generic filesystem contract. Link to those references instead of copying tables that can drift.
Run the benchmark against the same root Compose service:
just benchPass benchmark options as recipe arguments. The service remains available for
repeated runs; stop it with just bench-down when finished.
GitHub Actions runs quality checks, the test matrix, and documentation builds.
See .github/workflows/ for detailed configurations.