wandbtocsv


Namewandbtocsv JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/hamelsmu/wandbtocsv
SummaryExport summary metrics and config from runs as a csv file from a project
upload_time2023-10-09 05:11:08
maintainer
docs_urlNone
authorHamel Husain
requires_python>=3.7
licenseApache Software License 2.0
keywords nbdev jupyter notebook python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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. This
utility will also get peak gpu and system memory usage for each run.

## 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% 0:00:01[36m0:00:03
    Saved 480 runs to hamelsmu-deepspeed-data-100823.csv

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

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hamelsmu/wandbtocsv",
    "name": "wandbtocsv",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "nbdev jupyter notebook python",
    "author": "Hamel Husain",
    "author_email": "hamel.husain@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5a/7a/0572af776c82895e819e1f843bcfe24f21f64996cf77fb1fbee8a1c4117b/wandbtocsv-0.0.6.tar.gz",
    "platform": null,
    "description": "# wandbtocsv\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\n## Background\n\n`wandbtocsv` allows you to quickly export a flat csv file of the top\nlevel metrics, config, etc. from your [Weights &\nBiases](https://wandb.ai/) runs in an easy to use CLI interface. This\nutility will also get peak gpu and system memory usage for each run.\n\n## Install\n\n``` sh\npip install wandbtocsv\n```\n\n## How to use\n\n``` python\n!wandbtocsv -h\n```\n\n    usage: wandbtocsv [-h] [--entity ENTITY] [--project PROJECT]\n                      [--output_file OUTPUT_FILE]\n\n    options:\n      -h, --help                 show this help message and exit\n      --entity ENTITY            Entity for the WANDB runs. If not provided,\n                                 attempts to fetch from environment variable\n                                 'WANDB_ENTITY'.\n      --project PROJECT          Project for the WANDB runs. If not provided,\n                                 attempts to fetch from environment variable\n                                 'WANDB_PROJECT'.\n      --output_file OUTPUT_FILE  Path to save the output CSV. Default name format:\n                                 {entity}-{project}-{mmddyy}.csv\n\n``` python\n!wandbtocsv --entity hamelsmu --project deepspeed-data\n```\n\n    Fetching runs... \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 100% 0:00:00% 0:00:01[36m0:00:03\n    Saved 480 runs to hamelsmu-deepspeed-data-100823.csv\n\n## Bonus, explore your wandb runs in [Datasette](https://datasette.io/)\n\n``` bash\ncsvs-to-sqlite hamelsmu-deepspeed-data-100823.csv hamelsmu-deepspeed-data-100823.db\ndatasette hamelsmu-deepspeed-data-100823.db -o\n```\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "Export summary metrics and config from runs as a csv file from a project",
    "version": "0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/hamelsmu/wandbtocsv"
    },
    "split_keywords": [
        "nbdev",
        "jupyter",
        "notebook",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "26eb023887afe4b721be0cd9c9847795be356d9aca6639f182f23c3bf167e9c8",
                "md5": "2b089d66d1d8d2bfc13ee2ff7a7b0abe",
                "sha256": "40672b9ff27b86c22d493f3311d08f25bc2895c83411d2acfe5a0a6c72634ca3"
            },
            "downloads": -1,
            "filename": "wandbtocsv-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2b089d66d1d8d2bfc13ee2ff7a7b0abe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 8443,
            "upload_time": "2023-10-09T05:11:06",
            "upload_time_iso_8601": "2023-10-09T05:11:06.787346Z",
            "url": "https://files.pythonhosted.org/packages/26/eb/023887afe4b721be0cd9c9847795be356d9aca6639f182f23c3bf167e9c8/wandbtocsv-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a7a0572af776c82895e819e1f843bcfe24f21f64996cf77fb1fbee8a1c4117b",
                "md5": "6d5e11e51f91aa022bb820b85a5652b1",
                "sha256": "e7d1f3615c1b3acf1c1580bb8b52eb898fa91c2580ca9b1ace67fc4608eeff27"
            },
            "downloads": -1,
            "filename": "wandbtocsv-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "6d5e11e51f91aa022bb820b85a5652b1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 8847,
            "upload_time": "2023-10-09T05:11:08",
            "upload_time_iso_8601": "2023-10-09T05:11:08.668292Z",
            "url": "https://files.pythonhosted.org/packages/5a/7a/0572af776c82895e819e1f843bcfe24f21f64996cf77fb1fbee8a1c4117b/wandbtocsv-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-09 05:11:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hamelsmu",
    "github_project": "wandbtocsv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "wandbtocsv"
}
        
Elapsed time: 0.87616s