<commit_before># yada

yada is a web library for Clojure, designed to support the creation of production services via HTTP.

It has the following features:

* Standards-based, comprehensive HTTP coverage (content negotiation, conditional requests, etc.)
* Parameter validation and coercion, automatic Swagger support
* Rich extensibility (methods, mime-types, security and more)
* Asynchronous, efficient interceptor-chain design built on [manifold](https://github.com/ztellman/manifold)
* Excellent performance, suitable for heavy production workloads

yada is a sibling library to [bidi](http://github.com/juxt/bidi) - whereas bidi is based on _routes as data_, yada is based on _resources as data_.

The user-manual for the latest (1.x) release is available at
[https://juxt.pro/yada](https://juxt.pro/yada) and offline (see below).

The user-manual is also available as an e-book or PDF, at
[Leanpub](https://leanpub.com/yada).

## Installation

Add the following dependency to your `project.clj` or `build.boot` file:

```
[yada "1.2.15"]
```

[![Build Status](https://travis-ci.org/juxt/yada.svg?branch=master)](https://travis-ci.org/juxt/yada.svg?branch=master)

## Create a yada handler

Typically, yada handlers are created from a configuation expressed in data.

```clojure
(require '[yada.yada :as yada])

(yada/handler
  {:methods
    {:get<commit_msg>Explain about latest alpha release in README<commit_after># yada

yada is a web library for Clojure, designed to support the creation of production services via HTTP.

It has the following features:

* Standards-based, comprehensive HTTP coverage (content negotiation, conditional requests, etc.)
* Parameter validation and coercion, automatic Swagger support
* Rich extensibility (methods, mime-types, security and more)
* Asynchronous, efficient interceptor-chain design built on [manifold](https://github.com/ztellman/manifold)
* Excellent performance, suitable for heavy production workloads

yada is a sibling library to [bidi](http://github.com/juxt/bidi) - whereas bidi is based on _routes as data_, yada is based on _resources as data_.

The user-manual for the latest (1.x) release is available at
[https://juxt.pro/yada](https://juxt.pro/yada) and offline (see below).

The user-manual is also available as an e-book or PDF, at
[Leanpub](https://leanpub.com/yada).

## Installation

For the latest stable release, add the following dependency to your `project.clj` or `build.boot` file:

```
[yada "1.2.15"]
```

For the latest alpha release, add the following dependency to your `project.clj` or `build.boot` file:

```
[yada "1.3.0-alpha7"]
```


[![Build Status](https://travis-ci.org/juxt/yada.svg?branch=master)](https://travis-ci.org/juxt/yada.svg?branch=master)

## Create a yada handler

Typically, yada handlers are created from a configuation expressed in data.

```clojure
(require '[yada.yada :as yada])

(yada/handler
  {:methods
    {:get
{'fraction_non_alphanumeric': 0.11346548188653452, 'fraction_numerical': 0.004784688995215311, 'mean_word_length': 4.796039603960396, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '3763416', 'n_tokens_mistral': 931, 'n_tokens_neox': 893, 'n_words': 323}