{ "info": { "author": "Zach Kruchoski", "author_email": "kruchone@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Database", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://i.imgur.com/vf8CyKL.png\n\njambi\n=====\n\na peewee database migration manager (in development)\n\nAbout\n-----\nThe `peewee ORM `_ has limited migration support through its extension, playhouse. A ``SchemaMigrator`` is supplied that can run schema-altering statements, but there is no concept of versioning the database. By giving your database a version number, jambi can help you keep your database schema revisions organized, and allows you to incrementally upgrade if desired.\n\nGetting Started\n---------------\n- install with pip\n ``pip install jambi``\n- create a jambi config file in your favorite directory\n ``cd myproj/db && touch jambi.conf``\n- see the section entitled 'Configuration' to learn about what must be in jambi.conf\n- run jambi!\n ``jambi --help``\n\nSupported Operations\n--------------------\n **init** -- create the jambi table and set the version to 0\n\n **inspect** -- return the database's current version\n\n **latest** -- retuns the latest migration version\n\n **upgrade ** -- upgrade your database to the supplied version\n\n **makemigration** -- generate a new migration version from template\n\nConfiguration\n-------------\nJambi needs to know how to connect to your database, and where your migrations are stored, which can be conveyed though the jambi.conf configuration file. **Currently jambi only supports PostgreSQL**, but support for others wouldn't be hard to implement -- feel free to make a pull request!) Jambi will look for your configuration file in your current working directory.\n\nHere is an example jambi.conf, set up to connect to a vanilla postgres database:\n\n.. code-block:: ini\n\n [database]\n database=test\n schema=public\n host=localhost\n user=postgres\n password=\n\n [migrate]\n location=./migrations/\n\n\nContributing\n------------\nPull requests are welcome, and please open issues for any bugs, enhancements, or feature requests.\n\nDisclaimer\n----------\nI claim no responsibility for bugs or other misuse of this tool resulting in loss of data or any other unintended side-effect. This is still an alpha release, so don't expect too much. (see: Contributing).\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.github.com/kruchone/jambi", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jambi", "package_url": "https://pypi.org/project/jambi/", "platform": "", "project_url": "https://pypi.org/project/jambi/", "project_urls": { "Homepage": "https://www.github.com/kruchone/jambi" }, "release_url": "https://pypi.org/project/jambi/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A peewee database migration manager", "version": "0.1.3" }, "last_serial": 2560681, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4719b173e267de378f9b1bec5c50cc2c", "sha256": "4014e5ec36b15034df11b4fe7dbd3605bbdb20ec673285c279b2ccf1f22593d5" }, "downloads": -1, "filename": "jambi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4719b173e267de378f9b1bec5c50cc2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5560, "upload_time": "2016-11-19T02:37:14", "url": "https://files.pythonhosted.org/packages/f3/d2/729313a00e5e0a8737418b9df6bade8e7d379d2d23de82d64deda55afacc/jambi-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a0ff466c0df943ba008395d66ac750c3", "sha256": "136df4d6f3f2881b90ba7f2c6d2ccf60bd071c647f5b01f9f7ac43e309fc38f2" }, "downloads": -1, "filename": "jambi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a0ff466c0df943ba008395d66ac750c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6423, "upload_time": "2016-11-19T02:47:12", "url": "https://files.pythonhosted.org/packages/7d/56/618bb69855ee901d0b9cee9754ce5aafdb95444edd80ed54e24ab9c5f007/jambi-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8bd4929b5fe3a6660de8d9afea0ad699", "sha256": "69c046fd7b8731512653b25a8c41a4d9ce260af1d1eb6cb5351c50fad96b7628" }, "downloads": -1, "filename": "jambi-0.1.2.tar.gz", "has_sig": false, "md5_digest": "8bd4929b5fe3a6660de8d9afea0ad699", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6432, "upload_time": "2016-11-19T05:12:18", "url": "https://files.pythonhosted.org/packages/14/cf/27ade62ac80aa23cfa8f20a82322d1fb35f514fd2abb46958672735edf0d/jambi-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "53fe5aa96d57e533b4aa928ef5a1f3ae", "sha256": "317a7d75d5d4910a1104391396069d5ad2f356705abdba7f73eb58b3e9a8caae" }, "downloads": -1, "filename": "jambi-0.1.3.tar.gz", "has_sig": false, "md5_digest": "53fe5aa96d57e533b4aa928ef5a1f3ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6902, "upload_time": "2017-01-08T14:44:18", "url": "https://files.pythonhosted.org/packages/91/c0/c58d47b032ca87ff4bf35aaf6f1af1c90c6058feee386f9f23ccc8d233ec/jambi-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "53fe5aa96d57e533b4aa928ef5a1f3ae", "sha256": "317a7d75d5d4910a1104391396069d5ad2f356705abdba7f73eb58b3e9a8caae" }, "downloads": -1, "filename": "jambi-0.1.3.tar.gz", "has_sig": false, "md5_digest": "53fe5aa96d57e533b4aa928ef5a1f3ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6902, "upload_time": "2017-01-08T14:44:18", "url": "https://files.pythonhosted.org/packages/91/c0/c58d47b032ca87ff4bf35aaf6f1af1c90c6058feee386f9f23ccc8d233ec/jambi-0.1.3.tar.gz" } ] }