OpenFactory Utils Module - Open URIS#
Open files from different URIs using fsspec.
- openfactory.utils.open_uris.open_github(path)[source]#
Open a file from GitHub.
- Return type:
- Parameters:
path (str) – Path to the file in the format ‘repo:owner@/path/to/file’
- Returns:
file object – Opened file object
- Raises:
OFAException – If the file cannot be found or permission is denied.