labnotes 0.0.86__tar.gz → 0.0.87__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {labnotes-0.0.86 → labnotes-0.0.87}/PKG-INFO +5 -5
- {labnotes-0.0.86 → labnotes-0.0.87}/README.md +4 -4
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/context.md +2 -2
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/experiments.py +1 -6
- {labnotes-0.0.86 → labnotes-0.0.87}/.gitignore +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/CHANGELOG.md +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/MIGRATIONS.md +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/pyproject.toml +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/__init__.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/__main__.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/asset_url.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/check_counts.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/cli.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/context_guide.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/count_groups.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/count_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/create_app.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/create_experiment.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/create_note.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/__init__.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/control_run.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/daemon_app.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/daemon_client.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/daemon_running.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/daemon_server.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/describe_status.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/ensure_daemon.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/exit_when_idle.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/remote_start.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/run_daemon.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/run_logs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/serve_daemon.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/socket_path.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/stop_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/watch_daemon.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon/watch_status.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/daemon_command.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/data_html.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/default_config_text.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/default_counts.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/drain_watch.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/experiment_notes.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/experiment_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/file_changes.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/format_duration.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/format_started.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/format_value.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/group_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/init.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/invocation_started.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/is_positive_int.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/list_experiments.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/list_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/load_config.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/load_experiment.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/load_run.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/models.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/modes.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/nests_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/note_path.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/notebook_kernel.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/output_html.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/parse_run_view.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/print_rows.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/python_blocks.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/read_config.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/read_path.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/render_markdown.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/run_command.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/run_control.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/run_output.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/run_status.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/__init__.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/describe_event.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/execute_run.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/hold_folder.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/new_param_run_id.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/new_run_id.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/new_stamped_run_id.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/param_args.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/param_grid.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/param_run_name.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/plan_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/prepare_experiment.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/read_experiment_config.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/run_experiment.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/run_folder.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/run_headless.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/runs_parent.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/shell_command.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/signal_tree.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/stop_then_kill.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/wait_for_tree.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/runner/write_run_json.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/save_conflict_copy.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/save_note.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/saved_outputs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/serve_app.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/server.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/shared_params.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/sort_href.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/sql_quote.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/elapsed.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/experiment.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/labnotes.css +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/local-time.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/new-note.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/note-edit.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/note-editor.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/row-link.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/run-cell.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/run-output.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/static/view-toggle.js +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/summarize_config.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/__init__.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/experiment_rows.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/experiment_run_ids.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/file_prefix.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/file_text.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/iso_time.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/list_experiment_runs.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/note_text.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/open_tables.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/path_glob.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/path_pattern.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/read_experiment.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/read_file.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/read_log.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/read_run.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tables/summarize_experiments.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/templates/base.html +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/templates/editor_imports.html +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/templates/experiment.html +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/templates/index.html +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/templates/note.html +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/templates/run.html +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/__init__.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/browse_app.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/browse_tui.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/dim.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/experiment_screen.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/experiments_screen.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/format_elapsed.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/group_cells.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/invocation_columns.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/invocation_rows.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/run_app.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/run_cells.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/run_tui.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/tui/runs_table.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/src/labnotes/wait_for_note.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/testing-conventions.toml +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/tests/integration/conftest.py +0 -0
- {labnotes-0.0.86 → labnotes-0.0.87}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: labnotes
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.87
|
|
4
4
|
Summary: Browse experiment designs, notes, and run data from a folder.
|
|
5
5
|
Project-URL: Repository, https://github.com/thekevinscott/labnotes
|
|
6
6
|
Author-email: Kevin Scott <me@thekevinscott.com>
|
|
@@ -69,10 +69,10 @@ labnotes experiments foo runs # foo's runs, oldest first
|
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
Each takes `--format table` or `--format json`, which print rows and exit.
|
|
72
|
-
Without `--format`,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Piped, they print a table.
|
|
72
|
+
Without `--format`, they open a browser in a terminal: the experiment list,
|
|
73
|
+
Enter to open one, Escape to go back. `foo` and `foo runs` open straight on
|
|
74
|
+
`foo`, which shows its runs grouped by invocation; Enter expands or collapses
|
|
75
|
+
one. Piped, they print a table.
|
|
76
76
|
|
|
77
77
|
`labnotes experiments new [NAME]` creates an experiment folder with a starter
|
|
78
78
|
`experiment.toml`, picking a random name if you give none. `new` itself can't
|
|
@@ -45,10 +45,10 @@ labnotes experiments foo runs # foo's runs, oldest first
|
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
Each takes `--format table` or `--format json`, which print rows and exit.
|
|
48
|
-
Without `--format`,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Piped, they print a table.
|
|
48
|
+
Without `--format`, they open a browser in a terminal: the experiment list,
|
|
49
|
+
Enter to open one, Escape to go back. `foo` and `foo runs` open straight on
|
|
50
|
+
`foo`, which shows its runs grouped by invocation; Enter expands or collapses
|
|
51
|
+
one. Piped, they print a table.
|
|
52
52
|
|
|
53
53
|
`labnotes experiments new [NAME]` creates an experiment folder with a starter
|
|
54
54
|
`experiment.toml`, picking a random name if you give none. `new` itself can't
|
|
@@ -35,8 +35,8 @@ labnotes experiments foo runs --format json # foo's runs, oldest first
|
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Always pass `--format json` (to parse) or `--format table`. Without `--format`,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
all three open an interactive browser when they find a terminal, and wait for
|
|
39
|
+
keys that never come.
|
|
40
40
|
|
|
41
41
|
`labnotes experiments new [NAME]` creates an experiment folder with a starter
|
|
42
42
|
`experiment.toml`, picking a random name if you give none. `new` itself can't
|
|
@@ -76,12 +76,7 @@ def experiments(
|
|
|
76
76
|
return
|
|
77
77
|
if action not in (None, "runs"):
|
|
78
78
|
raise click.UsageError(f"Unknown action {action}. Use runs or run.")
|
|
79
|
-
if (
|
|
80
|
-
action is None
|
|
81
|
-
and output_format is None
|
|
82
|
-
and sys.stdout.isatty()
|
|
83
|
-
and sys.stderr.isatty()
|
|
84
|
-
):
|
|
79
|
+
if output_format is None and sys.stdout.isatty() and sys.stderr.isatty():
|
|
85
80
|
try:
|
|
86
81
|
browse_tui(config, name)
|
|
87
82
|
except ValueError as error:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|