{ "info": { "author": "Jose Antonio Quevedo Mu\u00f1oz", "author_email": "joseantonio.quevedo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5" ], "description": "Tool: pg_populator\n\nDescription:\n************\n\nThis program populates an already existing PostgreSQL service with:\n- N databases. The specific amount of databases is parametrized through the -n argument.\n- N tables inside each database. The specific amount of tables is parametrized through the -t argument.\n- Some data rows inside every table. The specific amount of rows is parametrized through the -r argument.\n\nThis program will make sure that local postgreSQL service contains, at least, the amount of\ndatabases and tables defined in the required command line arguments -n (--num_db) and -t (--num_tables) per database.\nIt will also add the amount of rows specified in the -r parameter.\nThis program will NOT delete any database, table or row.\n\n\nRequirements:\n*************\n\nA running postgreSQL database must be previously configured.\nTo make this software works, the user that runs this script must have the ~/.pgpass properly configured.\nTo get this done, I recommend you to use the scripts stored in the next repository: https://gitlab.com/jaqm/carto_test.git\n\n\nHow to's:\n*********\n\nNote: The next commands are meant to be run in the same that directory in which this Readme.1st file is stored.\n\n- Disable any previously activated virtualenv:\n\n$ deactivate\n\n- Enable virtualenv:\n\n$ source venvs/1_populate_db/bin/activate\n\n- Get the program help:\n\n$ ./run -v\n\n- Run the tool (example):\n\nRun the next command to create 10 databases with 20 tables and insert 100 rows each of them.\n\n$ ./run -n 10 -t 20 -r 100\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/jaqm/pg_populator.git", "keywords": "PostgreSQL\npopulator", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pg_populator", "package_url": "https://pypi.org/project/pg_populator/", "platform": "", "project_url": "https://pypi.org/project/pg_populator/", "project_urls": { "Homepage": "https://gitlab.com/jaqm/pg_populator.git" }, "release_url": "https://pypi.org/project/pg_populator/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "PostgreSQL service populator.", "version": "0.0.4" }, "last_serial": 3026343, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "89dc38abfa190f84654eb973b1f0fe2f", "sha256": "d72821fe112e0a7cac0a85b95026aea1f1796a42582380481ce3040db95d6427" }, "downloads": -1, "filename": "pg_populator-0.0.3.tar.gz", "has_sig": false, "md5_digest": "89dc38abfa190f84654eb973b1f0fe2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3800, "upload_time": "2017-07-16T09:22:24", "url": "https://files.pythonhosted.org/packages/06/01/e280423580f5511fdc18ad20912eed12b0734f85b77db2bf16c16fcf8051/pg_populator-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ffd1301cd652a678b6204ccc3f45a6d9", "sha256": "cc24d02dc2851d874d7f8d331dc9f2299ae57fe73f5eec578a8ae1708d672528" }, "downloads": -1, "filename": "pg_populator-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ffd1301cd652a678b6204ccc3f45a6d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3809, "upload_time": "2017-07-16T09:25:11", "url": "https://files.pythonhosted.org/packages/42/d9/3fa3dbebcb59ddbb8fa368cb687f0b19d9f5028e00ad5944eae24b6dfe1f/pg_populator-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ffd1301cd652a678b6204ccc3f45a6d9", "sha256": "cc24d02dc2851d874d7f8d331dc9f2299ae57fe73f5eec578a8ae1708d672528" }, "downloads": -1, "filename": "pg_populator-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ffd1301cd652a678b6204ccc3f45a6d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3809, "upload_time": "2017-07-16T09:25:11", "url": "https://files.pythonhosted.org/packages/42/d9/3fa3dbebcb59ddbb8fa368cb687f0b19d9f5028e00ad5944eae24b6dfe1f/pg_populator-0.0.4.tar.gz" } ] }