{
"info": {
"author": "Kay Schluehr",
"author_email": "kay@fiber-space.de",
"bugtrack_url": null,
"classifiers": [
"Topic :: Software Development :: Libraries"
],
"description": "Introduction\r\n------------\r\n\r\nThis is the revival of a small Python module which lived once on the now\r\nabandoned *Vaults of Parnassus* when I\r\nentered Python programming about a decade ago. It was originally written and\r\npublished by\r\n`JasonHarper `_ in 1998 on a \"free for any use\" license.\r\nSince then it has slowly\r\nfaded from the net which I find a bit sad.\r\n\r\nWhat is reverb?\r\n~~~~~~~~~~~~~~~\r\n\r\n``reverb.py`` is a tiny wrapper around Pythons ``re`` module which maps regular\r\nexpressions\r\nonto Python expressions for the sake of readability. The module name can be read\r\nas \"re-verb(ose)\". reverb\r\nfollows the Python tradition of keeping the amount of punctuation small and\r\navoid punctuation collisions.\r\n\r\nIn reverb one writes ::\r\n\r\n\tOptional(Digit)+\".\"+Required(Digit)\r\n\r\ninstead of ::\r\n\r\n\t\\d*\\.\\d+\r\n\r\nto denote a pattern that matches a floating point number. The reverb reads much\r\nlike a meta-language explanation\r\nof the dense and compact regexp.\r\n\r\nFrom a reverb object one can fetch the regexp using the ``text`` attribute ::\r\n\r\n\t>>> (Optional(Digit)+\".\"+Required(Digit)).text\r\n\t'\\\\d*\\\\.\\\\d+'\r\n\r\nEach reverb object translates to a regexp and it is finally the regexp which is\r\ncompiled and matched\r\nagainst strings.\r\n\r\nReverb in context\r\n~~~~~~~~~~~~~~~~~\r\nI think about ``reverb`` any time I encounter a `regexp learning tool\r\n`_ but also\r\n`pyparsing `_ which has grown in popularity\r\nwithin the Python community and I\r\nsuspect it did this for reasons not dissimilar to those intended by ``reverb``:\r\n\"avoiding line noise\r\nwhen writing regular expressions\" in the words of Jason Harper. So I do think it\r\nfits a real need.\r\n\r\nThe only significant change I made to reverb is capitalization of names. reverb\r\n1.0 was published when Python 1.5\r\ncame out and used identifiers like ``any`` and ``set`` which have now\r\ncounterparts as builtins in Pythons standard\r\nlibrary.\r\n\r\nDocumentation\r\n~~~~~~~~~~~~~\r\n\r\nThe complete module documentation can be found `here\r\n`_",
"description_content_type": null,
"docs_url": null,
"download_url": "http://pypi.python.org/pypi/reverb/2.0.1",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://www.fiber-space.de/",
"keywords": "",
"license": "BSD",
"maintainer": "Kay Schluehr",
"maintainer_email": "",
"name": "reverb",
"package_url": "https://pypi.org/project/reverb/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/reverb/",
"project_urls": {
"Download": "http://pypi.python.org/pypi/reverb/2.0.1",
"Homepage": "http://www.fiber-space.de/"
},
"release_url": "https://pypi.org/project/reverb/2.0.1/",
"requires_dist": null,
"requires_python": null,
"summary": "re module wrapper for writing regular expressions in functional style",
"version": "2.0.1"
},
"last_serial": 798929,
"releases": {
"2.0": [
{
"comment_text": "",
"digests": {
"md5": "28b6fcfd534ce1df866446649cba3b3b",
"sha256": "9a70169a9851319221e3bad5ab6acc45115d7bf5f73581e715a9d91ede85ec3a"
},
"downloads": -1,
"filename": "reverb-2.0.tar.gz",
"has_sig": false,
"md5_digest": "28b6fcfd534ce1df866446649cba3b3b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2744,
"upload_time": "2010-02-28T09:14:01",
"url": "https://files.pythonhosted.org/packages/e7/68/4d214c36799ba6e6f33bb959f363240eaaff1e30408c68a9c0696becac8f/reverb-2.0.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "8155f3d1bbb2dce0908068b9177cdd09",
"sha256": "09101ee2e9ee90942f6132e4c274277eb703398a1dd452ad3eddc13e2fe4e6f8"
},
"downloads": -1,
"filename": "reverb-2.0.zip",
"has_sig": false,
"md5_digest": "8155f3d1bbb2dce0908068b9177cdd09",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3208,
"upload_time": "2010-02-28T09:14:14",
"url": "https://files.pythonhosted.org/packages/af/96/0ff063e8430eec3ceabd8da171bd81f07d5f08b28ec1784714433569b5c8/reverb-2.0.zip"
}
],
"2.0.1": [
{
"comment_text": "",
"digests": {
"md5": "ba2bcb5ea344f047839e7d1e3f077a3f",
"sha256": "8dda1cc59ee87c0ce7822338bece1c0635319c6227afd718c3ebe296331ddb0e"
},
"downloads": -1,
"filename": "reverb-2.0.1.tar.gz",
"has_sig": false,
"md5_digest": "ba2bcb5ea344f047839e7d1e3f077a3f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2799,
"upload_time": "2011-04-28T06:23:43",
"url": "https://files.pythonhosted.org/packages/6a/22/c45dd56656f2a0e5cc1c4ede1f87a2d8776bb9404c2a20d1718002553da6/reverb-2.0.1.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "e04d2d2d359fec9490dccc0d2a4a55fa",
"sha256": "b65009f7723dac38eb1597dcf691e54cbf2431446f50ece37c3b572decf73ba3"
},
"downloads": -1,
"filename": "reverb-2.0.1.zip",
"has_sig": false,
"md5_digest": "e04d2d2d359fec9490dccc0d2a4a55fa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3359,
"upload_time": "2011-04-28T06:23:55",
"url": "https://files.pythonhosted.org/packages/10/69/1800d4345e0562260fa0818f6ac50d2f43d4595f33743c9e2c655709d86d/reverb-2.0.1.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ba2bcb5ea344f047839e7d1e3f077a3f",
"sha256": "8dda1cc59ee87c0ce7822338bece1c0635319c6227afd718c3ebe296331ddb0e"
},
"downloads": -1,
"filename": "reverb-2.0.1.tar.gz",
"has_sig": false,
"md5_digest": "ba2bcb5ea344f047839e7d1e3f077a3f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2799,
"upload_time": "2011-04-28T06:23:43",
"url": "https://files.pythonhosted.org/packages/6a/22/c45dd56656f2a0e5cc1c4ede1f87a2d8776bb9404c2a20d1718002553da6/reverb-2.0.1.tar.gz"
},
{
"comment_text": "",
"digests": {
"md5": "e04d2d2d359fec9490dccc0d2a4a55fa",
"sha256": "b65009f7723dac38eb1597dcf691e54cbf2431446f50ece37c3b572decf73ba3"
},
"downloads": -1,
"filename": "reverb-2.0.1.zip",
"has_sig": false,
"md5_digest": "e04d2d2d359fec9490dccc0d2a4a55fa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3359,
"upload_time": "2011-04-28T06:23:55",
"url": "https://files.pythonhosted.org/packages/10/69/1800d4345e0562260fa0818f6ac50d2f43d4595f33743c9e2c655709d86d/reverb-2.0.1.zip"
}
]
}