<commit_before># Irctc

Ever spent time dumbly calculating when IRCTC.com will open ticket counter for
Diwali or some important festivals and holidays?

I did.

That's why I built this handy utility. Now don't miss any more money on
expensive "Redbuses"!

## Installation

    $ gem install irctc

## Usage

It's a command-line awesomness.

To find when the counter opens for a future date, use the `-f` switch:

    $ irctc -f 'nov 23, 2012'
    
    Don't forget to book in '2' days!

    For the given date, tickets are available from this date:
    (Thu) Jul 26, 2012

    $ irctc -f 'nov 13, 2012'

    Ticket counter already opened '8' days ago.

    For the given date, tickets are available from this date:
    (Mon) Jul 16, 2012


To find for what future date, the counter opens for the given date, use the
`-p` switch:

    $ irctc -p 'jul 24, 2012'

    On the given date, tickets are available for this date:
    (Wed) Nov 21, 2012

Note: As of now, the irctc ticket counter opens **120 days** before the day you
need to travel.

## Contributing

More awesome functionality can be added! For example, a gmail integration would
be great. It could send mail for the interested people for their preferred
days. I'm working on it already. Feel great to provide a helping hand.

1. Fork it<commit_msg>minor<commit_after># Irctc

Ever spent time dumbly calculating when IRCTC.com will open ticket counter for
Diwali or some important festivals and holidays?

I did.

That's why I built this handy utility. Now don't miss any more money on
expensive "Redbuses"!

## Installation

    $ gem install irctc

## Usage

It's a command-line awesomness.

To find when the counter opens for a future date, use the `-f` switch:

    $ irctc -f 'nov 23, 2012'
    
    Don't forget to book in '2' days!

    For the given date, tickets are available from this date:
    (Thu) Jul 26, 2012

    $ irctc -f 'nov 13, 2012'

    Ticket counter already opened '8' days ago.

    For the given date, tickets are available from this date:
    (Mon) Jul 16, 2012


To find for what future date the counter opens for the given date, use the
`-p` switch:

    $ irctc -p 'jul 24, 2012'

    On the given date, tickets are available for this date:
    (Wed) Nov 21, 2012

Note: As of now, the irctc ticket counter opens **120 days** before the day you
need to travel.

## Contributing

More awesome functionality can be added! For example, a gmail integration would
be great. It could send mail for the interested people for their preferred
days. I'm working on it already. Feel great to provide a helping hand.

1. Fork it
{'fraction_non_alphanumeric': 0.06559263521288838, 'fraction_numerical': 0.03222094361334868, 'mean_word_length': 3.240650406504065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7669118', 'n_tokens_mistral': 881, 'n_tokens_neox': 761, 'n_words': 419}