fsspec driver for v3io
Project Links
Meta
Author: Iguazio
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
License
- OSI Approved :: Apache Software License
Operating System
- POSIX :: Linux
- Microsoft :: Windows
- MacOS
Programming Language
- Python :: 3
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python
Topic
- Software Development :: Libraries :: Python Modules
- Software Development :: Libraries
v3iofs
Examples
Python
>>> from v3iofs import V3ioFS # Will register 'v3io' protocol in ffspec
>>> fs = V3ioFS('api.app.yh48.iguazio-cd2.com', v3io_access_key='s3cr3t')
>>> fs.ls('/container/path')
Pandas
# Use V3IO_ACCESS_KEY & V3IO_API from environment
>> df = pd.read_csv('v3io://container/path/to/file.csv')
Dask
>>> from v3iofs import V3ioFS
>>> from dask import bag
# Use V3IO_ACCESS_KEY & V3IO_API from environment
>>> url = 'v3io://container/path'
>>> file = bag.read_text(url)
>>> data, _ = file.compute()
# Pass key in storage_options
>>> storage_options={
... 'v3io_api': 'webapi.app.iguazio.com',
... 'v3io_access_key': 's3cr3t',
... }
>>> file = bag.read_text(url, storage_options=storage_options)
>>> data, _ = file.compute()
Development
Testing
You need to set V3IO_ACCESS_KEY and V3IO_API environment variables.
Then run make test to run the tests.
Environment
Deployment requirements are in requirements.txt and development requirements
are in dev-requirements.txt.
$ python -m venv venv
$ ./venv/bin/python -m pip install -r dev-requirements.txt
0.1.18
Jan 18, 2024
0.1.17
Nov 14, 2023
0.1.16
Jun 01, 2023
0.1.15
Nov 06, 2022
0.1.14
Sep 07, 2022
0.1.13
Sep 05, 2022
0.1.12
Sep 04, 2022
0.1.11
Jul 11, 2022
0.1.10
Jan 27, 2022
0.1.9
Jan 13, 2022
0.1.8
Nov 03, 2021
0.1.7
Jun 27, 2021
0.1.6
Feb 21, 2021
0.1.5
Feb 01, 2021
0.1.4
Jan 31, 2021
0.1.3
Dec 29, 2020
0.1.2
Nov 12, 2020
0.1.0
Sep 15, 2020
0.1.0a1
May 07, 2020
0.0.0
Jul 06, 2022