Skip to main content
Every dataset lives in a repository. Use alphacast.repository to work with them. See Repositories for privacy and permissions.

List your repositories

Returns the repositories that your account or your teams have permission on. Each one has id, name, accountId, description, privacy, slug, and permission.

Get a repository by ID

Find a repository by name

The server matches the name, ignoring case and accents. The method returns the first match, which can be a team repository. It returns False when nothing matches. If you need an exact target, use the ID.

Create a repository

str
required
Repository name.
str
Description. Defaults to the name.
str
default:"Private"
Private or Public.
str
Accepted by the method, but Alphacast generates the slug itself.
bool
default:"False"
If a repository with this name is found, return it. When False, the method raises ValueError.
With returnIdIfExists=True, the method returns the whole repository record, not only the ID. The method raises an exception if the request fails.

Delete a repository

This permanently deletes the repository and its content, including datasets, pipelines, charts, and files.
delete does not raise on HTTP errors. A successful deletion returns an empty response, so check it:

List repositories that you can write to

To change a repository’s name or privacy, use the web app.

Next steps

Datasets

Work with datasets.

Uploading data

Add data to a dataset.