Projects
less than a minute
Training and fine-tuning models is done elsewhere in the W&B Python SDK. Use the Public API for querying and managing data after it has been logged to W&B.
class Projects
An lazy iterator of Project
objects.
An iterable interface to access projects created and saved by the entity.
method Projects.__init__
__init__(
client: wandb.apis.public.api.RetryingClient,
entity: str,
per_page: int = 50
) → Projects
Args:
client
(wandb.apis.internal.Api
): The API client instance to use.entity
(str): The entity name (username or team) to fetch projects for.per_page
(int): Number of projects to fetch per request (default is 50).
Example:
from wandb.apis.public.api import Api
# Find projects that belong to this entity
projects = Api().projects(entity="entity")
# Iterate over files
for project in projects:
print(f"Project: {project.name}")
print(f"- URL: {project.url}")
print(f"- Created at: {project.created_at}")
print(f"- Is benchmark: {project.is_benchmark}")
An iterable collection of Project
objects.
Args:
client
: The API client used to query W&B.entity
: The entity which owns the projects.per_page
: The number of projects to fetch per request to the API.
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.