Synchronizer design pattern library
Project description
Description
This system is dedicated to help to synchronize data of resources.
Links
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), while the Store, the Accessor and the Data are abstract classes.
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.
Example:
`b3j0f.dmts`_: development management tool synchronizer.
Perspectives
wait feedbacks during 6 months before passing it to a stable version.
Cython implementation.
Donation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for b3j0f.sync-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c13271674ab358bc27567093bd9ae3921664622b7e9b26199b6b0256a96e4c74 |
|
MD5 | 2cbf724e8cf26d36d521f2ed06ea5e71 |
|
BLAKE2b-256 | 4da511a98b1b55050ab0b885f14b48b21471ac68b5697ab319f95a11f9f0e93f |