Skip to main content

Sync data between databases.

Project description

Synctool is a library for Django to make syncing querysets between databases easy. No more manually dumping or entering data. No more out-of-date fixtures. Just get the data you want, on demand.

Basic usage

Here’s an example for syncing the django.contrib.sites app.

1. Create an api view

# myapp.views

from synctools.routing import Route

route = Route()"sites", "sites")

2. Add the urls to your project

# myproject.urls

from django.conf.urls import include, url
from myapp.views import route

urlpatterns += [
    url("^sync/", include(route.urlpatterns)),

3. Sync data from the remote endpoint


from synctools.client import Client

client = Client(

if __name__ == "__main__":

The sites app can now be synced locally from a remote data source by calling:


How it works

Under the hood Synctool uses the Django JSON serializer to pass data between servers. Synctool isn’t limited to syncing whole applications. It can also sync custom querysets and even download associated images.


Synctool can be installed from PyPI:

pip install django-synctool


This library requires Django >= 1.7 and either Python 2.7 or Python >= 3.3.


You can read the documentation here.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-synctool, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django-synctool-1.0.0.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page