nu-shell
nu-shell-tabular-data
Read, filter, transform, and manipulate CSV/TSV files using Nushell's structured data pipeline.
Quick Start
nu -c 'open data.csv | where rating > 4.0' # Filter CSV
nu -c 'open data.tsv -s "\t" | get column1' # Read TSV with tab separator
open file.csv | save output.json # Convert format
Core Data Types
- Record:
{ name: "John", age: 30 }— key-value pairs, access with$record.field - List:
[1, 2, 3]— ordered collection, process witheach,where,reduce - Table: List of records with the same keys — the primary data structure for pipelines
End-to-End Pipeline Example
More from knoopx/pi
podman
Manages containers, builds images, configures pods and networks with Podman. Use when running containers, creating Containerfiles, grouping services in pods, or managing container resources.
126jujutsu
Manages version control with Jujutsu (jj), including rebasing, conflict resolution, and Git interop. Use when tracking changes, navigating history, squashing/splitting commits, or pushing to Git remotes.
124nix-flakes
Creates reproducible builds, manages flake inputs, defines devShells, and builds packages with flake.nix. Use when initializing Nix projects, locking dependencies, or running nix build/develop commands.
54scraping
Fetches web pages, parses HTML with CSS selectors, calls REST APIs, and scrapes dynamic content. Use when extracting data from websites, querying JSON APIs, or automating browser interactions.
48jscpd
Finds duplicate code blocks and analyzes duplication metrics across files. Use when identifying copy-pasted code, measuring technical debt, or preparing for refactoring.
45nix
Runs packages temporarily, creates isolated shell environments, and evaluates Nix expressions. Use when executing tools without installing, debugging derivations, or working with nixpkgs.
43