Skip to content

Add wandb-compatible API for trackio#394

Merged
abidlabs merged 6 commits into
mainfrom
trackio-api
Jan 12, 2026
Merged

Add wandb-compatible API for trackio#394
abidlabs merged 6 commits into
mainfrom
trackio-api

Conversation

@abidlabs
Copy link
Copy Markdown
Member

@abidlabs abidlabs commented Jan 12, 2026

Implement trackio.Api() class with runs(), delete(), and move() methods following wandb API syntax.

Closes: #120
Closes: #350

Usage

import trackio

# Initialize the API
api = trackio.Api()

# Get all runs in a project
runs = api.runs("my_project")

# Access individual runs
for run in runs:
    print(f"Run: {run.name}, Project: {run.project}")
    print(f"Config: {run.config}")

# Or access by index
first_run = runs[0]

# Delete a specific run
run = runs[0]
success = run.delete()  # Returns True if successful

Implement trackio.Api() class with runs(), delete(), and move() methods following wandb API syntax. Includes comprehensive tests for deleting and moving runs with media files.
@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Jan 12, 2026

🪼 branch checks and previews

Name Status URL
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Jan 12, 2026

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
trackio minor

  • Add wandb-compatible API for trackio

✅ Changeset approved by @abidlabs

  • Maintainers can remove approval by unchecking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@abidlabs abidlabs marked this pull request as draft January 12, 2026 19:32
@abidlabs abidlabs marked this pull request as ready for review January 12, 2026 19:39
@abidlabs
Copy link
Copy Markdown
Member Author

Thanks @znation!

@abidlabs abidlabs merged commit c47a3a3 into main Jan 12, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overwriting run name Being able to move a run between multiple project

4 participants