Are you sure you want to delete this access key?
DagsHub supports connecting external storage to DagsHub repositories to access and interact with your data and large files without leaving the DagsHub platform.
DagsHub provides integration with AWS S3 , Google Cloud Storage (GCS), and S3-compatible storage.
S3-compatible storage refers to a cloud storage system that supports the same API as the Amazon Simple Storage Service ( S3). S3 is a widely used object storage service provided by Amazon Web Services (AWS) that allows users to store and retrieve data over the internet. With S3-compatible storage, alternative cloud providers offer storage solutions that are compatible with the S3 API, allowing users to utilize the same tools and API calls used with Amazon S3.
S3 can store any kind of object, such as: images, videos, audio files, CSV files, JSON files, etc. They are widely used for storing large amounts of data because they offer high availability, durability, scalability, and security. They also support various features such as encryption, lifecycle management, versioning, and access control.
The flow below showcases how to connect an AWS S3 bucket. To connect a GCS, or S3-compatible storage, choose the relevant option in the data tab.
!!! note "Setting appropriate permissions" If the storage you're connecting is not public, you need to set up read permissions to enable DagsHub to show your data to you it. You can read how to do so on the Setup Remote Storage section
On your DagsHub repo page:
Once you have connected an S3 bucket (or any other public bucket) to your DagsHub repository,
Data Streaming supports streaming files from an S3 bucket connected to a DagsHub repository. This means you can stream a subset of your datasets without downloading it entirely to your local storage.
Check out the example:
from dagshub.streaming import DagsHubFilesystem
fs = DagsHubFilesystem(".", repo_url="https://dagshub.com/<username>/<reponame>")
fs.listdir("s3://good-dog-pics/10plus")
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?