Skip to main content

No project description provided

Project description

rfsspec

Rust python FSs

Implements s3, gcs, azure blob and HTTP backends for fsspec using Rust.

Respects concurrency of many simultaneous requests as made by fsspec, but

  • does not need python asyncio,
  • releases the GIL,
  • can safely be called from multiple threads
  • is probably NOT fork-safe

Limitations

Currently only the methods cat_ranges, cat and cat_file are supported, enough to open a (consolidated) zarr dataset for reading.

Implementations

The http backend supports:

  • headers
  • method
  • ranges

The s3 implementation supports configuration by environment variables and .aws files, and options

  • profile
  • endpoint_url
  • anon
  • region
  • ranges
  • requester-pays

The GCS backend supports:

  • anon
  • ranges
  • requester-pays
  • assumes credentials via env variables and gcloud CLI

The Azure blob backend supports

  • anon
  • ranges
  • account/key auth (account always required)

Installation

> pip install -i https://pypi.anaconda.org/mdurant/simple rfsspec

Benchmarks

Latest results from examples/script.py:

Rust http: 0.1335
Rust s3: 0.1163
Rust anon s3: 0.0921
fsspec http: 0.1611
fsspec s3: 0.4758
fsspec anon s3: 0.4208

(multi-threaded benchmarks should be more meaningful)

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 Distributions

rfsspec-0.1.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.12+ x86-64

rfsspec-0.1.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

rfsspec-0.1.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

rfsspec-0.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

File details

Details for the file rfsspec-0.1.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rfsspec-0.1.0-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ca456682d23ddbbf0fdccaba63b4f1b16f47ca26565a33c4e73ef38f1b1532cb
MD5 2829d48c87a5d23c6b43abe5c8bb0867
BLAKE2b-256 1a2585419f6c7a2aa9f76cacb3457fe79a969b1bc78545f2f0d400e306f1a974

See more details on using hashes here.

File details

Details for the file rfsspec-0.1.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rfsspec-0.1.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ef241fb35404f9573f1f89e760f7d2ce73672bbaea1ac7c9a7d5f2303d4d43d6
MD5 dfa06e835231183813d889d85b26c06a
BLAKE2b-256 a7cf521e27faeaa38f447bb80196d03684fe73c37cd2eecbec17ed4888b5c24d

See more details on using hashes here.

File details

Details for the file rfsspec-0.1.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rfsspec-0.1.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 86796d86b8da1ccb47353cae1c92ef75f44fe500fc256bbe66565b1afeef96b0
MD5 81daf67da6b7c34b95ef7e095a65df2a
BLAKE2b-256 454706f6e18095bb045efe9c207eb1251b11cb130c7886f50880c1eb177e4fb1

See more details on using hashes here.

File details

Details for the file rfsspec-0.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for rfsspec-0.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 af6accd551ca867aaf940bd7207e74fab229168ea252cf1aaaf4586dd8bc753b
MD5 415f42e83e71910ebbb2834507983201
BLAKE2b-256 4468cbe16a1955d0ad98e95f0b44091cb62185ad0c5238e2b6bec09bc3cd5f1c

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