https://github.com/neka-nat/notionflow
  
  
    Experiment tracking tool on Notion 
    https://github.com/neka-nat/notionflow
  
mlops notion notion-api notion-database python
        Last synced: 7 months ago 
        JSON representation
    
Experiment tracking tool on Notion
- Host: GitHub
- URL: https://github.com/neka-nat/notionflow
- Owner: neka-nat
- License: mit
- Created: 2023-04-16T12:01:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T13:13:36.000Z (over 2 years ago)
- Last Synced: 2025-02-14T12:55:47.537Z (9 months ago)
- Topics: mlops, notion, notion-api, notion-database, python
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          # notionflow
**WIP**
Notionflow is a library for experiment management in machine learning on notion.
## Installation
```bash
pip install notionflow
```
## Quick start
```bash
export NOTION_TOKEN=
export NOTION_PARENT_PAGE_ID=
```
```py
import notionflow as nf
nf.create_database("database1", {"param1": "number"}, {"recall": "number"})
with nf.start_page(page_name="page1") as page:
    nf.log_param("param1", 1.0)
    nf.log_metric("recall", 0.5)
with nf.start_page(page_name="page2") as page:
    nf.log_param("param1", 2.0)
    nf.log_metric("recall", 0.1)
```