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.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.0.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: azureml_fsspec-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.9.6 requests/2.28.2 setuptools/50.3.2 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.8.13

File hashes

Hashes for azureml_fsspec-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a237d14faa8fcaa8d19eb3aaa5f693a84265beaa88a87c2174dca0712fc99ed
MD5 6381ed08981577a9893bcc42c47a76a0
BLAKE2b-256 299a2b324817d2dc62d73145d06f3de5a029652298b0edcf2ecd2ae31b6d91e4

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