A generator of random values in your command line
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.rst
__init__.py
grv.py

README.rst

DESCRIPTION

grv.py is a script for generating random values with the command line.

USAGE

Let's suppose we aliased grv.py to grv.

Generate one number between 0 and 1:

grv

Generate one number between min and max:

grv <min> <max>

Generate n numbers between min and max:

grv <min> <max> <n>

INSTALLATION

Copy the file grv.py into your PATH or create an alias:

alias grv="python ~/path/to/grv.py"

REQUIREMENTS

None. Only the Python standard library is used.

TODO

  • Add support for different distributions
  • Use a library like argparse