Virtual filesystem for SQLite to read from and write to S3
Installation
sqlite-s3vfs depends on APSW, which is not officially available on PyPI, but can be installed directly from GitHub.
pip install sqlite-s3vfs
pip install https://github.com/rogerbinns/apsw/releases/download/3.36.0-r1/apsw-3.36.0-r1.zip --global-option=fetch --global-option=--version --global-option=3.36.0 --global-option=--all --global-option=build --global-option=--enable-all-extensions
Tests
The tests require the dev dependencies and APSW to installed, and MinIO started
pip install -r requirements-dev.txt
pip install https://github.com/rogerbinns/apsw/releases/download/3.36.0-r1/apsw-3.36.0-r1.zip --global-option=fetch --global-option=--version --global-option=3.36.0 --global-option=--all --global-option=build --global-option=--enable-all-extensions
./start-minio.sh
can be run with pytest
pytest
and finally Minio stopped
./stop-minio.sh