{ "info": { "author": "Joshua Weinstein", "author_email": "jweinst1@berkeley.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: Unix", "Programming Language :: C", "Topic :: Scientific/Engineering :: Information Analysis" ], "description": "# Sword\n\n*A Fast Data Mining C Library for Python*\n\n## Intro\n\n`sword` is a Python C Extension for making data mining and data searching super fast. It's designed to \ngive you amazing performance in the comfort and simplicity of Python. `sword` offers a wide array of tools\nto parse and search tabular data, csv, xml, and much more.\n\n### Status\n\n`sword` is still in the active development phase. It currently supports some CSV functionality. More detailed\nand rich features will be released in coming patch releases.\n\n\n## Functions\n\n`sword` currently provides the following functions:\n\n\n\n#### `csv_read_row`:\n\nThis function reads a single CSV row from a string, and returns a tuple containing:\n\n* The list containing the row elements.\n* The remaining unread string.\n\n*Example:*\n\n```py\n>>> import sword\n>>> sword.csv_read_row(\"54.7,32.6,54.7\\n\")\n([b'54.7', b'32.6', b'54.7'], b'\\n')\n```\n\n#### `csv_count_rows`:\n\nCounts the number of rows in a CSV-string\n\n*Exmaple:*\n\n```py\n>>> import sword\n>>> sword.csv_count_rows(\"1,2\\n3,4\\n5,5,5,5\\n\")\n3\n```\n\n\n#### `csv_count_cols`:\n\nCounts the number of columns in a CSv-string\n\n*Example:*\n\n```py\n>>> import sword\n>>> sword.csv_count_cols(\"1,2,3,4\\n\")\n4\n```", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jweinst1/sword", "keywords": "data mining,data science,search,csv,data table,data analytics", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sword", "package_url": "https://pypi.org/project/sword/", "platform": "", "project_url": "https://pypi.org/project/sword/", "project_urls": { "Homepage": "https://github.com/jweinst1/sword" }, "release_url": "https://pypi.org/project/sword/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "A fast, sharp, Python C extension for data mining.", "version": "0.0.3" }, "last_serial": 5946768, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "679cbeec090e2cac65dcc5f1525c6884", "sha256": "02b2a387b3e2b527beb75e72c677abed671dfd6d7bc03289f9ef7502a3ef12e7" }, "downloads": -1, "filename": "sword-0.0.1.tar.gz", "has_sig": false, "md5_digest": "679cbeec090e2cac65dcc5f1525c6884", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4130, "upload_time": "2019-10-05T08:26:08", "url": "https://files.pythonhosted.org/packages/8d/f5/9896c6b782736c989427e062bbb6baf114bd4d5112c78454b7c52636824f/sword-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7bf11bf54e2ab4da96731c6e81565583", "sha256": "7aaf9fb87d7f947b07dc45460bb61d6e721ee019dee37d0bb62ab6f8e1ef2189" }, "downloads": -1, "filename": "sword-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7bf11bf54e2ab4da96731c6e81565583", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4373, "upload_time": "2019-10-07T07:16:10", "url": "https://files.pythonhosted.org/packages/e7/5e/e6d1baa88ab8055b03f374b41b1a036d2d791b11449b119fdc9bbff4e7d1/sword-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "24a63c6e0abf94c4485a979b58167a5b", "sha256": "af67a8c4f37f7f0a1d8b7fad808b4ee9d18789c3dcd2166088ab2211d3755a3a" }, "downloads": -1, "filename": "sword-0.0.3.tar.gz", "has_sig": false, "md5_digest": "24a63c6e0abf94c4485a979b58167a5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5353, "upload_time": "2019-10-08T21:28:27", "url": "https://files.pythonhosted.org/packages/70/70/708abd5d190d26a9fbe626449d57086d7dca326a0058f1f5073688581cab/sword-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "24a63c6e0abf94c4485a979b58167a5b", "sha256": "af67a8c4f37f7f0a1d8b7fad808b4ee9d18789c3dcd2166088ab2211d3755a3a" }, "downloads": -1, "filename": "sword-0.0.3.tar.gz", "has_sig": false, "md5_digest": "24a63c6e0abf94c4485a979b58167a5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5353, "upload_time": "2019-10-08T21:28:27", "url": "https://files.pythonhosted.org/packages/70/70/708abd5d190d26a9fbe626449d57086d7dca326a0058f1f5073688581cab/sword-0.0.3.tar.gz" } ] }