{ "info": { "author": "Bryan Collazo", "author_email": "bcollazo2010@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7" ], "description": "# flush\n\nArchive PostgreSQL tables to S3.\n\nCLI tool that flushes (exports and deletes) all database rows of a PostgreSQL table into a CSV in a specified S3 bucket. Useful for archiving data and saving money in small infrastructure environments.\n\n## Usage\n\nEnsure you are using correct AWS credentials (as if you were using BOTO: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html#configuration).\n\nThen:\n\n```\npip install flush\nflush postgres://localhost:5432/mydatabase tablename mybucket --truncate\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/bcollazo/flush", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flush", "package_url": "https://pypi.org/project/flush/", "platform": "", "project_url": "https://pypi.org/project/flush/", "project_urls": { "Homepage": "http://github.com/bcollazo/flush" }, "release_url": "https://pypi.org/project/flush/1.0/", "requires_dist": null, "requires_python": "", "summary": "Archive PostgreSQL tables to S3", "version": "1.0" }, "last_serial": 4928275, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "415bdf089b9f5ff5cabaa9b4c08f9173", "sha256": "0fcd29f89b86ad4bf257ddfa71d1219f4fe5b22df9c3d05fd439f094b851e59b" }, "downloads": -1, "filename": "flush-0.3.tar.gz", "has_sig": false, "md5_digest": "415bdf089b9f5ff5cabaa9b4c08f9173", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2661, "upload_time": "2019-03-12T03:45:47", "url": "https://files.pythonhosted.org/packages/7c/44/8429023cd10da4eaaf64b50a042ad09d80fd99df4036af556a4fa2d7960c/flush-0.3.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "94ff76849d502f71be2e33b9965f40f6", "sha256": "202691d249b4673cde0d8708ef8f1b77f6224f0563cda92cb64f0a5f5fd1dbc4" }, "downloads": -1, "filename": "flush-1.0.tar.gz", "has_sig": false, "md5_digest": "94ff76849d502f71be2e33b9965f40f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2669, "upload_time": "2019-03-12T04:11:57", "url": "https://files.pythonhosted.org/packages/64/c7/75fb9b004341b734fee590e7120490f0910fd2d8c068620fb423bdee0843/flush-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "94ff76849d502f71be2e33b9965f40f6", "sha256": "202691d249b4673cde0d8708ef8f1b77f6224f0563cda92cb64f0a5f5fd1dbc4" }, "downloads": -1, "filename": "flush-1.0.tar.gz", "has_sig": false, "md5_digest": "94ff76849d502f71be2e33b9965f40f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2669, "upload_time": "2019-03-12T04:11:57", "url": "https://files.pythonhosted.org/packages/64/c7/75fb9b004341b734fee590e7120490f0910fd2d8c068620fb423bdee0843/flush-1.0.tar.gz" } ] }