Veld
Veld is a command line processor for multi-dimensional numeric data streams. It can compute basic univariate statistics such as the mean or the variance of a stream of numbers, process the stream by computing logarithms or rounding, or create visualizations of the data stream, among other functionality. Similar projects in this space include st and datamash. What sets Veld apart from these projects is that it also has support for plotting.
Installation
Veld is available on PyPI:
$ pip install veld
Usage
Currently Veld includes the following commands:
usage: veld [-h] [-V] [--debug] command ...
Below are the available Veld commands. Use veld help <command>
to learn more about each command.
univariate statistics:
sum Sum the values in the data stream
mean Find the mean (average) of the values in the data stream
mode Find the mode of the values in the data stream
median Find the median of the values in the data stream
stdev Compute the standard deviation of the input stream
variance Compute the variance of the input stream
quantile Find the given quantile for the data in the stream
trimmed-mean Compute the trimmed mean for data in the stream
summary Print a summary with commonly-used statistics
extreme values and counts:
min Find the minimum of the values in the data stream
max Find the maximum of the values in the data stream
count Count the number of values in the data stream
frequency Print a frequency table of unique values in the stream
filtering values:
lt Keep only inputs that are less than a given threshold
le Keep only inputs that are less than or equal to a given threshold
gt Keep only inputs that are greater than a given threshold
ge Keep only inputs that are greater than or equal to a given threshold
eq Keep only inputs that equal a given value
ne Keep only inputs that are not equal to a given value
math operators:
log Compute the logarithm of the input stream
round Round the floating point values in the input stream
cumsum Compute the cumulative sum of the input stream
product Compute the product of values in the data stream
add Add number to values in the stream
subtract Subtract number from values in the stream
multiply Multiply values in the stream by number
divide Divide values in the stream by a number
modulo Compute the remainder of values in the stream
plotting:
lines Show line plots of the input data
scatter Show a scatterplot of two-dimensional data
histogram Plot a histogram of the values in the data stream
barcount Create a histogram with bars for all unique values in the stream
other:
paired-ttest Perform a paired t-test on two-dimensional data
pass Pass an input stream through Veld
For more information about Veld, visit:
https://github.com/GjjvdBurg/Veld
For example:
$ seq 10 | veld sum
55
$ seq 10 | veld gt 5
6
7
8
9
10
$ seq 10 | veld mean
5.5
$ seq 100 | veld gt 50 | veld cumsum | veld log | veld lines
<plot opens>
Documentation on all the commands can be found using:
$ man veld <command>
or
$ veld help <command>
Notes
License: See the LICENSE file.
Author: Gertjan van den Burg.
Why "veld"? Veld is built on top of wilderness, and it's short and didn't conflict with any tab completions I have :)
Veld is a continuation of cli stats.
Metadata
Release files for veld 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| veld-0.1.5.tar.gz | 35.3 kB | Without provenance | Details for veld-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| veld-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for veld-0.1.5-py3-none-any.whl |
Total release size: 130.5 kB
Release files / veld-0.1.5.tar.gz
| Download URL | veld-0.1.5.tar.gz |
|---|---|
| Size | 35.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dafc152619b5cb5e9318194f1e4ed65667d88e8b9a91fecdd6e7dd0099518c37
|
|
BLAKE2b-256 checksum How to use checksums |
ef650c3d7f871ae3b6066e3c3126e0f8c3eaad9bf832c21686f11a2250b8fd4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / veld-0.1.5-py3-none-any.whl
| Download URL | veld-0.1.5-py3-none-any.whl |
|---|---|
| Size | 95.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5ab51f0cce87571201115d2284a9e56c86dfc18ee523915fb7ea4f44536a308
|
|
BLAKE2b-256 checksum How to use checksums |
c039a459f2d4e17d6f9f9f0c3ce1374aaa28d3c5c02bc56c41938079d8bb966f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for veld 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.