Skip to main content

Django Object Syncer

Django application allowing a server instance to track modifications of instance of certain models and push them to remote clients.

In summary, how does it work ?

Two abstract classes exist: VersioningBaseModel and TrackingAndVersioningBaseModel.

The versioning base model have the following fields :

  • a UUID (version 4), unique for this model
  • a version, starting at 1
  • a creation datetime
  • a last edition datetime
  • an inactive flag

The tracking and versioning base model have the following field added to the fields of VersioningBaseModel.

  • an active state by applications

It is then possible to create a monitored Model :

class VersioningFakeClass(TrackingAndVersioningBaseModel):
    """
    A code
    """
    code = models.CharField(max_length=20)

    """
    A name 
    """
    name = models.CharField(max_length=250)

    """
    Tracker
    """
    tracker = FieldTracker()

An Application is a remote application that must be updated with each change. ach application contains a remote Rest API endpoint and an Authorization Key.

For each change, a JobChange is created per application. A cron job will then consume JobChanges by making a POST request on the endpoint API of each application.

At the customer level, they dynamically process the fields to keep only those present in their model (each customer does not need all the fields).

Metadata

Release files for django-objectsyncer 1.0.1

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-objectsyncer 1.0.1
File Size Uploaded Provenance Actions
django-objectsyncer-1.0.1.tar.gz 9.4 kB Without provenance Details for django-objectsyncer-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-objectsyncer 1.0.1
File Interpreter ABI Platform Actions
django_objectsyncer-1.0.1-py3-none-any.whl Python 3 none any Details for django_objectsyncer-1.0.1-py3-none-any.whl

Total release size: 22.5 kB

Release files / django-objectsyncer-1.0.1.tar.gz

Download URL django-objectsyncer-1.0.1.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
46b220b986321546f276b6fe6fec56127065dc87c7b48f9660984608f6c359c6
BLAKE2b-256 checksum
How to use checksums
e85108f7d01f6ba5508582565e89ed511b21a9aa99de185f81c44e9949f64abd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.7

Release files / django_objectsyncer-1.0.1-py3-none-any.whl

Download URL django_objectsyncer-1.0.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e655647ebea2e256510aa4c4798e3bac93cd2f60525a40381e7a204bbe3aec7f
BLAKE2b-256 checksum
How to use checksums
673b161ba787b8d79c1e62f478d1938e08b6bccadecdae08563d0320ca682df9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.7

Security for django-objectsyncer 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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