{ "info": { "author": "Richard Penman, Dionyz Lazar", "author_email": "richard@webscraping.com, contact@dionysio.com", "bugtrack_url": null, "classifiers": [], "description": "==========\nCSV Sorter\n==========\n\nFork of the csvsort_ for Python 3.\nFor sorting CSV files on disk that do not fit into memory. The merge sort algorithm is used to break up the original file into smaller chunks, sort these in memory, and then merge these sorted files.\n\n.. _csvsort: https://bitbucket.org/richardpenman/csvsort\n\n=============\nExample usage\n=============\n\n.. sourcecode:: python\n\n >>> from csvsorter import csvsort\n >>> # sort this CSV on the 5th and 3rd columns (columns are 0 indexed)\n >>> csvsort('test1.csv', [4,2]) \n >>> # sort this CSV with no header on 4th column and save results to separate file\n >>> csvsort('test2.csv', [3], output_file='test3.csv', has_header=False) \n >>> # sort this TSV on the first column and use a maximum of 10MB per split\n >>> csvsort('test3.tsv', [0], max_size=10, delimiter='\\t') \n >>> # sort this CSV on the first column, force quotes around every field (default is csv.QUOTE_MINIMAL) and use windows-1250 encoding\n >>> import csv\n >>> csvsort('test4.csv', [0], quoting=csv.QUOTE_ALL, encoding='windows-1250')\n\n..\n\n\n=======\nInstall\n=======\n\n.. sourcecode:: bash\n\n $ pip install csvsorter\n\n..", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/dionysio/csvsorter/tarball/1.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dionysio/csvsorter", "keywords": "csv,sort,large csv", "license": "lgpl", "maintainer": null, "maintainer_email": null, "name": "csvsorter", "package_url": "https://pypi.org/project/csvsorter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/csvsorter/", "project_urls": { "Download": "https://github.com/dionysio/csvsorter/tarball/1.4", "Homepage": "https://github.com/dionysio/csvsorter" }, "release_url": "https://pypi.org/project/csvsorter/1.4/", "requires_dist": null, "requires_python": null, "summary": "Sort large CSV files on disk rather than in memory", "version": "1.4" }, "last_serial": 2659241, "releases": { "1.4": [ { "comment_text": "", "digests": { "md5": "59311f75f74d6ba668088e8b34303bf2", "sha256": "2b3c6a944f8541e76ff18d2b14f672a3a936cff5ce7e54a0d4fe1ce90e9248ff" }, "downloads": -1, "filename": "csvsorter-1.4.tar.gz", "has_sig": false, "md5_digest": "59311f75f74d6ba668088e8b34303bf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3294, "upload_time": "2017-02-22T00:01:46", "url": "https://files.pythonhosted.org/packages/a7/b5/33f8c2541df92aec7dccbf90e5bc0ecdd8f5f86481e57c8eff80e8e7df3f/csvsorter-1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "59311f75f74d6ba668088e8b34303bf2", "sha256": "2b3c6a944f8541e76ff18d2b14f672a3a936cff5ce7e54a0d4fe1ce90e9248ff" }, "downloads": -1, "filename": "csvsorter-1.4.tar.gz", "has_sig": false, "md5_digest": "59311f75f74d6ba668088e8b34303bf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3294, "upload_time": "2017-02-22T00:01:46", "url": "https://files.pythonhosted.org/packages/a7/b5/33f8c2541df92aec7dccbf90e5bc0ecdd8f5f86481e57c8eff80e8e7df3f/csvsorter-1.4.tar.gz" } ] }