Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): Add support for S3 datasets #21

Merged
merged 13 commits into from
Jan 8, 2024

Conversation

BertrandRenault
Copy link
Contributor

@BertrandRenault BertrandRenault commented Dec 14, 2023

Description

Add support for datasets on S3 cloud storage using the following settings:

  • data_dir as an S3Path instead of a regular Path
  • aws_endpoint: S3 Endpoint
  • aws_access_key_id: S3 Access key
  • aws_secret_access_key: S3 Secret key
  • aws_region: S3 Region
  • local_model_dir: Local path to models directory when using S3

Changes

Added

  • Add support for S3 datasets in API
  • Add support for S3 files in Dataset, DatasetInfo, DatasetStats, and Image

@cpvannier cpvannier added enhancement New feature or request scope: api Related to Pixano API labels Jan 3, 2024
pixano/data/dataset/dataset_info.py Show resolved Hide resolved
pixano/data/settings.py Outdated Show resolved Hide resolved
pixano/data/settings.py Outdated Show resolved Hide resolved
pixano/data/settings.py Outdated Show resolved Hide resolved
pixano/data/settings.py Outdated Show resolved Hide resolved
pixano/core/image.py Outdated Show resolved Hide resolved
pixano/data/dataset/dataset.py Outdated Show resolved Hide resolved
pixano/data/dataset/dataset_info.py Outdated Show resolved Hide resolved
pixano/data/item/item_view.py Outdated Show resolved Hide resolved
pixano/apps/main.py Outdated Show resolved Hide resolved
@cpvannier cpvannier changed the title allow S3 feat(api): Add support for S3 datasets Jan 4, 2024
pixano/data/settings.py Outdated Show resolved Hide resolved
@jrabary
Copy link
Member

jrabary commented Jan 5, 2024

This feature need to be documented

@cpvannier cpvannier merged commit 08e73b2 into pixano:develop Jan 8, 2024
5 checks passed
@cpvannier cpvannier added this to the Pixano 0.5.0 milestone Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scope: api Related to Pixano API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants