{ "info": { "author": "Jessamyn Smith", "author_email": "jessamyn.smith@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development", "Topic :: Utilities" ], "description": "paragres\n========\n\n|Build Status| |Coverage Status| |PyPI Version| |Supported Python Versions|\n|Downloads|\n\nUtility for synchronizing parallel PostgreSQL databases on Heroku,\nlocal, and remote servers\n\nLike my work? Tip me! https://www.paypal.me/jessamynsmith\n\nFeatures\n--------\n\nEasily copy databases between locations, e.g.:\n\n- Initialize a Heroku database with local data\n- Update local development database with the latest data in your Heroku app\n- Update one Heroku app (e.g. staging) with the data from another app (e.g. production)\n\nInstallation\n------------\n\nYou can get paragres from PyPI with:\n\n::\n\n pip install paragres\n\nThe development version can be installed with:\n\n::\n\n pip install -e git://github.com/jessamynsmith/paragres.git#egg=paragres\n\nIf you are developing locally, your version can be installed from the\nworking directory with:\n\n::\n\n python setup.py.install\n\nUsage\n-----\n\nNote 1: To use paragres to access a Heroku app, you must be logged into the Heroku account that\nowns that app.\n\nNote 2: By default, Heroku's new pg:backups command is used. if you want to use the old pgbackups\naddon, you must specify --use-pgbackups\n\nExample 1, copying data between Heroku databases:\n\n::\n\n paragres -s -d \n\nExample 2, copying a new backup snapshot of data from a Heroku database\nto localhost:\n\n::\n\n paragres -s -c -t path/to/db_settings.py\n\nExample 3, creating a backup snapshot of a Heroku database:\n\n::\n\n paragres -c -s \n\ndb\\_settings.py must contain at least the following (Django settings\nfile format):\n\n::\n\n DATABASES = {\n 'default': {\n 'ENGINE': 'django.db.backends.postgresql_psycopg2',\n 'NAME': '',\n 'USER': '',\n 'PASSWORD': '',\n 'HOST': '',\n 'PORT': '',\n }\n }\n\nSupported transfers:\n\n+--------------+--------------+---------------+--------------+\n| | | Destination | |\n+==============+==============+===============+==============+\n| | | postgres | Heroku app |\n+--------------+--------------+---------------+--------------+\n| **Source** | local file | X | |\n+--------------+--------------+---------------+--------------+\n| | postgres | X | X \\* |\n+--------------+--------------+---------------+--------------+\n| | url | X | X |\n+--------------+--------------+---------------+--------------+\n| | Heroku app | X | X |\n+--------------+--------------+---------------+--------------+\n\n\\* Can only push from a database accessible to the local user, or\naccessible to a user configured via PG\\* environment variables\n\nFull list of optional arguments:\n\n.. code-block:: shell\n\n -h, --help show this help message and exit\n --version Show program's version number\n -f FILE, --file FILE PostgreSQL dump file to use as a data source\n -u URL, --url URL Public URL from which to pull db file\n -s SOURCE_APP, --source-app SOURCE_APP\n Heroku app from which to pull db\n -c, --capture Capture a new Heroku backup\n -o SOURCE_SETTINGS, --source-settings SOURCE_SETTINGS\n Django-style settings file with database connection information for source database\n (or 'DJANGO_SETTINGS_MODULE' to use that environment variable's value)\n -b SOURCE_DBNAME, --source-dbname SOURCE_DBNAME\n Source database name (overrides value in source settings if both are specified)\n -d DESTINATION_APP, --destination-app DESTINATION_APP\n Heroku app for which to replace db\n -t SETTINGS, --settings SETTINGS\n Django-style settings file with database connection information for destination database\n (or 'DJANGO_SETTINGS_MODULE' to use that environment variable's value)\n -n DBNAME, --dbname DBNAME\n Destination database name (overrides value in settings if both are specified)\n -v VERBOSITY, --verbosity VERBOSITY\n Verbosity level: 0=minimal output, 1=normal output\n --use-pgbackups Use the deprecated pgbackups addon rather than Heroku pg:backups\n\nDevelopment\n-----------\n\nFork the project on github and git clone your fork, e.g.:\n\n::\n\n git clone https://github.com//paragres.git\n\nCreate a virtualenv and install dependencies:\n\n::\n\n mkvirtualenv paragres\n pip install -r requirements/package.txt -r requirements/test.txt\n\nRun tests with coverage (should be 100%) and check code style:\n\n::\n\n coverage run -m nose\n coverage report -m\n flake8\n\nVerify all supported Python versions:\n\n::\n\n pip install tox\n tox\n\nInstall your local copy:\n\n::\n\n python setup.py install\n\n.. |Build Status| image:: https://img.shields.io/circleci/project/github/jessamynsmith/paragres.svg\n :target: https://circleci.com/gh/jessamynsmith/paragres\n :alt: Build status\n.. |Coverage Status| image:: https://img.shields.io/coveralls/jessamynsmith/paragres.svg\n :target: https://coveralls.io/r/jessamynsmith/paragres?branch=master\n :alt: Coverage status\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/paragres.svg\n :target: https://pypi.python.org/pypi/paragres\n :alt: Latest PyPI version\n.. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/paragres.svg\n :target: https://pypi.python.org/pypi/paragres\n :alt: Supported Python versions\n.. |Downloads| image:: https://img.shields.io/pypi/dm/paragres.svg\n :target: https://pypi.python.org/pypi/paragres\n :alt: Number of PyPI downloads\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/jessamynsmith/paragres/archive/v0.6.3.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jessamynsmith/paragres", "keywords": "postgresql,postgres,psql,pgbackups,database,heroku", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "paragres", "package_url": "https://pypi.org/project/paragres/", "platform": "", "project_url": "https://pypi.org/project/paragres/", "project_urls": { "Download": "https://github.com/jessamynsmith/paragres/archive/v0.6.3.tar.gz", "Homepage": "https://github.com/jessamynsmith/paragres" }, "release_url": "https://pypi.org/project/paragres/0.6.3/", "requires_dist": null, "requires_python": "", "summary": "Utility for synchronizing parallel PostgreSQL databases on Heroku, local, and remote servers", "version": "0.6.3" }, "last_serial": 5924933, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "bcfa536b1d3aef0f1fe6e9cb2d22dc02", "sha256": "2128659f7b96c968ee2df5dc4e7e71c450c3a7aa4c3195ef0a883b514a2a4b4e" }, "downloads": -1, "filename": "paragres-0.1.tar.gz", "has_sig": false, "md5_digest": "bcfa536b1d3aef0f1fe6e9cb2d22dc02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4542, "upload_time": "2015-01-25T03:31:30", "url": "https://files.pythonhosted.org/packages/d7/51/574ff2eee0fc945d05112807c8cd1d58f4eece6694ba26717b630098a953/paragres-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "62b75e054b99afb366aec3ad3571c5e4", "sha256": "ebfb3704b5941aef5daeb2000fd6d375424b43903396cb4def4345b23be37e1f" }, "downloads": -1, "filename": "paragres-0.2.tar.gz", "has_sig": false, "md5_digest": "62b75e054b99afb366aec3ad3571c5e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4556, "upload_time": "2015-01-25T03:52:18", "url": "https://files.pythonhosted.org/packages/5f/f2/50fd4003ee8be7815dedcdaae70e40cee1245102f93b64aaa50ef894a6b5/paragres-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "4cff85c38771290b9feaa8aad7c3301a", "sha256": "56e0870932a74391fd26479bafa94c1ab9c53e52381d238e49ab0b34bb21bd13" }, "downloads": -1, "filename": "paragres-0.3.tar.gz", "has_sig": false, "md5_digest": "4cff85c38771290b9feaa8aad7c3301a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5397, "upload_time": "2015-01-28T01:37:39", "url": "https://files.pythonhosted.org/packages/c2/fc/20b40bd37cc6c675631fab03713295364b882a4742b312895b80a4eddfc3/paragres-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "3485611b04d26fb8b2bbad961780cc98", "sha256": "7bbec0939a61f2712a4e649c07a73f8e841f69db9b7d6d88bf929e705c51630c" }, "downloads": -1, "filename": "paragres-0.4.tar.gz", "has_sig": false, "md5_digest": "3485611b04d26fb8b2bbad961780cc98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5426, "upload_time": "2015-01-28T01:56:07", "url": "https://files.pythonhosted.org/packages/3c/f7/71bf2875e1a5ba7372bfb2dfd754814313b7c101e5d847008628b3310bb4/paragres-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "81f06f6a216e74ee6342effae7533569", "sha256": "3f043307480bf2e33d3e36e750f2d21fae453256bc52105392441ae9bf135203" }, "downloads": -1, "filename": "paragres-0.5.tar.gz", "has_sig": false, "md5_digest": "81f06f6a216e74ee6342effae7533569", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5630, "upload_time": "2015-02-01T23:37:33", "url": "https://files.pythonhosted.org/packages/01/d3/08c9681007c02db3d1226437121928ed107f7731a7b595d6873e13b7d856/paragres-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "d6ffe28c3842e860d7d2302685377759", "sha256": "9977d975bc3ef3455716654e8eefc052fb60d83e975688a933c6c9022b3cf28b" }, "downloads": -1, "filename": "paragres-0.6.tar.gz", "has_sig": false, "md5_digest": "d6ffe28c3842e860d7d2302685377759", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7336, "upload_time": "2015-04-16T19:10:11", "url": "https://files.pythonhosted.org/packages/03/dc/4f38482c251576be1f7bc56df1b0c6dd556dabdac78e25f112f7f540b578/paragres-0.6.tar.gz" } ], "0.6.1": [], "0.6.2": [ { "comment_text": "", "digests": { "md5": "4b44d5fe35d228c3de3c4ac88b9af047", "sha256": "cdc3ba7b0f1e082e582e3c0e510a696d471ba114bf0d06dcb16053e493136b69" }, "downloads": -1, "filename": "paragres-0.6.2.tar.gz", "has_sig": false, "md5_digest": "4b44d5fe35d228c3de3c4ac88b9af047", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7509, "upload_time": "2016-12-12T23:01:02", "url": "https://files.pythonhosted.org/packages/b6/1a/030936606c315a19bec5d78ab6aae498cb1bb0fb60371b04e9ca7bc4f24b/paragres-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "f3aa576813be8486b0b47bfce0e67447", "sha256": "6a631acfde0c37cb72243cc44bd966bc66237b1a48678ea05a0f515b475743b3" }, "downloads": -1, "filename": "paragres-0.6.3-py2-none-any.whl", "has_sig": false, "md5_digest": "f3aa576813be8486b0b47bfce0e67447", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9111, "upload_time": "2019-10-03T19:23:55", "url": "https://files.pythonhosted.org/packages/aa/c1/f8e51e97c1fb39ca538fd8207172c5ec85ab6cc573f428d7c70ce028c376/paragres-0.6.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "758ac254657f22182b7b7c0944174593", "sha256": "f3c46f81576487e30a5223c39e7712fcdb971cb6213df6bc732225221805ce1f" }, "downloads": -1, "filename": "paragres-0.6.3.tar.gz", "has_sig": false, "md5_digest": "758ac254657f22182b7b7c0944174593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8531, "upload_time": "2019-10-03T19:23:57", "url": "https://files.pythonhosted.org/packages/7e/9d/93e608ce1f144835679ecc8a6af7072ae48f14f213e8346bafdf32c44e36/paragres-0.6.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f3aa576813be8486b0b47bfce0e67447", "sha256": "6a631acfde0c37cb72243cc44bd966bc66237b1a48678ea05a0f515b475743b3" }, "downloads": -1, "filename": "paragres-0.6.3-py2-none-any.whl", "has_sig": false, "md5_digest": "f3aa576813be8486b0b47bfce0e67447", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9111, "upload_time": "2019-10-03T19:23:55", "url": "https://files.pythonhosted.org/packages/aa/c1/f8e51e97c1fb39ca538fd8207172c5ec85ab6cc573f428d7c70ce028c376/paragres-0.6.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "758ac254657f22182b7b7c0944174593", "sha256": "f3c46f81576487e30a5223c39e7712fcdb971cb6213df6bc732225221805ce1f" }, "downloads": -1, "filename": "paragres-0.6.3.tar.gz", "has_sig": false, "md5_digest": "758ac254657f22182b7b7c0944174593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8531, "upload_time": "2019-10-03T19:23:57", "url": "https://files.pythonhosted.org/packages/7e/9d/93e608ce1f144835679ecc8a6af7072ae48f14f213e8346bafdf32c44e36/paragres-0.6.3.tar.gz" } ] }