Skip to main content

A pure-python implementation of the SyncML adapter framework and protocol.

Project description

Welcome to the pysyncml library, a pure-python implementation of the SyncML adapter framework and protocol. SyncML is a protocol to synchronize opaque objects between multiple clients and a server. Although pysyncml does provide some utilities to synchronize certain types of content and is therefore useful as-is, it is primarily intended to be used as a library by other applications that want to add data synchronization support via SyncML.

Goals

The pysyncml project has the following goals, some of them diverge critically from other SyncML implementations and are the reasons for creating a new package instead of building on other existing implementations:

  • Can be installed and used with a single “pip install pysyncml” (or easy_install).

  • Is python 2.6+ and 3+ compatible.

  • Implements a sufficiently large subset of the SyncML 1.2.2 (a.k.a. the OMA Data Synchronization specification) as to be interoperable with other implementations without necessarily being “conformant”.

  • Can be easily integrated into SQLAlchemy based projects to store data in the application’s database instead of separated out (so that integrated database triggers and cascading can be applied).

  • Can be extended in order to make properly crafted clients able to operate in “distributed” mode - this means that in the absence of a network, SyncML client peers are able to synchronize with each other in the anticipation that the central server may or may not eventually become available again.

  • Differentiates as little as possible between “client” and “server” modes to enable the previous goal.

  • Makes basic synchronization easy and complicated synchronization possible by providing standard implementations for commonly used approaches, while allowing these components to be overriden or extended.

  • Provides basic command line tools for commonly synchronized data types.

  • Provides a framework of server-push notifications which are transport agnostic.

  • Auto-discovery of SyncML server URI locations; i.e. finding the “right” paths to bind object types is done automatically instead of needing error-prone user configuration.

Limitations

It is the goal of the project to get a minimally functional library going in the shortest possible timeframe. To that end, the following features of SyncML will NOT be implemented until a later phase, even if this means that the library does not provide a conformant implementation:

  • NOT supported: filtering of searches or synchronization targets.

  • NOT supported: data split over multiple messages.

  • NOT supported: soft-deletes.

  • NOT supported: memory constraint management.

  • NOT supported: suspend, resume and busy signaling.

  • NOT supported: MD5 authentication scheme.

  • NOT supported: per-database-layer authorization.

Installation

Installation of pysyncml is near-trivial with PIP:

$ pip install pysyncml

or, using easy_install:

$ easy_install pysyncml

Pre-Requisites

Python 2.6.6 or better is required, as the following is “taken for granted” by the pysyncml developers:

  • relative imports,

  • “with” context manager statement,

  • native ElementTree,

  • ternary expression (EXPR if EXPR else EXPR),

  • and something else which was found to not work in 2.6.4 but the author cannot remember what it was and does not wish to run into that limitation ever again…

Documentation

For downloaded packages, please see the generated documents in the “doc” directory, otherwise you can find links to the latest how-to and API reference documentation at pysyncml.

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

pysyncml-0.1.dev-r62.tar.gz (339.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pysyncml-0.1.dev_r62-py2.7.egg (301.4 kB view details)

Uploaded Egg

pysyncml-0.1.dev_r62-py2.6.egg (303.2 kB view details)

Uploaded Egg

File details

Details for the file pysyncml-0.1.dev-r62.tar.gz.

File metadata

  • Download URL: pysyncml-0.1.dev-r62.tar.gz
  • Upload date:
  • Size: 339.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pysyncml-0.1.dev-r62.tar.gz
Algorithm Hash digest
SHA256 afc3d024acca61457f5e4b13e3cbadfc27c87257b62ffa3f482a1904b5a6665b
MD5 aeb1c93ccbbfc3d7a99121216cda72e2
BLAKE2b-256 155e0a250995ae97267d7b6fe928cc072a964e9515e4869de1c2a69e28dcc57a

See more details on using hashes here.

File details

Details for the file pysyncml-0.1.dev_r62-py2.7.egg.

File metadata

File hashes

Hashes for pysyncml-0.1.dev_r62-py2.7.egg
Algorithm Hash digest
SHA256 3c8803e0c7061771c55b9938a665e81c16a39030fbb3e8f60a880f6425f607ce
MD5 412b6bda7df8e8f15679f27f61d89058
BLAKE2b-256 d634bc324ea326ba3caba46c979d107ff9e44560b04140e7a833e43d3aa09c3a

See more details on using hashes here.

File details

Details for the file pysyncml-0.1.dev_r62-py2.6.egg.

File metadata

File hashes

Hashes for pysyncml-0.1.dev_r62-py2.6.egg
Algorithm Hash digest
SHA256 19ce856e6fbd6830ed8b4429f1370bc77b5414c0187e5731971d1b4e211944bf
MD5 d3717e8b844727c36c17bc81c1cb30c8
BLAKE2b-256 fe57c09e1a4fd1c1f5a20fe3aed218f634fef179d56921e4c4392ce0e8190abc

See more details on using hashes here.

Supported by

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