A suite of tools for command line analytics
Project description
Veld
Veld is a suite of command line applications for simple statistics on a data stream. It is a continuation of cli stats. 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
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
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
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
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
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 :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file veld-0.1.2.tar.gz
.
File metadata
- Download URL: veld-0.1.2.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 661e9578cd38fbd7207ac182a34b99a13415092c8995c2e86c8d638102169c3a |
|
MD5 | e7ae91a5b843010935f51ed8ca6fdb20 |
|
BLAKE2b-256 | 915c24cddb04047c3b54468e925e9fe97612cf1f26ba4a5f7a14e4bf74c733be |
Provenance
File details
Details for the file veld-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: veld-0.1.2-py3-none-any.whl
- Upload date:
- Size: 58.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eed9c9198c97729127fe56707a4ab20657b377e9c3bff2012853b83d574cfc6 |
|
MD5 | 93083d6de68ba10f799de829ec4b050d |
|
BLAKE2b-256 | c07655fc9b10d4c8f6bd2a770a1877288041b13432181e9a5058439e56698c98 |