name
- str
Name of the repository in the format ‘namespace/repo_name’.host
- str
The host to connect to. Defaults to ‘hub.oxen.ai’name
- str
Name of the repository in the format ‘namespace/repo_name’.description
- str
Description of the repository.
Only applicable to OxenHub.is_public
- bool
Whether the repository is public or private.
Only applicable to OxenHub.host
- str
The host to connect to. Defaults to ‘hub.oxen.ai’scheme
- str
The scheme to use for the remote url. Default: ‘https’files
- List[Tuple[str, str]]
A list of tuples containing the path to the file and the contents
of the file that you would like to seed the repository with.repo_id
- str
Name of the repository in the format ‘namespace/repo_name’.
For example ‘ox/chatbot’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’empty
- bool
Whether to create an empty repo or not. Default: Falseis_public
- bool
Whether the repository is public or private. Default: Falserevision
- str
The name of the branch or commit id to checkout.create
- bool
Whether to create a new branch if it doesn’t exist. Default: Falsedirectory
- str
The directory to list. If None, will list the root directory.page_num
- int
The page number to return. Default: 1page_size
- int
The number of items to return per page. Default: 100directory
- str
The directory to list. If None, will list the root directorypage_size
- int
The number of items to return per page. Default: 100src
- str
The path to the remote filedst
- str | None
The path to the local file. If None, will download to
the same path as src
revision
- str | None
The branch or commit id to download. Defaults to self.revision
src
- str
The path to the local file to uploaddst
- str | None
The directory to upload the file to. If None, will upload to the root directory.branch
- str | None
The branch to upload the file to. Defaults to self.revision
src
- str
The path to the local file to uploadfile_name
- str | None
The name of the file to upload. If None, will use the name of the file in src
dst_dir
- str | None
The directory to upload the file to. If None, will upload to the root directory.branch
- str | None
The branch to upload the file to. Defaults to self.revision
path
- str
The path to the file to checkrevision
- str
The revision to check against, defaults to self.revision
local_path
- str
The local path to the file to checkremote_path
- str
The remote path to the file to check, will default to local_path
if not providedrevision
- str
The revision to check against, defaults to self.revision
name
- str
The name of the branch to checkbranch
- str
The name of the branch to returnbranch
- str
The name to assign to the created branchbranch
- str
The name to assign to the created branchbase_branch
- str
The base branch to merge intohead_branch
- str
The head branch to merge