A powerful terminal-based CSV file viewer with an interactive interface built with Textual.
- Interactive Column Browser: Navigate through your CSV columns in a tree view
- Data Analysis: View value distributions, counts, and percentages for each column
- Filtering: Apply filters to narrow down your data exploration
- Sorting: Sort data by value, count, or percentage
- Responsive UI: Clean interface that adapts to your terminal size
Install the usual way:
pip install csview
# Basic usage
csview path/to/your/file.csv
# Show debug log in the application
csview path/to/your/file.csv --show-log
- Navigate Columns: Use the arrow keys to move through the column list.
- View Column Details: Select a column to see its value distribution.
- Filter Data:
- Select a value in the details table.
- Press Enter or click "Apply Filter" to filter the dataset.
- Clear Filters: Click the "Clear Filters" button to reset.
- Sort Data: Click on column headers in the details table to sort.
This project is licensed under the MIT license. Contributions are welcome! Please feel free to submit a PR.