{ "info": { "author": "Brian Dailey", "author_email": "brian@realm3.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "This utility allows you to extsact sample lines from a CSV hosted on Amazon S3.\nThe use case is that you have a really large CSV on S3 that you want to look at,\nbut you do not want to download the entire file.\n\nWhat it does is grab random bytes from the key and assemble unbroken lines from\nthe file to create as sample.\n\nThe use case is for determining a file format, file contents, etc. See the\ncognoscenti project for an example. (Um, this doesn't exist yet. Check back later.)\n\n_Usage: sample.py [OPTIONS]_\n\n Options:\n --bucket TEXT bucket name\n --key TEXT key name\n --headers / --no-headers Include headers in output. Defaults to include.\n -d, --delimiter TEXT File delimiter. Defaults to ','\n -l, --lines INTEGER How many sample lines do you want? Defaults to 1000.\n --help Show this message and exit.\n\nAllows you to indicate the number of lines you hope to recieve. It will\ngrab 1000 lines by default.\n\n#### Installing\n\nYou can install via pip:\n\npip install sample-s3\n\n#### Example\n\n ss3 --bucket foo --key path/to/bar.csv > sample_file.csv", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/briandailey/sample-s3-csv", "keywords": "aws s3 data csv", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sample-s3", "package_url": "https://pypi.org/project/sample-s3/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sample-s3/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/briandailey/sample-s3-csv" }, "release_url": "https://pypi.org/project/sample-s3/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "Create a sample data set from a large CSV file on Amazon S3.", "version": "0.0.4" }, "last_serial": 2270423, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "915674225124e35a811fa4caa88ae95e", "sha256": "cb90e31cc9cb97a5f9985e1dbfa7a7dc4c0998296daa25321e65461290931a9f" }, "downloads": -1, "filename": "sample-s3-0.0.2.tar.gz", "has_sig": false, "md5_digest": "915674225124e35a811fa4caa88ae95e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2779, "upload_time": "2016-08-08T17:40:27", "url": "https://files.pythonhosted.org/packages/e4/43/c4e3c0ab5dca40923b0e3c0c1f7bbacb0ca356899b90eccaf7c85c508626/sample-s3-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d4653fb4c92d2763b185e8d9707adbcb", "sha256": "d72f906e394f0efd664fde52729298473aeb528b71c17e2f44dfab7350fe7bb2" }, "downloads": -1, "filename": "sample-s3-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d4653fb4c92d2763b185e8d9707adbcb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2774, "upload_time": "2016-08-08T17:55:34", "url": "https://files.pythonhosted.org/packages/08/d7/f907e3bf3242b819061941ed2d11b80e613a9e8c3941618e7dbcaf73bc7b/sample-s3-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d9555bde59033e82893a23e3ddc1d07c", "sha256": "c32417f7a9ff233dc922cb22790e74f25dc282290b710328938b215ef7a2de65" }, "downloads": -1, "filename": "sample-s3-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d9555bde59033e82893a23e3ddc1d07c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3727, "upload_time": "2016-08-09T01:23:42", "url": "https://files.pythonhosted.org/packages/95/fb/ede7f0cc7844c683f5f00a71252426fe6f2f4090f8b555d0660144501deb/sample-s3-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d9555bde59033e82893a23e3ddc1d07c", "sha256": "c32417f7a9ff233dc922cb22790e74f25dc282290b710328938b215ef7a2de65" }, "downloads": -1, "filename": "sample-s3-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d9555bde59033e82893a23e3ddc1d07c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3727, "upload_time": "2016-08-09T01:23:42", "url": "https://files.pythonhosted.org/packages/95/fb/ede7f0cc7844c683f5f00a71252426fe6f2f4090f8b555d0660144501deb/sample-s3-0.0.4.tar.gz" } ] }