Code Monkey home page Code Monkey logo

python-cdb's Introduction

python-cdb 0.35
Alan Grow <[email protected]>
15 Feb 2013

INTRO
=====
The python-cdb extension module is an adaptation of D. J. Bernstein's
constant database package (see http://cr.yp.to/cdb.html).

cdb files are mappings of keys to values, designed for wickedly
fast lookups and atomic updates.  This module mimics the normal
cdb utilities, cdb(get|dump|make), via convenient, high-level Python
objects.


COPYRIGHT
=========
python-cdb is free software, as is cdb itself.

The extension module is licensed under the GNU GPL version 2 or later,
and is copyright 2001, 2002 Michael J. Pomraning.  Ancillary files from
Felix von Leitner's libowfat are also licensed under the GPL.  Finally,
modifications to D. J. Bernstein's public domain cdb implementation are
similarly released to the public domain.


INSTALL
=======

  $ tar zxf python-cdb-$VERSION.tgz
  $ cd python-cdb-$VERSION
  $ python setup.py build
  $ python setup.py install
  # python setup.py bdist --format=rpm, if you prefer

Now break it and tell me about it (or use it smoothly and tell me
about that, too).

DOCS
====
Consult the docstrings for module, class, and function documentation.

  $ python -c 'import cdb; print cdb.__doc__'
  $ python -c 'import cdb; print cdb.cdbmake("f.cdb","f.tmp").__doc__'
  $ python -c 'import cdb; print cdb.init("some.cdb").__doc__'

BUGS
====
Bug reports to Alan Grow <[email protected]>.


TODO
====

  - more dict-like API

  - test cases

  - take advantage of contemporary Python API 

  - formal speed benchmarks

  - possibly revert to DJB's cdb implementation
    explicitly public domain since 2007Q4

  - better README/docs

  - mingw support

python-cdb's People

Contributors

acg avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.