Skip to main content

# 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

Metadata

Release files for dronestore 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dronestore 0.2.8
File Size Uploaded Provenance Actions
dronestore-0.2.8.tar.gz 22.0 kB Without provenance Details for dronestore-0.2.8.tar.gz

Release files / dronestore-0.2.8.tar.gz

Download URL dronestore-0.2.8.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
62c0af04c9663b90f080b6487b099cdb65272772ceb645c9e9436b5f6d2b7e26
BLAKE2b-256 checksum
How to use checksums
f9d1092d23b0d2057024901b1c1757164bb29827a89a7304a1a68608b95ffe0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dronestore 0.2.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page