Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Store/Recover python objects sequencially.

Project Description

binlog

Multiple writer/reader binary log. Each writer can append messages to the log and the readers can read them sequencially. Each reader is independent.

  Tests Coverage
Master
Develop

Installation

binlog depends on lmdb.

You can now finish the installation with:

$ pip install binlog

Development

Follow the instructions in the Installation section except for the last one.

Clone this package and install the package in develop mode.

$ git clone -b develop https://github.com/nilp0inter/binlog
$ cd binlog
$ pip install -e .

To finish, install the development dependencies:

$ pip install -r requirements/tox.txt

Now you are ready for run some tests!

$ tox

CHANGELOG

3.2.0

  • Implementation of per-process connection manager to reuse connections when used concurrently.

3.1.0

  • Preventing the user to picklelize connections.
  • Preventing the user to use a closed connection.

3.0.3

  • Preventing the user to use the library in a multithreading environment.

3.0.2

  • Stopping the Connection class from opening and closing the lmdb environment on every single operation.

3.0.1

  • Return True on recursive_ack if at least one reader success on the ack.

3.0.0

  • Rebuild from scratch now using LMDB instead of BerkeleyDB.
  • Get rid of the UNIX socket server.
  • Better reader semantics.
  • Indexes.
  • Django-like model definitions.
  • Transparent serialization using pickle.

1.2.0

  • What 1.1.0 says…

1.1.0

  • Do not store a new row in server mode when the socket is opened and closed without any data.

1.0.1

  • Better server stopping method.

1.0.0

  • Removed the serialization method. Now the clients must provide their own.
  • UNIX socket server.

0.0.4

  • New backend using Berkeley’s Concurrent Data Storage (CDS).
  • Specialized Reader and Writer for each backend (TDS or CDS).

0.0.3

  • Skip opening errors when databases are deleted in the status method. Issue #4
  • Skip register values not present in the logindex. Issue #5
  • Using transaction in order to not lock the writer on deletions. Issue #6.

0.0.2

  • Reader, Writer and Queue classes.

0.0.1

  • Initial commit.
Release History

Release History

This version
History Node

3.2.0

History Node

3.1.0

History Node

3.0.3

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

1.2.0

History Node

1.0.1

History Node

1.0.0

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
binlog-3.2.0.tar.gz (19.6 kB) Copy SHA256 Checksum SHA256 Source Jun 13, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting