{"id":17197152,"url":"https://github.com/michaelhelmick/django-balancer","last_synced_at":"2025-08-21T17:31:44.948Z","repository":{"id":1119568,"uuid":"991154","full_name":"michaelhelmick/django-balancer","owner":"michaelhelmick","description":"A set of tools for using Django's multi-db feature.","archived":false,"fork":false,"pushed_at":"2017-05-11T20:04:33.000Z","size":55,"stargazers_count":109,"open_issues_count":5,"forks_count":5,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-12-15T08:53:00.943Z","etag":null,"topics":["database","django","python","replication"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelhelmick.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-15T20:28:31.000Z","updated_at":"2024-11-28T16:28:17.000Z","dependencies_parsed_at":"2022-08-16T12:05:18.858Z","dependency_job_id":null,"html_url":"https://github.com/michaelhelmick/django-balancer","commit_stats":null,"previous_names":["bkonkle/django-balancer"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelhelmick%2Fdjango-balancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelhelmick%2Fdjango-balancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelhelmick%2Fdjango-balancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelhelmick%2Fdjango-balancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelhelmick","download_url":"https://codeload.github.com/michaelhelmick/django-balancer/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230523761,"owners_count":18239445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","django","python","replication"],"created_at":"2024-10-15T01:55:36.258Z","updated_at":"2024-12-20T02:06:33.675Z","avatar_url":"https://github.com/michaelhelmick.png","language":"Python","readme":"Django-Balancer\n===============\n\n.. image:: https://img.shields.io/pypi/v/django-balancer.svg?style=flat-square\n  :target: https://pypi.python.org/pypi/django-balancer \n\n.. image:: https://img.shields.io/pypi/dw/django-balancer.svg?style=flat-square\n  :target: https://pypi.python.org/pypi/django-balancer \n \n.. image:: https://img.shields.io/travis/michaelhelmick/django-balancer.svg?style=flat-square\n  :target: https://travis-ci.org/michaelhelmick/django-balancer \n\n.. image:: https://img.shields.io/coveralls/michaelhelmick/django-balancer/master.svg?style=flat-square\n  :target: https://coveralls.io/r/michaelhelmick/django-balancer?branch=master \n\nA set of tools for using Django's multi-db feature to balance database requests\nbetween multiple replicated databases.  It currently provides some basic\nrouters for using weighted random selection or round robin selection with a\npool of databases, following a master/slave layout where the slaves are\nread-only copies of master, and pinning reads to master for a user after that\nuser completes a write.\n\nSince everything is implemented using base classes and mixins, this also serves\nas a construction kit for creating your own more complex routers.  Feel free to\ncontribute routers, and I'll be happy to incorporate them into the project.\n\nInstall\n-------\n\nInstall django-balancer via `pip \u003chttp://www.pip-installer.org/\u003e`_\n\n.. code-block:: bash\n\n    $ pip install django-balancer\n\nor, with `easy_install \u003chttp://pypi.python.org/pypi/setuptools\u003e`_\n\n.. code-block:: bash\n\n    $ easy_install django-balancer\n\nBut, hey... `that's up to you \u003chttp://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install\u003e`_.\n\n\nDocumentation\n-------------\n\nhttps://django-balancer.readthedocs.org/en/latest/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelhelmick%2Fdjango-balancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelhelmick%2Fdjango-balancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelhelmick%2Fdjango-balancer/lists"}