torch.rb
Deep learning for Ruby, powered by LibTorch (by ankane)
TTY
Toolkit for developing sleek command line apps. (by piotrmurach)
torch.rb | TTY | |
---|---|---|
5 | 8 | |
626 | 2,478 | |
- | - | |
7.5 | 0.0 | |
9 days ago | over 1 year ago | |
Ruby | Ruby | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
torch.rb
Posts with mentions or reviews of torch.rb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-18.
- development around data and AI libraries in the Ruby world
- From Node to Ruby on Rails
- Torch.rb: Deep Learning for Ruby
-
Best of (Ruby) Gems Series - What's Next? What's Hot?
torch.rb
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
Torch.rb is deep learning for Ruby. 242 stars by now
TTY
Posts with mentions or reviews of TTY.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-27.
-
CLI in ruby using OptionParser or GetoptLong
Few days ago I've created a script for the project I'm working on. It was an ugly script with hardcoded values, but it did ther job - create tokens on request. But I've decided to improve it a bit, because sometimes I needed to change params and I've added ability to submit params from the command line. Of course, there are a lot of awesome libraries such as dry-cli, TTY Toolkit or cli-kit from Shopify, but in most cases you can use standard ruby libraries like OptionParser or GetoptLong. Lets see how you can create a CLI utils with those libraries just in few minutes.
-
Ncurses in Ruby style?
Not curses but something Ruby style: https://ttytoolkit.org/. No C dependencies, I think...
-
I'd like to read manually input data and prompt for the next bit of data at the terminal without getting newlines.
TTY-ruby is an extensive CLI toolkit that might help you do what you want. Have a look. I’ve used some of them successfully in the past.
-
What library can I use to create a TUI
TUI? Terminal UI? If so, check out https://ttytoolkit.org/ and https://github.com/Shopify/cli-ui
-
Looking for a tutorial or a resource to write good looking CLI applications
Saw just now. Cobra is huge and offers a lot. Btw, I've used this https://github.com/piotrmurach/tty for a Ruby project a while ago and was looking for something similar. I guess Cobra it is. Thanks again!
-
How to get better at Ruby scripting?
If you're interested in taking things further, maybe have a look at Build Awesome Command-Line Applications in Ruby 2. If you're not ready to buy a book, check out the Ruby TTY Toolkit page.
-
Building Rich terminal dashboards
The tty suite of tools are a good shout, although I've never used them in anger. https://ttytoolkit.org
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
TTY::Box provides box drawing component for TTY toolkit. 142 stars by now
What are some alternatives?
When comparing torch.rb and TTY you can also consider the following projects:
Grape - An opinionated framework for creating REST-like APIs in Ruby.
Thor - Thor is a toolkit for building powerful command-line interfaces.
rainbow - Ruby gem for colorizing printed text on ANSI terminals
Rake - A make-like build utility for Ruby.
Polyphony - Fine-grained concurrency for Ruby
Commander - The complete solution for Ruby command-line executables
rotp - Ruby One Time Password library
Cocaine
ruby-vips - Ruby extension for the libvips image processing library.
GLI - Make awesome command-line applications the easy way
EventMachine - EventMachine: fast, simple event-processing library for Ruby programs
Slop - Simple Lightweight Option Parsing - ✨ new contributors welcome ✨