{ "info": { "author": "Stephen Bunn", "author_email": "stephen@bunn.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Pre-processors", "Topic :: Software Development :: Quality Assurance" ], "description": ".. image:: docs/source/_static/logo.png\n :align: center\n\n|\n\n.. image:: https://img.shields.io/pypi/v/sandpaper.svg\n :target: https://pypi.org/project/sandpaper/\n :alt: PyPi Status\n\n.. image:: https://img.shields.io/pypi/pyversions/sandpaper.svg\n :target: https://pypi.org/project/sandpaper/\n :alt: Supported Versions\n\n.. image:: https://img.shields.io/pypi/status/sandpaper.svg\n :target: https://pypi.org/project/sandpaper/\n :alt: Release Status\n\n.. image:: https://img.shields.io/github/license/stephen-bunn/sandpaper.svg\n :target: https://github.com/stephen-bunn/sandpaper/blob/master/LICENSE\n :alt: License\n\n.. image:: https://readthedocs.org/projects/sandpaper/badge/?version=latest\n :target: http://sandpaper.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://travis-ci.org/stephen-bunn/sandpaper.svg?branch=master\n :target: https://travis-ci.org/stephen-bunn/sandpaper\n :alt: Build Status\n\n.. image:: https://codecov.io/gh/stephen-bunn/sandpaper/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/stephen-bunn/sandpaper\n :alt: Code Coverage\n\n.. image:: https://requires.io/github/stephen-bunn/sandpaper/requirements.svg?branch=master\n :target: https://requires.io/github/stephen-bunn/sandpaper/requirements/?branch=master\n :alt: Requirements Status\n\n.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg\n :target: https://saythanks.io/to/stephen-bunn\n :alt: Say Thanks\n\n\nBasic Usage\n-----------\n\nLearn more by reading the `documentation `_!\n\n\n.. code:: python\n\n from sandpaper import SandPaper\n\n paper = SandPaper('my-sandpaper')\\\n .strip( # strip whitespace from column comment\n column_filter=r'comment'\n )\\\n .translate_text({ # get group id from column group\n r'^group_(\\d+)$': '{0}'\n }, column_filter=r'group')\\\n .translate_date({ # normalize date from column date\n '%Y-%m-%d': '%c',\n '%m-%d': '%c'\n }, column_filter=r'date')\n\n # apply sandpaper rules to a source file and write results to a target file\n paper.apply('/home/you/source.csv', '/home/you/target.csv')", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stephen-bunn/sandpaper", "keywords": "normalize,csv,excel,table,clean", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "sandpaper", "package_url": "https://pypi.org/project/sandpaper/", "platform": "", "project_url": "https://pypi.org/project/sandpaper/", "project_urls": { "Homepage": "https://github.com/stephen-bunn/sandpaper" }, "release_url": "https://pypi.org/project/sandpaper/0.0.6/", "requires_dist": null, "requires_python": ">=2.7", "summary": "Simplified table-type data normalization", "version": "0.0.6" }, "last_serial": 3420218, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "36968c8b14ef214840cd3fab7da25827", "sha256": "c14b0fd9a1cf9c7896b27d409243e1b0dede09bf86e5bfc40c6d75e7deceb8cd" }, "downloads": -1, "filename": "sandpaper-0.0.0.tar.gz", "has_sig": false, "md5_digest": "36968c8b14ef214840cd3fab7da25827", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12063, "upload_time": "2017-10-24T17:24:01", "url": "https://files.pythonhosted.org/packages/02/2a/1e7227a3a7172c093becae5dd15b7b28591f1908a4ed0364947e68babb6b/sandpaper-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "fc77d65c113046129464f86371ee8117", "sha256": "b6229fa3f4dfc052c3292cfe34c7ca6b085740f4f143f1a060f34e32807f45c8" }, "downloads": -1, "filename": "sandpaper-0.0.1.tar.gz", "has_sig": false, "md5_digest": "fc77d65c113046129464f86371ee8117", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 13396, "upload_time": "2017-10-24T18:14:19", "url": "https://files.pythonhosted.org/packages/e5/de/37c0806fb0257cb1fbfbac3afcd0ad51dc193c153e7da9f518607dfa9f03/sandpaper-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7942860acf27b095a5d0ca88b056d0df", "sha256": "c1b4d9e9ad8da9320942b8952510dfb35e981623ed11d28f6916745c1200c8a3" }, "downloads": -1, "filename": "sandpaper-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7942860acf27b095a5d0ca88b056d0df", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 13735, "upload_time": "2017-10-24T19:41:12", "url": "https://files.pythonhosted.org/packages/b4/83/424521a5ab26e9e09a4252c5adf5357aa55f26db61164f1c40e0b7542bc1/sandpaper-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "693e48d79a9cb48e3203b1a63ce6a4c9", "sha256": "a1971e0a4a76607b96d19d3c2c4e1fb09ce0a83a756219ca56d5fc2faa095529" }, "downloads": -1, "filename": "sandpaper-0.0.3.tar.gz", "has_sig": false, "md5_digest": "693e48d79a9cb48e3203b1a63ce6a4c9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 13995, "upload_time": "2017-10-25T13:25:10", "url": "https://files.pythonhosted.org/packages/2d/77/a075257e24c2e7da4484e4cdce1971e89e8a6cde5fe0d6916472c4ef142b/sandpaper-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "efdf5f5a9203a419daf540802e3c66ed", "sha256": "c660a9e2636f5e524f9b846dfb583e3bbe6ea25addc22b77a770ea6e7941f469" }, "downloads": -1, "filename": "sandpaper-0.0.4.tar.gz", "has_sig": false, "md5_digest": "efdf5f5a9203a419daf540802e3c66ed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 14982, "upload_time": "2017-10-26T19:10:58", "url": "https://files.pythonhosted.org/packages/51/a6/8ff3fbb1bae9258ea5dfe1079483770a0b13d009d3dabf23a6dc3c735391/sandpaper-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "0cc667e07d3f81bdad4b80765cbb4418", "sha256": "48f379022100937b5f9818f4ff6761d025b5e5f05201d43bb9fc10800a0e29d3" }, "downloads": -1, "filename": "sandpaper-0.0.5.tar.gz", "has_sig": false, "md5_digest": "0cc667e07d3f81bdad4b80765cbb4418", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 13373, "upload_time": "2017-11-03T19:48:03", "url": "https://files.pythonhosted.org/packages/f2/45/a29fec7ac31c05572d95b6f9a8865043525d7b9d9e4d853999ffda1e87bb/sandpaper-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "24571e6766cec475bc356e25b42737e4", "sha256": "a523d4ff98f30dcf2912f7915ccf0ac718514a6fc85cdd9e7cfa1297e75bb332" }, "downloads": -1, "filename": "sandpaper-0.0.6.tar.gz", "has_sig": false, "md5_digest": "24571e6766cec475bc356e25b42737e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 13732, "upload_time": "2017-12-15T15:35:02", "url": "https://files.pythonhosted.org/packages/d4/aa/08911dc5b99b44722bf56754c450df0074810f8c82f1e7d868f126af4c6c/sandpaper-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "24571e6766cec475bc356e25b42737e4", "sha256": "a523d4ff98f30dcf2912f7915ccf0ac718514a6fc85cdd9e7cfa1297e75bb332" }, "downloads": -1, "filename": "sandpaper-0.0.6.tar.gz", "has_sig": false, "md5_digest": "24571e6766cec475bc356e25b42737e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 13732, "upload_time": "2017-12-15T15:35:02", "url": "https://files.pythonhosted.org/packages/d4/aa/08911dc5b99b44722bf56754c450df0074810f8c82f1e7d868f126af4c6c/sandpaper-0.0.6.tar.gz" } ] }