Skip to main content

Access datastore uri with fsspec

Project description

Filesystem interface to Azure Machine Learning defined URIs

Getting started

This package can be installed using:

pip install azureml-fsspec

Examples

Accepted uri format is Azure Machcine Learning defined datastore uri: azureml://subscriptions/([^/]+)/resourcegroups/([^/]+)/workspaces/([^/]+)/datastores/([^/]+)/paths/([^/]+)

# load parquet file to pandas
import pandas
df = pandas.read_parquet('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.parquet')

# load csv file to pandas
import pandas
df = pandas.read_csv('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.csv')

# load parquet file to dask
import dask.dataframe as dd
df = dd.read_parquet('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.parquet')

# load csv file to dask
import dask.dataframe as dd
df = dd.read_csv('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.csv')

Release History

1.2.0 (08-14-2023)

Features Added

  • added auth dict support (SP and managedIdentity) for fsspec.
  • added user exception mapping

1.1.0 (06-01-2023)

Features Added

  • upload/download performance improvement

1.0.0 (04-07-2023)

Features Added

  • Added upload/download API
  • bugfix(root behavior)

0.1.0b1

Features Added

  • Initial public preview release of FileSystem for Azure Machine Learning defined datastore uri

0.1.0b2

Features Added

  • Fix release notes

0.1.0b3

Features Added

  • Add mode in open API
  • Add validation
  • Upgrade dataprep to 4.8

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

azureml_fsspec-1.3.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file azureml_fsspec-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for azureml_fsspec-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79e2fde429e89ca06d5e9da0c650877ba90ed9ad566fdfb0fb43c9b082e68f32
MD5 0d9881f8919b92d1993ec26a4311de21
BLAKE2b-256 b7587a318b67f8f4b3881762faf9d54253c005dda49b69682d44b828d4e0c180

See more details on using hashes here.

Supported by

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