Metadata-Version: 2.1
Name: wandbtocsv
Version: 0.0.3
Summary: Export summary metrics and config from runs as a csv file from a project
Home-page: https://github.com/hamelsmu/wandbtocsv
Author: Hamel Husain
Author-email: hamel.husain@gmail.com
License: Apache Software License 2.0
Keywords: nbdev jupyter notebook python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# wandbtocsv

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Background

`wandbtocsv` allows you to quickly export a flat csv file of the top
level metrics, config, etc. from your [Weights &
Biases](https://wandb.ai/) runs in an easy to use CLI interface.

## Install

``` sh
pip install wandbtocsv
```

## How to use

``` python
!wandbtocsv -h
```

    usage: wandbtocsv [-h] [--entity ENTITY] [--project PROJECT]
                      [--output_file OUTPUT_FILE]

    options:
      -h, --help                 show this help message and exit
      --entity ENTITY            Entity for the WANDB runs. If not provided,
                                 attempts to fetch from environment variable
                                 'WANDB_ENTITY'.
      --project PROJECT          Project for the WANDB runs. If not provided,
                                 attempts to fetch from environment variable
                                 'WANDB_PROJECT'.
      --output_file OUTPUT_FILE  Path to save the output CSV. Default name format:
                                 {entity}-{project}-{mmddyy}.csv

``` python
!wandbtocsv --entity hamelsmu --project deepspeed-data
```

    Fetching runs... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
    Saved 224 runs to hamelsmu-deepspeed-data-100523.csv

## Bonus, explore your wandb runs in [Datasette](https://datasette.io/)

``` bash
csvs-to-sqlite hamelsmu-deepspeed-data-100523.csv hamelsmu-deepspeed-data-100523.db
datasette hamelsmu-deepspeed-data-100523.db -o
```
