shutil.copyfileobj
like this:
oxen://namespace:repo@revision/path/to/file
{to,from}_{csv,parquet,json,etc.}
functions.
namespace
- str
The namespace of the repository.repo
- str
The name of the repository.host
- str
The host to connect to. Defaults to ‘hub.oxen.ai’revision
- str
The branch name or commit id to checkout. Defaults to ‘main’scheme
- str
The scheme to use for the remote url. Default: ‘https’path
- str
The path to list the contents of.detail
- bool
If True, return a list of dictionaries with detailed metadata.
Otherwise, return a list of strings with the filenames.OxenFS.open()
or fsspec.open()
.