Skip to main content

Django N Sync provides a simple way to keep your Django

Project description

https://badge.fury.io/py/django-nsync.png https://travis-ci.org/andrewdodd/django-nsync.png?branch=master Coverage

Django NSync provides a simple way to keep your Django Model data ‘n-sync with N external systems.

Features

Includes:

  • Synchronise models with data from external systems

    • Create, update or delete model objects

    • Modify relational fields

    • Allow multiple systems to modify the same model object

  • CSV file support out of the box

    • Ships with commands to process a single CSV file or multiple CSV files

  • No need for more code

    • Nsync does not require you to inherit from special classes, add ‘model mapping’ objects or really define anything in Python

Not-included:

  • Export (to CSV or anything else for that matter)

    • There are other packages that can do this

    • Why do you want the data out? Isn’t that what your application is for? ;-)

  • Admin integration

    • There isn’t much to this package, if you want to add the models to your admin pages it is probably better if you do it (that’s what I’ve done in my use case)

Not-yet included:

  • Other file formats out of the box

    • Love it or hate it, CSV is ubiquitous and simple (its limitations also force simplicity)

    • The CSV handling part is separated from the true NSync part, so feel free to write your own lyrics-from-wav-file importer.

  • Intricate data format handling

    • E.g. parsing date times etc

    • This can be side-stepped by creating @property annotated handlers though (see the examples from more info)

Documentation

The full documentation is at https://django-nsync.readthedocs.org.

Credits

Tools used in rendering this package:

For helping me make sense of the python pacakging world (and the bad practices codified in some of the tools/blogs out there):

  • Hynek Schlawack Whose blog posts on packaging Python apps etc were indispensible

  • Ionel Cristian Maries (sorry, too lazy for unicode) Whose blog post on python packaging was also indispensible

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

django-nsync-0.4.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

django_nsync-0.4.0-py2.py3-none-any.whl (18.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-nsync-0.4.0.tar.gz.

File metadata

File hashes

Hashes for django-nsync-0.4.0.tar.gz
Algorithm Hash digest
SHA256 79ec3f614a0c250b6760c1fde42af834d5d70369a69f9a7dea19866912aa3ce5
MD5 c57167a9fa16c7c357067b1b9938618e
BLAKE2b-256 ec497587d7590da29e1552d28e589ee8220e7f20e9cdf371e08b8f2539bc720b

See more details on using hashes here.

File details

Details for the file django_nsync-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_nsync-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9094b9405c93f764d663a9c09adf0fd28c5f2dabd589ae076eea38b97991f278
MD5 8718562bcc9f078bd61e25c7c2f7272a
BLAKE2b-256 5dde5e241fee9be1a63dd66c7900a49889dbb31ec2f614a05fee683daad3b70b

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