<commit_before>scala-etcd
==========

A simple scala client library for [etcd]

Uses spray http client to implement everything in a none blocking manner. It implements most of v2 api and returns objects to
represent the json.


```Scala

  val system = ActorSystem("etcd")
  val client = new EtcdClient("http://localhost:4001")(system)

  client.setKey("configKey", "configValue")

  val response: Future[EtcdResponse] = client.getKey("configKey")

  response onComplete {
    case Success(response: EtcdResponse) =>
      System.out.println(response)
      system.shutdown()
    case Failure(error) =>
      System.out.println(error)
      system.shutdown()
  }
```

This library is avilable in maven central and is cross compiled for 2.10 and 2.11

```XML

<dependency>
	<groupId>net.nikore.etcd</groupId>
	<artifactId>scala-etcd_2.11</artifactId>
	<version>0.7</version>
</dependency>
```

or

```XML


<dependency>
	<groupId>net.nikore.etcd</groupId>
	<artifactId>scala-etcd_2.10</artifactId>
	<version>0.7</version>
</dependency>
```
<commit_msg>Change version in README from 0.7 to 0.8<commit_after>scala-etcd
==========

A simple scala client library for [etcd]

Uses spray http client to implement everything in a none blocking manner. It implements most of v2 api and returns objects to
represent the json.


```Scala

  val system = ActorSystem("etcd")
  val client = new EtcdClient("http://localhost:4001")(system)

  client.setKey("configKey", "configValue")

  val response: Future[EtcdResponse] = client.getKey("configKey")

  response onComplete {
    case Success(response: EtcdResponse) =>
      System.out.println(response)
      system.shutdown()
    case Failure(error) =>
      System.out.println(error)
      system.shutdown()
  }
```

This library is avilable in maven central and is cross compiled for 2.10 and 2.11

```XML

<dependency>
	<groupId>net.nikore.etcd</groupId>
	<artifactId>scala-etcd_2.11</artifactId>
	<version>0.8</version>
</dependency>
```

or

```XML


<dependency>
	<groupId>net.nikore.etcd</groupId>
	<artifactId>scala-etcd_2.10</artifactId>
	<version>0.8</version>
</dependency>
```

{'fraction_non_alphanumeric': 0.13809300140911226, 'fraction_numerical': 0.02160638797557539, 'mean_word_length': 4.325, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 39, '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': '6656620', 'n_tokens_mistral': 773, 'n_tokens_neox': 684, 'n_words': 179}