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]

Modules

[Index]

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
Dependencies base (>=3 && <5), bytestring, data-default, filepath, resourcet (>0.3.2), transformers [details]
Tested with ghc ==7.2.2, ghc ==7.4.1
License BSD-3-Clause
Copyright Copyright (c) 2012 The leveldb-haskell Authors
Author Kim Altintop <kim.altintop@gmail.com> , Austin Seipp <mad.one@gmail.com> , Michael Lazarev <lazarev.michael@gmail.com> , Will Moss <wbmoss@gmail.com>
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 2012-11-12T08:59:24Z
Distributions LTSHaskell:0.6.5, Stackage:0.6.5
Reverse Dependencies 11 direct, 1 indirect [details]
Downloads 17445 total (33 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.2.0

[back to package description]

This library provides Haskell bindings to LevelDB

History

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.