Skip to main content

AIND S3 Cache

CI PyPI - Version semantic-release: angular License ruff uv Copier Small library providing a transparent local cache for S3 objects.

Key Features

  • 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

Installation

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-cache

To develop the code, run:

uv sync

Development

Please test your changes using the full linting and testing suite:

./scripts/run_linters_and_checks.sh -c

Or 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 coverage

Documentation

sphinx-build -b html docs/source/ docs/build/html

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for aind-s3-cache 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aind-s3-cache 0.1.0
File Size Uploaded
aind_s3_cache-0.1.0.tar.gz 242.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aind-s3-cache 0.1.0
File Interpreter ABI Platform
aind_s3_cache-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 254.5 kB

Release files / aind_s3_cache-0.1.0.tar.gz

Download URL aind_s3_cache-0.1.0.tar.gz
Size 242.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5a02a552aafb341bd126795acbf457493db9a6542d9b0dd57539f565a94854c9
BLAKE2b-256 checksum
How to use checksums
6d36c4f05cb38e8e58b228ddb190a30fdec2f650197d08f5e152b4a6cb752963
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / aind_s3_cache-0.1.0-py3-none-any.whl

Download URL aind_s3_cache-0.1.0-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
000ac21c5b9b536c74f682f409252513ea0baff14bb3d01db4fcb85690c8f603
BLAKE2b-256 checksum
How to use checksums
10c7296549e1c4f088ac361255e57bd357541a7110cf0aa1b77ab7f9bfa9e8c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page