{ "info": { "author": "Rafael Guill\u00e9n", "author_email": "arthexis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: Text Processing", "Topic :: Utilities" ], "description": "# Exacto\n\nExacto is a collection of Python tools that simplify splitting strings according to non-trivial business rules. You may find this package useful if: \n\n - A regular expression is not enough for your use case.\n - You want to avoid writing and maintaining manual parsing code.\n - You don't want to mess around with LLVM or FSMs.\n \nHowever, if performance is your primary goal, these tools may not be for you. \n\n# Usage\n\n```python\nfrom exacto import split, lift, quote, nest\n\n# Simple example with default rules: split on whitespace\nresult = split(\"Hello World\") \nassert list(result) == [\"Hello\", \"World\"]\n\n# Complicated example with custom separator and quotes\nresult = split(\"ENV='Prod-172.0.10.10'.VER='2.1'\", quote(\"'\"), \".\")\nassert list(result) == [\"ENV='Prod Env'\", \"VER='2.1'\"]\n\n# Extract embedded tokens\nresult = lift(\"Hello [FOO] is [BAR]\", nest(\"[\", \"]\"))\nassert list(result) == [\"FOO\", \"BAR\"]\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/arthexis/exacto/archive/v0.2.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/arthexis/exacto", "keywords": "UTILS,SPLIT,STRING", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "exacto", "package_url": "https://pypi.org/project/exacto/", "platform": "", "project_url": "https://pypi.org/project/exacto/", "project_urls": { "Download": "https://github.com/arthexis/exacto/archive/v0.2.2.tar.gz", "Homepage": "http://github.com/arthexis/exacto" }, "release_url": "https://pypi.org/project/exacto/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Python tools for splitting strings.", "version": "0.2.2" }, "last_serial": 5955023, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "b6fb4563fa40eabcf77e578374568d69", "sha256": "b301bddaa4dabc52e3b9d3e104a4a4c92adf66a40a310cfc9dd53b37e907c373" }, "downloads": -1, "filename": "exacto-0.1.3.win-amd64.zip", "has_sig": false, "md5_digest": "b6fb4563fa40eabcf77e578374568d69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5542, "upload_time": "2019-10-07T20:16:39", "url": "https://files.pythonhosted.org/packages/8b/2d/d58caa90de46995b4c9bd96c6f074b80b69ba4c46294df5812a3929bb57f/exacto-0.1.3.win-amd64.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "a639c2d0c9ce8bb3a807e1ebd555791e", "sha256": "ba7a07c91a1b552aa67098a7bed13da5c699710f12768813c0870c237e7d0c03" }, "downloads": -1, "filename": "exacto-0.1.4.tar.gz", "has_sig": false, "md5_digest": "a639c2d0c9ce8bb3a807e1ebd555791e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4174, "upload_time": "2019-10-07T20:48:08", "url": "https://files.pythonhosted.org/packages/36/f2/86c20807e312f74571fd7f05b074ca7d5ac34ab39ced0b89b113b17cd7ce/exacto-0.1.4.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5fb73a87cc7419567bcdbb28c4839c27", "sha256": "8b48dde639b26481a30904fb4b242a014455bb66daf31986902f6bb36ab35ea2" }, "downloads": -1, "filename": "exacto-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5fb73a87cc7419567bcdbb28c4839c27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3284, "upload_time": "2019-10-08T19:00:52", "url": "https://files.pythonhosted.org/packages/2f/6b/ac37b752f74c752e7b0d026351d49f0b3758303aff5b9e855b8f6168de0d/exacto-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "e67623a0604019ace07f58be55a537d2", "sha256": "db74f2ec6f8af4d6b62ddd3cd910bb6b42ddede76af7744fb9f881356b60e75f" }, "downloads": -1, "filename": "exacto-0.2.2.tar.gz", "has_sig": false, "md5_digest": "e67623a0604019ace07f58be55a537d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4051, "upload_time": "2019-10-10T14:13:00", "url": "https://files.pythonhosted.org/packages/ae/7c/e4184199497cca448e8ce4d32aef8b3634922f66520f148f478c1993ed10/exacto-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e67623a0604019ace07f58be55a537d2", "sha256": "db74f2ec6f8af4d6b62ddd3cd910bb6b42ddede76af7744fb9f881356b60e75f" }, "downloads": -1, "filename": "exacto-0.2.2.tar.gz", "has_sig": false, "md5_digest": "e67623a0604019ace07f58be55a537d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4051, "upload_time": "2019-10-10T14:13:00", "url": "https://files.pythonhosted.org/packages/ae/7c/e4184199497cca448e8ce4d32aef8b3634922f66520f148f478c1993ed10/exacto-0.2.2.tar.gz" } ] }