{ "info": { "author": "Joe Cross", "author_email": "joe.mcross@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries" ], "description": "# rematch 0.1.0\n\n[![Build Status]\n(https://travis-ci.org/numberoverzero/rematch.svg?branch=master)]\n(https://travis-ci.org/numberoverzero/rematch)[![Coverage Status]\n(https://coveralls.io/repos/numberoverzero/rematch/badge.png?branch=master)]\n(https://coveralls.io/r/numberoverzero/rematch?branch=master)\n\nDownloads https://pypi.python.org/pypi/rematch\n\nSource https://github.com/numberoverzero/rematch\n\nSimplified routing and parsing module\n\n# Installation\n\n`pip install rematch`\n\n# Getting Started\n\n\n```python\nimport rematch\n\nhelp_pattern = rematch.compile(\"help \")\n\n\ndef handle(message):\n match = help_pattern.match(message)\n if not match:\n return \"Unkown command\"\n\n command_name = match['command']\n command = commands[command_name]\n\n args = match.get('args', None)\n if args:\n return command.help_for(args)\n\n return command.help()\n```\n\n# Versioning\n\n* rematch follows semver for its **public** API.\n\n * You should not rely on the internal api staying the same between minor versions.\n * Over time, private apis may be raised to become public. The reverse will never occur.\n\n# Contributing\nContributions welcome! Please make sure `tox` passes (including flake8) before submitting a PR.\n\n### Development\nrematch uses `tox`, `pytest` and `flake8`. To get everything set up:\n\n```\n# RECOMMENDED: create a virtualenv with:\n# mkvirtualenv rematch\ngit clone https://github.com/numberoverzero/rematch.git\npip install tox\ntox\n```\n\n### TODO\n\n# API\n\n### rematch.compile(pattern, **flags)\n\n### rematch.match(pattern, string, **flags)", "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/numberoverzero/rematch", "keywords": "irc bot asnycio client", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rematch", "package_url": "https://pypi.org/project/rematch/", "platform": "any", "project_url": "https://pypi.org/project/rematch/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/numberoverzero/rematch" }, "release_url": "https://pypi.org/project/rematch/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Simplified routing and parsing module", "version": "0.1.0" }, "last_serial": 1291206, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9ce2c18147fdcc19a176d05507c51994", "sha256": "42c0956edb2e6f3d5c08a2084f58ebe39c987f52c354717e9744a9ccf772bf8b" }, "downloads": -1, "filename": "rematch-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9ce2c18147fdcc19a176d05507c51994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2317, "upload_time": "2014-11-01T19:18:19", "url": "https://files.pythonhosted.org/packages/d8/37/2a76a2704f392a68d1f3d882e97d07d8f53d4569ed959614faa1853ac8e7/rematch-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9ce2c18147fdcc19a176d05507c51994", "sha256": "42c0956edb2e6f3d5c08a2084f58ebe39c987f52c354717e9744a9ccf772bf8b" }, "downloads": -1, "filename": "rematch-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9ce2c18147fdcc19a176d05507c51994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2317, "upload_time": "2014-11-01T19:18:19", "url": "https://files.pythonhosted.org/packages/d8/37/2a76a2704f392a68d1f3d882e97d07d8f53d4569ed959614faa1853ac8e7/rematch-0.1.0.tar.gz" } ] }