skip to navigation
skip to content

Not Logged In

pybloomfiltermmap 0.3.6

A Bloom filter (bloomfilter) for Python built on mmap

Latest Version: 0.3.14

# pybloomfiltermmap [![Build Status](https://secure.travis-ci.org/axiak/pybloomfiltermmap.png?branch=master)](http://travis-ci.org/axiak/pybloomfiltermmap)

The goal of `pybloomfiltermmap` is simple: to provide a fast, simple, scalable, correct library for Bloom Filters in Python.

## Docs

See <http://axiak.github.com/pybloomfiltermmap/>.

## Overview

After you install, the interface to use is a cross between a file interface and a ste interface. As an example:
>>> fruit = pybloomfilter.BloomFilter(100000, 0.1, '/tmp/words.bloom')
>>> fruit.extend(('apple', 'pear', 'orange', 'apple'))
>>> len(fruit)
3
>>> 'mike' in fruit
False

## Install

You may or may not want to use Cython. If you have it installed, the setup file will build the C file from the pyx file. Otherwise, it will skip that step automatically and build from the packaged C file.

To install:
$ sudo python setup.py install

and you should be set.

## License

See the LICENSE file. It's under the MIT License.

 
File Type Py Version Uploaded on Size
pybloomfiltermmap-0.3.6.linux-x86_64.tar.gz (md5)
built for Linux-3.2.0-29-generic-x86_64-with-glibc2.7
"dumb" binary 2.7 2012-09-05 105KB
pybloomfiltermmap-0.3.6.tar.gz (md5) Source 2012-09-05 391KB
  • Downloads (All Versions):
  • 159 downloads in the last day
  • 1677 downloads in the last week
  • 8569 downloads in the last month