<commit_before>---
layout: post
title:  "Introducing RZman: Ruby Zmanim CLI Gem"
date:   2017-06-16 04:12:39 +0000
---


[[Get RZman]](https://github.com/benhayehudi/rzman)

It's Friday afternoon and you are rushing to finish the last of your chores before שבת (*Shabbat*, the Jewish Sabbath) begins. In the midst of the rushing you stop and wonder how much time do you *really* have before candle lighting? It's Tuesday and the workday is a grind. Is it too early to pray מנחה, the afternoon service? Is it too late?

*If only there was an easy way to check both of these things from your command line in Ruby. *

**Now there is with [RZman](https://github.com/benhayehudi/rzman/), the Ruby Zmanim gem!**

[RZman](https://github.com/benhayehudi/rzman) is a CLI (command line interface) Ruby application that will provide you with the זמנים, the daily prayer times and Shabbat candle lighting times customized for you based on your zipcode. Let's take a walk through of the program.

When you first run [RZman](https://github.com/benhayehudi/rzman) you will encounter the main menu:
<commit_msg>Updating my blog post.<commit_after>---
layout: post
title:  "Introducing RZman: Ruby Zmanim CLI Gem"
date:   2017-06-16 00:12:39 -0400
---


It's Friday afternoon and you are rushing to finish the last of your chores before שבת (*Shabbat*, the Jewish Sabbath) begins. In the midst of the rushing you stop and wonder how much time do you *really* have before candle lighting? It's Tuesday and the workday is a grind. Is it too early to pray מנחה, the afternoon service? Is it too late?

*If only there was an easy way to check both of these things from your command line in Ruby. *

**Now there is with [RZman](https://github.com/benhayehudi/rzman/), the Ruby Zmanim gem!**

[RZman](https://github.com/benhayehudi/rzman) is a CLI (command line interface) Ruby application that will provide you with the זמנים, the daily prayer times and Shabbat candle lighting times customized for you based on your zipcode. Let's take a walk through of the program. Follow along in the [YouTube video](https://www.youtube.com/watch?v=6UT_QlbfKqU):

<iframe width="853" height="480" src="https://www.youtube.com/embed/6UT_QlbfKqU" frameborder="0" allowfullscreen></iframe>

When you first run [RZman](https://github.com/benhayehudi/rzman) you will encounter the main menu:

{'fraction_non_alphanumeric': 0.09098639455782313, 'fraction_numerical': 0.01913265306122449, 'mean_word_length': 4.459396751740139, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 9, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1693112', 'n_tokens_mistral': 773, 'n_tokens_neox': 710, 'n_words': 329}