<commit_before>Simple Bolt
============

[![Build Status](https://travis-ci.org/xyproto/simplebolt.svg?branch=master)](https://travis-ci.org/xyproto/simplebolt)
[![GoDoc](https://godoc.org/github.com/xyproto/simplebolt?status.svg)](http://godoc.org/github.com/xyproto/simplebolt)

Simple way to use the [Bolt](github.com/boltdb/bolt) database. Similar design to [simpleredis](https://github.com/xyproto/simpleredis).


Online API Documentation
------------------------

[godoc.org](http://godoc.org/github.com/xyproto/simplebolt)


Features and limitations
------------------------

* Supports simple use of lists, hashmaps, sets and key/values.
* Deals mainly with strings.
* Requires Go 1.3 or later.
* The latest version of `gccgo` (7.2.0) is able to compile `simplebolt`, but it does not appear to be able to compile it correctly. There are runtime errors when running `go test`, that work fine when compiling `simplebolt` with the regular Go compiler.

Example usage
-------------

~~~go
package main

import (
	"log"<commit_msg>Fix broken link to the Bolt DB project page<commit_after># Simple Bolt [![Build Status](https://travis-ci.org/xyproto/simplebolt.svg?branch=master)](https://travis-ci.org/xyproto/simplebolt) [![GoDoc](https://godoc.org/github.com/xyproto/simplebolt?status.svg)](http://godoc.org/github.com/xyproto/simplebolt)

Simple way to use the [Bolt](https://github.com/boltdb/bolt) database. Similar design to [simpleredis](https://github.com/xyproto/simpleredis).


Online API Documentation
------------------------

[godoc.org](http://godoc.org/github.com/xyproto/simplebolt)


Features and limitations
------------------------

* Supports simple use of lists, hashmaps, sets and key/values.
* Deals mainly with strings.
* Requires Go 1.3 or later.
* The latest version of `gccgo` (7.2.0) is able to compile `simplebolt`, but it does not appear to be able to compile it correctly. There are runtime errors when running `go test`, that work fine when compiling `simplebolt` with the regular Go compiler.

Example usage
-------------

~~~go
package main

import (
	"log"
{'fraction_non_alphanumeric': 0.18147086914995225, 'fraction_numerical': 0.004775549188156638, 'mean_word_length': 3.534632034632035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, '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': '1905717', 'n_tokens_mistral': 660, 'n_tokens_neox': 627, 'n_words': 188}