[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827555: ITP: circle -- Show byte statistics as an ascii circle graph



Package: wnpp
Severity: wishlist
Owner: "Roberto S. Galende" <roberto.s.galende@gmail.com>

  Package name    : circle
  Version         : 2.2-1
  Upstream Author : "Roberto S. Galende" <roberto.s.galende@gmail.com>
  URL             : http://wp.me/p2FmmK-96
  License         : GPL 3
  Programming Lang: C
  Description     : Show byte statistics as an ascii circle graph

circle is a program that shows statistics about bytes contained
in a file as an ascci circle graph of deviations from mean in sigma increments.

By default, byte 0 is at the center of the circle and next bytes until 256
are situated counterclockwise around the center.

circle expects a colour terminal, though other options are available.

The ascii art produced uses this char array to represent increment
values of sigma from the statistic's mean:
   . , - ~ + * o O # @

This ranges from zero (.) on the left, to 9*sigma (@) on the right.
If value is zero or over the mean the char is printed green.
If it is below the mean, it's printed red. A (blue) '=' char
represents a byte value that doesn't appear in the file.

The program can be useful for statistically analyze the content of
files in a glimpse: text files are shown as a green centered crown,
compressed and encrypted files should be shown as equally distributed
variations with a very low CV (sigma/mean), and other types of files
can be classified between these two categories depending on their
ascii vs binary content, which can be useful to quickly determine how
information is stored inside them (redis db, mmedia files, etc).
Developers and data analysts could benefit from 'circle'.


Reply to: