https://github.com/facultyai/faculty-datasets-fs
fsspec plugin for Faculty Datasets
https://github.com/facultyai/faculty-datasets-fs
Last synced: 3 months ago
JSON representation
fsspec plugin for Faculty Datasets
- Host: GitHub
- URL: https://github.com/facultyai/faculty-datasets-fs
- Owner: facultyai
- Created: 2023-03-24T16:06:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T15:17:12.000Z (about 3 years ago)
- Last Synced: 2024-12-31T05:16:05.583Z (over 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
faculty-datasets-fs
===================
An fsspec plugin for Faculty datasets.
Installation
------------
.. code-block:: sh
pip install faculty-datasets-fs
Usage
-----
``faculty-datasets-fs`` adds a ``faculty-datasets`` protocol that can be used
with ``fsspec``, for example:
.. code-block:: python
with fsspec.open("faculty-datasets://file.txt") as fp:
fp.read()
``faculty-datasets-fs`` relies on environment variables and the standard
Faculty credentials toolchain to determine:
* The Faculty deployment to query
* The Faculty project to query
* Credentials to use
These will work out of the box when running within a Faculty project.