Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: glentner/plot-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: glentner/plot-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 14 files changed
  • 3 contributors

Commits on Mar 9, 2022

  1. Configuration menu
    Copy the full SHA
    c461a0b View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Merge branch 'release/0.3.0'

    glentner committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    952681c View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Merge branch 'release/0.3.1'

    glentner committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    07b40d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2025

  1. Merge branch 'develop'

    glentner committed Feb 26, 2025
    Configuration menu
    Copy the full SHA
    90e682b View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. Convert from Poetry to uv/hatchling (PEP 621)

    - Replace [tool.poetry] with [project] section
    - Use hatchling as build backend
    - Add [dependency-groups] for dev dependencies
    - Add duckdb>=1.0.0 to dependencies
    - Generate uv.lock (remove poetry.lock)
    
    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    edcaff9 View commit details
    Browse the repository at this point in the history
  2. Restructure modules - DuckDB backend and tplot-only plotting

    - Add query.py with QueryBuilder class for DuckDB data loading
    - Add plot.py with Figure wrapper and TimeSeriesFigure stub
    - Remove provider.py (drop provider abstraction)
    - Remove data.py (replaced by DuckDB-based query.py)
    - Rewrite __init__.py CLI to use new modules
    - Add new CLI options: --where, --after, --before, --bucket, --json, --csv
    - Add --format option for explicit input format
    - Mark -F/--resample as deprecated (use -B/--bucket)
    - Add --first, --last aggregation methods
    
    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    f4d119e View commit details
    Browse the repository at this point in the history
  3. Full DuckDB integration with time-series features

    - Add bucket interval parsing (15min, 1h, 1d shorthand)
    - Implement time_bucket() for time-series aggregation
    - Implement --where SQL filtering
    - Implement --after/--before datetime filters
    - Implement -S/--scale datetime offset conversion
    - Fix datetime precision handling (us/ns/ms)
    - Add column caching in QueryBuilder
    - Improve stdin format handling (CSV, JSON)
    - Quote column names in SQL for safety
    
    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    18b60a8 View commit details
    Browse the repository at this point in the history
  4. Implement smart time-series axis labeling

    - Port TimeGranularity enum and detect_time_granularity()
    - Port generate_time_ticks() with adaptive tick generation
    - Add TimeTickResult dataclass for tick information
    - Implement _CustomTplotFigure with custom x-axis drawing
    - Add TimeSeriesFigure wrapper with secondary label support
    - Integrate TimeSeriesFigure in PlotApp for -T flag
    - Use UTC consistently for timezone handling
    - Add helper functions _epoch_to_datetime, _datetime_to_epoch
    
    Time-series plots now show formatted HH:MM labels with date context.
    
    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    fede719 View commit details
    Browse the repository at this point in the history
  5. Phase 5 - Output modes, tests, and README update

    - Add --json and --csv output modes for data export
    - Add pyarrow dependency for Parquet support
    - Add comprehensive tests for QueryBuilder (test_query.py)
    - Add CLI integration tests (test_cli.py)
    - Update README with full usage documentation
    - Document all new CLI options: --format, --where, --after, --before,
      -B/--bucket, aggregation methods, output modes
    - Change install instruction to use 'uv tool install'
    
    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    f296eea View commit details
    Browse the repository at this point in the history
  6. Add --by option for grouping data into multiple series

    - Add --by COLUMN CLI option to group data by a categorical column
    - Implement PIVOT query in QueryBuilder to transform long-format to wide-format
    - Handle NaN values in line plots (tplot can't render NaN coordinates)
    - Works with and without time bucketing (-B/--bucket)
    
    Example: plot data.csv -x timestamp -y value --by category -T -B 1h --mean
    
    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    b19a4dc View commit details
    Browse the repository at this point in the history
  7. Support --count without y-column to count rows per bucket

    When --count is used with -B/--bucket but no -y column specified,
    uses COUNT(*) to count occurrences per time bucket. This eliminates
    the need for awk injection of ',1' when plotting event frequency.
    
    Example usage:
      # Count log events per hour
      grep 'opened session' logs | plot -x timestamp -T -B 1h --count
    
      # Count by category
      plot logs.csv -x timestamp -T -B 1h --count --by user
    
    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    9d89c81 View commit details
    Browse the repository at this point in the history
  8. Bump version to 0.4.0

    Co-Authored-By: Warp <agent@warp.dev>
    glentner and warp-agent committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    09e3319 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2026

  1. Add scatter() method to Figure class

    Wraps tplot.Figure.scatter with consistent interface.
    
    Co-Authored-By: Oz <oz-agent@warp.dev>
    glentner and oz-agent committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    14a83e3 View commit details
    Browse the repository at this point in the history
  2. wire scatter and marker into CLI

    Co-Authored-By: Oz <oz-agent@warp.dev>
    glentner and oz-agent committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    3c2ea95 View commit details
    Browse the repository at this point in the history
  3. fix pandas date_format deprecation warning

    Co-Authored-By: Oz <oz-agent@warp.dev>
    glentner and oz-agent committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    22923e8 View commit details
    Browse the repository at this point in the history
  4. update README for scatter, marker, and install command

    Co-Authored-By: Oz <oz-agent@warp.dev>
    glentner and oz-agent committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    0cd419c View commit details
    Browse the repository at this point in the history
  5. add scatter and plot-type test coverage

    Co-Authored-By: Oz <oz-agent@warp.dev>
    glentner and oz-agent committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    a83f4d2 View commit details
    Browse the repository at this point in the history
  6. bump version to 0.5.0

    Co-Authored-By: Oz <oz-agent@warp.dev>
    glentner and oz-agent committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    a11130c View commit details
    Browse the repository at this point in the history
Loading