GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - acg/python-cdb: A python interface to djb's cdb library

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
benchmark
benchmark
 
 
debian
debian
 
 
src
src
 
 
COPYING
COPYING
 
 
ChangeLog
ChangeLog
 
 
Example
Example
 
 
MANIFEST
MANIFEST
 
 
README.md
README.md
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 
tests.py
tests.py
 
 

Repository files navigation

INTRO

The python-cdb extension module is an adaptation of D. J. Bernstein's constant database package.

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.

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

Please report new bugs via the Github issue tracker.

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

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.

AUTHORS

  • Alan Grow [email protected]
  • Mike Pomraning [email protected]

About

A python interface to djb's cdb library

Resources

Readme
GPL-2.0 license
Activity

Stars

69 stars

Watchers

7 watching

Forks

18 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.