BSD Ports

textproc/xan 0.60.0 NetBSD

CSV handling tool

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
44bb5a15c3
License
unlicense
Categories
textproc
Package size
36745.3 KiB, 78844.0 KiB installed

Description

`xan` is a command line tool that can be used to process CSV files directly from the shell.

It has been written in Rust to be as fast as possible, use as little memory as possible, and can easily handle very large CSV files (Gigabytes). It is also able to leverage parallelism (through multithreading) to make some tasks complete as fast as your computer can allow.

It can easily preview, filter, slice, aggregate, sort, join CSV files, and exposes a large collection of composable commands that can be chained together to perform a wide variety of typical tasks.

`xan` also leverages its own expression language so you can perform complex tasks that cannot be done by relying on the simplest commands. This minimalistic language has been tailored for CSV data and is faster than evaluating typical dynamically-typed languages such as Python, Lua, JavaScript etc.

In the other systems

SystemPortVersion
NetBSDtextproc/xan0.60.0
FreeBSDtextproc/xan0.61.0_1
OpenBSDtextproc/xan0.61.0

Install

Binary package:

pkgin install xan

From pkgsrc:

cd /usr/pkgsrc/textproc/xan && make install clean

Dependencies

No port depends on this one.

Commit history 2

DateCommitCreditsLog message
44bb5a15c3 pin textproc/xan: update to 0.61.0
Features Support for .mtx (Matrix Market) files. Adding geometric_mean & harmonic_mean aggregation functions. Fixes Fixing xan rename with non-comma delimiters. Fixing xan from -f=parquet not converting timestamp columns. Fixing open-ended moonblade slicing. Fixing xan parallel (cat|map) not working with -R/--run. Fixing xan parallel -R/--run not spawning checker thread. Fixing xan cat rows (-I|-U) -S/--source-column. Performance Improving performance of xan freq & xan p freq. Quality of Life Better moonblade error messages when values are not yet materialized. Better xan count -H/--human-readable.
0be19e460a pin textproc/xan: update to 0.60.0
Breaking Renaming xan from --path to --root. Renaming xan separate -T/--txt to -L/--lines. Features Adding xan count -c/--check-alignment & -H/--human-readable. Adding xan sort -e -z/--compress. Adding xan sample -g -S/--sorted. Adding xan from -f=(json|ndjson) --model. Adding xan cat rows -I/--intersection & -U/--union. Adding xan top -g -S/--sorted. Adding the sort, dedup, flatten & flat_map moonblade function. Adding support for list & map columns when using xan from -f=parquet. Fixes Fixing text wrapping across tool, especially xan flatten -w & xan flatten -F. Fixing xan select -e & xan map plural clause flattening given list. Fixing xan from -f=parquet not emitting correct column names for list & map columns. Performance …