Skip to main content

Small library providing a transparent local cache for S3 objects.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aind_s3_cache-0.1.0.tar.gz (242.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aind_s3_cache-0.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file aind_s3_cache-0.1.0.tar.gz.

File metadata

  • Download URL: aind_s3_cache-0.1.0.tar.gz
  • Upload date:
  • Size: 242.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for aind_s3_cache-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a02a552aafb341bd126795acbf457493db9a6542d9b0dd57539f565a94854c9
MD5 bfae00746453f69e5df6fc61083a4b9a
BLAKE2b-256 6d36c4f05cb38e8e58b228ddb190a30fdec2f650197d08f5e152b4a6cb752963

See more details on using hashes here.

File details

Details for the file aind_s3_cache-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aind_s3_cache-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 000ac21c5b9b536c74f682f409252513ea0baff14bb3d01db4fcb85690c8f603
MD5 f485346a6dc5611ce0846a05dac9d501
BLAKE2b-256 10c7296549e1c4f088ac361255e57bd357541a7110cf0aa1b77ab7f9bfa9e8c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page