leveldb-haskell: Haskell bindings to LevelDB

[ bsd3, database, ffi, library ] [ Propose Tags ] [ Report a vulnerability ]

From http://leveldb.googlecode.com:

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

This library provides a Haskell language binding to LeveldDB. It is in very early stage and has seen very limited testing.

Note: as of v1.3, LevelDB can be built as a shared library. Thus, as of v0.1.0 of this library, LevelDB is no longer bundled and must be installed on the target system (version 1.7 or greater is required).


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
examples

Build examples

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.1.1, 0.4.2, 0.5, 0.5.1, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5
Change log CHANGELOG
Dependencies async, base (>=3 && <5), bytestring, data-default, exceptions (>=0.6 && <0.7), filepath, leveldb-haskell, resourcet (>0.3.2), transformers [details]
Tested with ghc ==7.4.2, ghc ==7.6.4, ghc ==7.8.3
License BSD-3-Clause
Copyright Copyright (c) 2012-2014 The leveldb-haskell Authors
Author Kim Altintop et.al. (see AUTHORS file)
Maintainer kim.altintop@gmail.com
Category Database, FFI
Home page http://github.com/kim/leveldb-haskell
Bug tracker http://github.com/kim/leveldb-haskell/issues
Source repo head: git clone git://github.com/kim/leveldb-haskell.git
Uploaded by KimAltintop at 2014-09-24T20:40:09Z
Distributions LTSHaskell:0.6.5, Stackage:0.6.5
Reverse Dependencies 11 direct, 1 indirect [details]
Executables leveldb-example-iterforkio, leveldb-example-filterpolicy, leveldb-example-features, leveldb-example-comparator
Downloads 17446 total (34 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for leveldb-haskell-0.4.1

[back to package description]

This library provides Haskell bindings to LevelDB

Build Status

History

Version 0.4.0:

  • New streaming interface (experimental)

Version 0.3.1:

  • Deprecate mapIter, iterItems, iterKeys, iterValues

Version 0.3.0:

  • ResourceT is no longer compulsory

Version 0.2.0:

  • requires LevelDB v1.7
  • support for filter policy (LevelDB v1.5), either custom or using the built-in bloom filter implementation
  • write batch values no longer require a memcpy to be early-finalizer-safe (introduced in 0.1.1)

Version 0.1.0:

  • memory (foreign pointers) is managed through ResourceT. Note that this requires to lift monadic actions inside the MonadResource monad, see the examples.
  • links against shared library (LevelDB v1.3 or higher)
  • LevelDB 1.3 API fully supported (including custom comparators, excluding custom environments)

Version 0.0.x:

  • experimental releases

Installation

Prerequisites:

Note: as of version 1.3, LevelDB can be built as a shared library. Thus, as of version 0.1.0 of this library, LevelDB is no longer bundled and must be installed on the target system.

To install the latest version from hackage:

$ cabal install leveldb-haskell

To install from checked-out source:

$ cabal install

Notes

This library is in very early stage and has seen very limited testing. Comments and contributions are welcome.

Bugs and Contributing

Please report issues via http://github.com/kim/leveldb-haskell/issues.<br /> Patches are best submitted as pull requests, or via email (kim.altintop@gmail.com).

License

BSD 3, see LICENSE file.