Project

bizsh

0.0
No commit activity in last 3 years
No release in over 3 years
An interactive ruby shell optimized business calculations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
~> 3.0

Runtime

>= 0
>= 1.7.2
>= 1.1.8
 Project Readme

Business Shell

bizsh is an interactive ruby shell optimized business calculations.

Usage

Install the shell via rubygems:

$ gem install bizsh

Now fire up the shell!

$ bizsh

You're greated with an interactive Ruby shell that's optimized for business calculations.

bizsh> growth = '$ 100,000'.to_num.growth(150_000)
=> 0.5
bizsh> growth.to_s(:percent)
=> "50.00%"
bizsh> shares = 100
=> 100
bizsh> value = shares * "MSFT".quote.ask
=> 4759.0

Why?

The calculator apps that ship on Mac and Windows are great for really basic calculations, but are lacking when a few variables need to be set to complete a calculation. Spreadsheets are great for building models or very complex calculations, but too heavy for running simpler calculations. There are desktop and online apps that do calculations, but are clunky or have ads all over the place.

I wrote bizsh after I found myself running a lot of common calculations in irb for my business, Poll Everywhere. I plan on adding more functionality to this as I continue using this shell.

Contributing

Contributions for new functions, documentation, and tests are welcome!

  1. Fork it ( https://github.com/bradgessler/bizsh/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request