Skip to main content

A Bloom filter (bloomfilter) for Python built on mmap

Project description

# 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.

Project details


Release history Release notifications

History Node

0.3.15

History Node

0.3.14

History Node

0.3.13

History Node

0.3.12

History Node

0.3.11

History Node

0.3.10

History Node

0.3.9

History Node

0.3.8

This version
History Node

0.3.6

History Node

0.3.2

History Node

0.3.1

History Node

0.2.0

History Node

0.1.26

History Node

0.1.24

History Node

0.1.22

History Node

0.1.20

History Node

0.1.18

History Node

0.1.16

History Node

0.1.14

History Node

0.1.12

History Node

0.1.10

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pybloomfiltermmap-0.3.6.linux-x86_64.tar.gz (108.3 kB) Copy SHA256 hash SHA256 Dumb Binary 2.7 Sep 5, 2012
pybloomfiltermmap-0.3.6.tar.gz (401.1 kB) Copy SHA256 hash SHA256 Source None Sep 5, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page