<commit_before># Stackage-Query

Small tool that queries (returns url of) package versions on Stackage.

This is just a simple hack that looks at Stackage's HTTP redirects
to determine the package version URL.

Example usage:

```
$ stackage list lts pandoc
https://www.stackage.org/lts-7.14/package/pandoc-1.17.1
$ stackage config lts
```<commit_msg>add travis badge to README<commit_after>[![Build Status](https://travis-ci.org/juhp/stackage-query.png)](https://travis-ci.org/juhp/stackage-query)

# Stackage-Query

Small tool that queries (returns url of) package versions on Stackage.

This is just a simple hack that looks at Stackage's HTTP redirects
to determine the package version URL.

Example usage:

```
$ stackage list lts pandoc
https://www.stackage.org/lts-7.14/package/pandoc-1.17.1
$ stackage config lts
```
{'fraction_non_alphanumeric': 0.10922330097087378, 'fraction_numerical': 0.01699029126213592, 'mean_word_length': 4.5369127516778525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3120149', 'n_tokens_mistral': 282, 'n_tokens_neox': 270, 'n_words': 87}