Skip to main content

DroneStore python implementation <http://dronestore.org/>

Project description

# DroneStore

### distributed version control for application data

Dronestore is a library that keeps objects and their attributes versioned to allow merging with different versions of the object at a later date. Upon merging two object versions, attribute values are selected according to given rules (e.g. most recent, maximum). Thus, multiple disconnected machines can modify the same object and sync changes at a later date.

(slides from a talk [here](http://static.juanbb.com/acm.dronestore.pdf))

## Install

sudo python setup.py install

## License

Dronestore is under the MIT License.

## Hello World

>>> import dronestore
>>> from dronestore import StringAttribute
>>> from dronestore.merge import LatestStrategy
>>>
>>> class MyModel(dronestore.Model):
...   first = StringAttribute(strategy=LatestStrategy)
...   second = StringAttribute(strategy=LatestStrategy)
...
>>> foo = MyModel('FooBar')
>>> foo.first = 'Hello'
>>> foo.commit()
>>>
>>> bar = MyModel('FooBar')
>>> bar.second = 'World'
>>> bar.commit()
>>>
>>> foo.merge(bar)
>>> print foo.first, foo.second
Hello World

Project details


Download files

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

Source Distribution

dronestore-0.2.8.tar.gz (22.0 kB view details)

Uploaded Source

File details

Details for the file dronestore-0.2.8.tar.gz.

File metadata

  • Download URL: dronestore-0.2.8.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dronestore-0.2.8.tar.gz
Algorithm Hash digest
SHA256 62c0af04c9663b90f080b6487b099cdb65272772ceb645c9e9436b5f6d2b7e26
MD5 bdd980d43fd2f1176cd78baf9e28fd52
BLAKE2b-256 f9d1092d23b0d2057024901b1c1757164bb29827a89a7304a1a68608b95ffe0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page