Small library providing a transparent local cache for S3 objects.
- S3 Integration: Built-in support for AWS S3 with caching and anonymous access
- Multi-source JSON Reading: Unified JSON loading from local files, HTTP URLs, and S3 URIs
If you choose to clone the repository, you can install the package by running the following command from the root directory of the repository:
pip install .Otherwise, you can use pip:
pip install aind-s3-cacheTo develop the code, run:
uv syncPlease test your changes using the full linting and testing suite:
./scripts/run_linters_and_checks.sh -cOr run individual commands:
uv run --frozen ruff format # Code formatting
uv run --frozen ruff check # Linting
uv run --frozen mypy # Type checking
uv run --frozen interrogate -v # Documentation coverage
uv run --frozen codespell --check-filenames # Spell checking
uv run --frozen pytest --cov # Tests with coveragesphinx-build -b html docs/source/ docs/build/htmlThis project is licensed under the MIT License - see the LICENSE file for details.