semvec/pypi-packages huggingface dataset:
link.crdt 1.0
Python implementation of Convergent Replicated Data Types
License: MIT
Keywords: link convergent replicated data types

link.crdt
=========

**link.crdt** is an utility library implementing
`Convergent Replicated Data Types <https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type>`_.

See documentation_ for more informations.

.. _documentation: https://linkcrdt.readthedocs.io

.. image:: https://img.shields.io/pypi/l/link.crdt.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.crdt/
   :alt: License

.. image:: https://img.shields.io/pypi/status/link.crdt.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.crdt/
   :alt: Development Status

.. image:: https://img.shields.io/pypi/v/link.crdt.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.crdt/
   :alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/link.crdt.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.crdt/
   :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/implementation/link.crdt.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.crdt/
   :alt: Supported Python implementations

.. image:: https://img.shields.io/pypi/wheel/link.crdt.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.crdt
   :alt: Download format

.. image:: https://travis-ci.org/linkdd/link.crdt.svg?branch=master&style=flat-square
   :target: https://travis-ci.org/linkdd/link.crdt
   :alt: Build status

.. image:: https://coveralls.io/repos/github/linkdd/link.crdt/badge.png?style=flat-square
   :target: https://coveralls.io/r/linkdd/link.crdt
   :alt: Code test coverage

.. image:: https://img.shields.io/pypi/dm/link.crdt.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.crdt/
   :alt: Downloads

.. image:: https://landscape.io/github/linkdd/link.crdt/master/landscape.svg?style=flat-square
   :target: https://landscape.io/github/linkdd/link.crdt/master
   :alt: Code Health

Installation
------------

.. code-block:: text

   pip install link.crdt

Features
--------

 * Counter
 * Flag (last-write-wins)
 * Register (last-write-wins)
 * Set
 * Map

Donating
--------

.. image:: https://liberapay.com/assets/widgets/donate.svg
   :target: https://liberapay.com/linkdd/donate
   :alt: Support via Liberapay
link.kvstore 1.0
Database agnostic key/value store API
License: MIT
Keywords: link key value store

link.kvstore
============

**link.kvstore** is a database agnostic key/value store API.

See documentation_ for more informations.

.. _documentation: https://linkkvstore.readthedocs.io

.. image:: https://img.shields.io/pypi/l/link.kvstore.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.kvstore/
   :alt: License

.. image:: https://img.shields.io/pypi/status/link.kvstore.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.kvstore/
   :alt: Development Status

.. image:: https://img.shields.io/pypi/v/link.kvstore.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.kvstore/
   :alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/link.kvstore.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.kvstore/
   :alt: Supported Python versions

.. image:: https://img.shields.io/pypi/implementation/link.kvstore.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.kvstore/
   :alt: Supported Python implementations

.. image:: https://img.shields.io/pypi/wheel/link.kvstore.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.kvstore
   :alt: Download format

.. image:: https://travis-ci.org/linkdd/link.kvstore.svg?branch=master&style=flat-square
   :target: https://travis-ci.org/linkdd/link.kvstore
   :alt: Build status

.. image:: https://coveralls.io/repos/github/linkdd/link.kvstore/badge.svg?style=flat-square
   :target: https://coveralls.io/r/linkdd/link.kvstore
   :alt: Code test coverage

.. image:: https://img.shields.io/pypi/dm/link.kvstore.svg?style=flat-square
   :target: https://pypi.python.org/pypi/link.kvstore/
   :alt: Downloads

.. image:: https://landscape.io/github/linkdd/link.kvstore/master/landscape.svg?style=flat-square
   :target: https://landscape.io/github/linkdd/link.kvstore/master
   :alt: Code Health

Installation
------------

.. code-block:: text

   pip install link.kvstore

Features
--------

 * database agnostic
 * dict API to access key/value store

Examples
--------

Getting a backend:

.. code-block:: python

   from link.middleware.core import Middleware

   # Instanciate a K/V store with Riak backend
   store = Middleware.get_middleware_by_uri(
       'kvstore+riak://localhost:8087/mybuckettype/mybucket?protocol=pbc'
   )
   # Instanciate a K/V store with SQL backend
   store = Middleware.get_middleware_by_uri(
       'kvstore+sql://localhost:5432/database/table'
   )

Accessing data:

.. code-block:: python

   store['foo'] = 'bar'
   assert store['foo'] == 'bar'
   assert 'foo' in store

   for key in store:
       print(key)

   del store['foo']

Donating
--------

.. image:: https://liberapay.com/assets/widgets/donate.svg
   :target: https://liberapay.com/linkdd/donate
   :alt: Support via Liberapay