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!
Project Description

Description

This system is dedicated to help to synchronize data of resources.

Installation

pip install b3j0f.sync

Features

The global architecture is composed of four classes:

  • Synchronizer: class which is linked to several stores in order to propagate data CRUD operations on these last ones.
  • Store: class which represents a set of data, and uses one Accessor per data type in order to access to self data.
  • Accessor: class which permits to access and create data.
  • Data: specific to an accessor, it is the abstraction class used to exchange data information among stores.

Therefore, one Store can be used by several synchronizers, and one Accessor can be used by several Stores.

The Synchronizer and the Store are configurables (see b3j0f.conf). Configuration files are installed in the ~/etc/ directory.

If you want to specialize this system to your own needs, you have to extend abstract classes with implementation of 6 CRUD methods for the Accessor.

The system does not use semantical mechanisms, therefore, the system is in a best effort mode instead to be exhaustive.

Examples

  • b3j0f.dmts: development management tool synchronizer.

Limitations

Name limitation

In order to ensure data consistency among several stores, the system choose to find any data from its name and context name (aka, name of embedding data).

Therefore, this system is not able to synchronize data which are of the same type of other data, in the same context, and with the same name.

Perspectives

  • break the name limitation with a store dedicated to ensure correspondance between store data ids.
  • use a data id of type int instead of type str, for memory reasons.
  • wait feedbacks during 6 months before passing it to a stable version.
  • Cython implementation.

Donation

Release History

Release History

0.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

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
b3j0f.sync-0.0.3-py2.py3-none-any.whl (28.7 kB) Copy SHA256 Checksum SHA256 2.6 Wheel Oct 2, 2015
b3j0f.sync-0.0.3.tar.gz (15.7 kB) Copy SHA256 Checksum SHA256 Source Oct 2, 2015
b3j0f.sync-0.0.3.zip (32.3 kB) Copy SHA256 Checksum SHA256 Source Oct 2, 2015

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