Skip to main content

django-nsync

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

Metadata

Release files for django-nsync 0.4.0

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

Source distribution (sdist)

Source distribution for django-nsync 0.4.0
File Size Uploaded Provenance
django-nsync-0.4.0.tar.gz 44.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-nsync 0.4.0
File Interpreter ABI Platform
django_nsync-0.4.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 62.4 kB

Release files / django-nsync-0.4.0.tar.gz

Download URL django-nsync-0.4.0.tar.gz
Size 44.2 kB
Tags Source
SHA-256 checksum
How to use checksums
79ec3f614a0c250b6760c1fde42af834d5d70369a69f9a7dea19866912aa3ce5
BLAKE2b-256 checksum
How to use checksums
ec497587d7590da29e1552d28e589ee8220e7f20e9cdf371e08b8f2539bc720b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_nsync-0.4.0-py2.py3-none-any.whl

Download URL django_nsync-0.4.0-py2.py3-none-any.whl
Size 18.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9094b9405c93f764d663a9c09adf0fd28c5f2dabd589ae076eea38b97991f278
BLAKE2b-256 checksum
How to use checksums
5dde5e241fee9be1a63dd66c7900a49889dbb31ec2f614a05fee683daad3b70b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-nsync 0.4.0

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.

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