{ "info": { "author": "Wilhelm Dewald", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# WALK\n\nWalk is a simple python migrations and seeds tool for postgres databases. The application is based on 'psycopg2' to run sql commands.\n\n## Installation\nDownload the this git repository and than inside the root folder of the repository.\n\n```\npip install walk\n```\n\nCurrent Version\n```\n0.2.4\n```\n\n### Configuration\n\nIntialize default configurations file 'walk_config.json'.\n\n```\nwalk --init\n```\n\nThe default walk_config.json looks like this. \n\n```json\n{\n \"test\": [\n \"user=postgres\",\n \"dbname=test\"\n ],\n \"dev\": [\n \"user=postgres\",\n \"dbname=dev\"\n ],\n \"prod\": [\n \"user=postgres\",\n \"dbname=prod\",\n \"password=pw\"\n ]\n}\n```\n\nPassing db config parameters directly to the command. The config attributes in the config file which are also included in the command paramters list will be ignored.\n\n```\n\"dev\": {\n \"dbname=test\"\n}\n\nwalk -p dbname=prod -p password=pw -e dev\n\n-> dbname=prod will be taken\n```\n\n\nFor more configuration parameters look inside the documentation of the 'psycopg2' connection class. [Here](http://initd.org/psycopg/docs/module.html)\n\n### Migrations sql file\n\nTo create a new migrations file inside the migrations folder. Use the following command. The default database environment is 'dev'.\n```\nwalk --new test_file_name\n```\n\n### Execute migrations\n\nTo execute the migration files for the 'dev' database enviroment use the following command.\n```\nwalk --migrate --env dev\n```\n\n### Seeds sql file\n\nTo create a new seed file inside the seeds folder. Use the following command. The default database environment is 'dev'.\n```\nwalk --newseed test_seed_name \n```\n\n### Execute seeds\n\nTo execute the seed files for the 'dev' database enviroment use the following command. You can also combine the seeds and the migrations. \nMigrations will be executed first so that seeds can also access current db changes.\n\n```\nwalk --seed --env dev\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/willybaer/walk", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "walk", "package_url": "https://pypi.org/project/walk/", "platform": "", "project_url": "https://pypi.org/project/walk/", "project_urls": { "Homepage": "https://github.com/willybaer/walk" }, "release_url": "https://pypi.org/project/walk/0.2.4/", "requires_dist": [ "psycopg2-binary" ], "requires_python": "", "summary": "PostgreSQL. Database migration and seeds tool for postgres by using psycopg2 with python3.", "version": "0.2.4" }, "last_serial": 4801008, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "da00ac58248d6efa42aab780af65aa1e", "sha256": "9ab864718d1e4becb46f61623907a5b03a805834c622677d6a8a99c39c36fbcd" }, "downloads": -1, "filename": "walk-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "da00ac58248d6efa42aab780af65aa1e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1964, "upload_time": "2019-02-06T16:01:18", "url": "https://files.pythonhosted.org/packages/2a/8e/5ff6a36e9373e71dde90c2e684853e01a61e639bee1fb3d9fff1a992e038/walk-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3e4929d48aff409fb81e4500109b0f3d", "sha256": "2e0b9ffc4514cefe5774aa923e57384bb530457ea5b1c7d3df6e080c9a9abd80" }, "downloads": -1, "filename": "walk-0.2.tar.gz", "has_sig": false, "md5_digest": "3e4929d48aff409fb81e4500109b0f3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1827, "upload_time": "2019-02-06T16:01:20", "url": "https://files.pythonhosted.org/packages/99/7b/4fcc7251237b51873d3006437b40aaee59b8d17a2b5334c126aa255a29e6/walk-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d63db9855cd82a2db57373f64e18c0f0", "sha256": "1905929c674c016cb397ef24362439fb497384ad1339d2900579e7788a324156" }, "downloads": -1, "filename": "walk-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d63db9855cd82a2db57373f64e18c0f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1986, "upload_time": "2019-02-06T20:55:37", "url": "https://files.pythonhosted.org/packages/63/46/18263c42134e20df25a53efa2d303f23c2fd1d766d2564940a422c9cd4db/walk-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b09f6408d5c699f19b6f4bca9ececf01", "sha256": "72e5f911be66abb14d7b9e66e79b532d47d0311e6a0ad2a19ded563c17bc730e" }, "downloads": -1, "filename": "walk-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b09f6408d5c699f19b6f4bca9ececf01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1855, "upload_time": "2019-02-06T20:55:38", "url": "https://files.pythonhosted.org/packages/b6/84/7c58cfde45af0e16b166cec955c1a6e9d6c2b6b8eab551f251d57db1f7fa/walk-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "5a97c09f33686720eabd4c7ff670cbb9", "sha256": "c34959c699a6436b3d9ae60d620ffa52e3a2503c496ccb551f802b468abad539" }, "downloads": -1, "filename": "walk-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5a97c09f33686720eabd4c7ff670cbb9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5080, "upload_time": "2019-02-06T21:06:18", "url": "https://files.pythonhosted.org/packages/a7/de/8f9fba244032f9b2cf7f7ce95fcc62572ad56579f6fb3987afb1f6e4cc2e/walk-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2d5cb096589de1f22c72c96c22beba2", "sha256": "50841639673d9c75a941f7d2060c91dfd1252f6948a0e5cc41be429bbc27640b" }, "downloads": -1, "filename": "walk-0.2.2.tar.gz", "has_sig": false, "md5_digest": "e2d5cb096589de1f22c72c96c22beba2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4434, "upload_time": "2019-02-06T21:06:20", "url": "https://files.pythonhosted.org/packages/d3/b4/f30f92defa4be84f7ce481d513ff6bd343e5ccd29f37550cf084629b4bdb/walk-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "c760a417f0ab449519198bb5e832f333", "sha256": "e178c8bfee4054e28422e763212add3e6267e770d212e93bf4dad56119ff65dd" }, "downloads": -1, "filename": "walk-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c760a417f0ab449519198bb5e832f333", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5083, "upload_time": "2019-02-06T21:17:08", "url": "https://files.pythonhosted.org/packages/ab/df/d7b83ccf4a06f239cefe7a6d3b18d777226af7836ea0f9b875a01b2f74d7/walk-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "89066c5f2724c1349d96a6abfb520471", "sha256": "a363b787298ae2b81bbcb77a7d7a1c520b08fb1b313d0becbfd728a3a498c34b" }, "downloads": -1, "filename": "walk-0.2.3.tar.gz", "has_sig": false, "md5_digest": "89066c5f2724c1349d96a6abfb520471", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4443, "upload_time": "2019-02-06T21:17:09", "url": "https://files.pythonhosted.org/packages/fd/78/b41667e615c77860227407ac40a2f467b39161a67383f4f7e2b804659a3c/walk-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "3e119433029220241810f868987da82f", "sha256": "cfa648a7399fcdc80d6d860aaca72c425897d6aaa06ff52d9b372fb24ea2036c" }, "downloads": -1, "filename": "walk-0.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "3e119433029220241810f868987da82f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5398, "upload_time": "2019-02-10T02:25:29", "url": "https://files.pythonhosted.org/packages/ab/87/4665c262ac41b6a6d3607c792878b24f43f289e017f6cd1ad443136b0e38/walk-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "813614cdb2f9d25e1e524269e9978a7a", "sha256": "72315d8bca56cd0580c6b2cba3a73ab6ab4e05e44fed558c174f93a30ad9a9e5" }, "downloads": -1, "filename": "walk-0.2.4.tar.gz", "has_sig": false, "md5_digest": "813614cdb2f9d25e1e524269e9978a7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4854, "upload_time": "2019-02-10T02:25:32", "url": "https://files.pythonhosted.org/packages/79/39/64b50a42596823c0efbba5518aac8407c0f66db8170c6c6443dca8814a79/walk-0.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3e119433029220241810f868987da82f", "sha256": "cfa648a7399fcdc80d6d860aaca72c425897d6aaa06ff52d9b372fb24ea2036c" }, "downloads": -1, "filename": "walk-0.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "3e119433029220241810f868987da82f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5398, "upload_time": "2019-02-10T02:25:29", "url": "https://files.pythonhosted.org/packages/ab/87/4665c262ac41b6a6d3607c792878b24f43f289e017f6cd1ad443136b0e38/walk-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "813614cdb2f9d25e1e524269e9978a7a", "sha256": "72315d8bca56cd0580c6b2cba3a73ab6ab4e05e44fed558c174f93a30ad9a9e5" }, "downloads": -1, "filename": "walk-0.2.4.tar.gz", "has_sig": false, "md5_digest": "813614cdb2f9d25e1e524269e9978a7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4854, "upload_time": "2019-02-10T02:25:32", "url": "https://files.pythonhosted.org/packages/79/39/64b50a42596823c0efbba5518aac8407c0f66db8170c6c6443dca8814a79/walk-0.2.4.tar.gz" } ] }