Socket
Book a DemoInstallSign in
Socket

sortviz

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sortviz

0.8.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Sortviz

Sortviz is a small terminal program written in Ruby and uses the Curses library It lets you visualize sorting algorithms, you can add more sorting algorithms at will but for the time being it can only load the ones bundled with itself.

However, for pointers about writing plugins, check lib/algorithms and check the plugin system at lib/sortviz/algorithms.rb.

Looks like this

Screenshot

Installation

This gem is not intended for your application's Gemfile, it's a ruby program packaged as a Gem:

install it as:

$ gem install sortviz

Usage

$ sortviz -h

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/l0gicpath/sortviz. Please read Contributor Covenant and kindly attempt to adhere to it.

And don't make me do your job for you. It's OSS, be reasonable.

Why

I blogged about this here: Software, a labor of love

Future

I want this to be a teaching tool, so I'll be expanding this to support writing sorting code using pseudocode instead of Ruby. Should be a fun little language design exercise.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 28 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.