<commit_before># aws-instance-types

Static data about [AWS Instance Types][aws-instance-types].

The data is maintained in an EDN file.  JSON and YAML are generated
from this file.

If you want dynamic pricing data, there are several libraries
available, such as [amazon-pricing][amazon-pricing].

## Usage

To use the EDN data, add a dependency on
`[com.palletops/aws-instance-types "0.1.0"]`, which will use the
[published jar][data-edn] which is on [clojars][clojars].

To use the JSON data, use the [aws-instance-types][data-npm] package, which is
on [npm][npm].  The data is returned by the package's `instanceTypes`
function.

## License<commit_msg>Improve usage description in README<commit_after># aws-instance-types

Static data about [AWS Instance Types][aws-instance-types].

The data is maintained in an EDN file.  JSON and YAML are generated
from this file.

If you want dynamic pricing data, there are several libraries
available, such as [amazon-pricing][amazon-pricing].

## Usage

To use the EDN data, add a dependency on
`[com.palletops/aws-instance-types "0.1.0"]`, which will use the
[published jar][data-edn] which is on [clojars][clojars].  The data is available
as a resource at `com/palletops/aws=instance-types.edn`, and can be loaded with:

```clj
(-> "com/palletops/aws-instance-types.edn"
    io/resource
    io/file
    .getCanonicalPath
    load-file)
```

To use the JSON data, install the [aws-instance-types][data-npm]
package with [npm][npm], e.g. `npm install aws-instance-types`.  The
data is returned by the package's `instanceTypes` function.

```js
var awsInstanceTypes = require('aws-instance-types');

var output = awsInstanceTypes.instanceTypes();
console.log(output);
```

## License
{'fraction_non_alphanumeric': 0.11522872032426172, 'fraction_numerical': 0.003474232773595831, 'mean_word_length': 4.503184713375796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2030034', 'n_tokens_mistral': 557, 'n_tokens_neox': 545, 'n_words': 199}