backrefs


Namebackrefs JSON
Version 5.7.post1 PyPI version JSON
download
home_pageNone
SummaryA wrapper around re and regex that adds additional back references.
upload_time2024-06-16 18:38:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords re regex
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            [![Donate via PayPal][donate-image]][donate-link]
[![Discord][discord-image]][discord-link]
[![Build][github-ci-image]][github-ci-link]
[![Coverage Status][codecov-image]][codecov-link]
[![PyPI Version][pypi-image]][pypi-link]
[![PyPI Downloads][pypi-down]][pypi-link]
[![PyPI - Python Version][python-image]][pypi-link]
![License][license-image-mit]

# Backrefs

Backrefs is a wrapper around Python's built-in [Re][re] and the 3rd party [Regex][regex] library.  Backrefs adds various
additional back references (and a couple other features) that are known to some regular expression engines, but not to
Python's Re and/or Regex.  The supported back references actually vary depending on the regular expression engine being
used as the engine may already have support for some.

```python
from backrefs import bre
>>> pattern = bre.compile(r'(\p{Letter}+)')
>>> pattern.sub(r'\C\1\E', 'sometext')
'SOMETEXT'
```

# Documentation

https://facelessuser.github.io/backrefs/

# License

MIT

[github-ci-image]: https://github.com/facelessuser/backrefs/workflows/build/badge.svg?branch=master&event=push
[github-ci-link]: https://github.com/facelessuser/backrefs/actions?query=workflow%3Abuild+branch%3Amaster
[discord-image]: https://img.shields.io/discord/678289859768745989?logo=discord&logoColor=aaaaaa&color=mediumpurple&labelColor=333333
[discord-link]:https://discord.gg/TWs8Tgr
[codecov-image]: https://img.shields.io/codecov/c/github/facelessuser/backrefs/master.svg?logo=codecov&logoColor=aaaaaa&labelColor=333333
[codecov-link]: https://codecov.io/github/facelessuser/backrefs
[pypi-image]: https://img.shields.io/pypi/v/backrefs.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333
[pypi-down]: https://img.shields.io/pypi/dm/backrefs.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333
[pypi-link]: https://pypi.python.org/pypi/backrefs
[python-image]: https://img.shields.io/pypi/pyversions/backrefs?logo=python&logoColor=aaaaaa&labelColor=333333
[license-image-mit]: https://img.shields.io/badge/license-MIT-blue.svg?labelColor=333333
[donate-image]: https://img.shields.io/badge/Donate-PayPal-3fabd1?logo=paypal
[donate-link]: https://www.paypal.me/facelessuser

[re]: https://docs.python.org/3/library/re.html
[regex]: https://pypi.python.org/pypi/regex

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "backrefs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "re, regex",
    "author": null,
    "author_email": "Isaac Muse <Isaac.Muse@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/df/30/903f35159c87ff1d92aa3fcf8cb52de97632a21e0ae43ed940f5d033e01a/backrefs-5.7.post1.tar.gz",
    "platform": null,
    "description": "[![Donate via PayPal][donate-image]][donate-link]\n[![Discord][discord-image]][discord-link]\n[![Build][github-ci-image]][github-ci-link]\n[![Coverage Status][codecov-image]][codecov-link]\n[![PyPI Version][pypi-image]][pypi-link]\n[![PyPI Downloads][pypi-down]][pypi-link]\n[![PyPI - Python Version][python-image]][pypi-link]\n![License][license-image-mit]\n\n# Backrefs\n\nBackrefs is a wrapper around Python's built-in [Re][re] and the 3rd party [Regex][regex] library.  Backrefs adds various\nadditional back references (and a couple other features) that are known to some regular expression engines, but not to\nPython's Re and/or Regex.  The supported back references actually vary depending on the regular expression engine being\nused as the engine may already have support for some.\n\n```python\nfrom backrefs import bre\n>>> pattern = bre.compile(r'(\\p{Letter}+)')\n>>> pattern.sub(r'\\C\\1\\E', 'sometext')\n'SOMETEXT'\n```\n\n# Documentation\n\nhttps://facelessuser.github.io/backrefs/\n\n# License\n\nMIT\n\n[github-ci-image]: https://github.com/facelessuser/backrefs/workflows/build/badge.svg?branch=master&event=push\n[github-ci-link]: https://github.com/facelessuser/backrefs/actions?query=workflow%3Abuild+branch%3Amaster\n[discord-image]: https://img.shields.io/discord/678289859768745989?logo=discord&logoColor=aaaaaa&color=mediumpurple&labelColor=333333\n[discord-link]:https://discord.gg/TWs8Tgr\n[codecov-image]: https://img.shields.io/codecov/c/github/facelessuser/backrefs/master.svg?logo=codecov&logoColor=aaaaaa&labelColor=333333\n[codecov-link]: https://codecov.io/github/facelessuser/backrefs\n[pypi-image]: https://img.shields.io/pypi/v/backrefs.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333\n[pypi-down]: https://img.shields.io/pypi/dm/backrefs.svg?logo=pypi&logoColor=aaaaaa&labelColor=333333\n[pypi-link]: https://pypi.python.org/pypi/backrefs\n[python-image]: https://img.shields.io/pypi/pyversions/backrefs?logo=python&logoColor=aaaaaa&labelColor=333333\n[license-image-mit]: https://img.shields.io/badge/license-MIT-blue.svg?labelColor=333333\n[donate-image]: https://img.shields.io/badge/Donate-PayPal-3fabd1?logo=paypal\n[donate-link]: https://www.paypal.me/facelessuser\n\n[re]: https://docs.python.org/3/library/re.html\n[regex]: https://pypi.python.org/pypi/regex\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A wrapper around re and regex that adds additional back references.",
    "version": "5.7.post1",
    "project_urls": {
        "Homepage": "https://github.com/facelessuser/backrefs"
    },
    "split_keywords": [
        "re",
        " regex"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24bb47fc255d1060dcfd55b460236380edd8ebfc5b2a42a0799ca90c9fc983e3",
                "md5": "bd05f75e6aa51b197dc24aad0298fbcd",
                "sha256": "c5e3fd8fd185607a7cb1fefe878cfb09c34c0be3c18328f12c574245f1c0287e"
            },
            "downloads": -1,
            "filename": "backrefs-5.7.post1-py310-none-any.whl",
            "has_sig": false,
            "md5_digest": "bd05f75e6aa51b197dc24aad0298fbcd",
            "packagetype": "bdist_wheel",
            "python_version": "py310",
            "requires_python": ">=3.8",
            "size": 380429,
            "upload_time": "2024-06-16T18:38:10",
            "upload_time_iso_8601": "2024-06-16T18:38:10.131780Z",
            "url": "https://files.pythonhosted.org/packages/24/bb/47fc255d1060dcfd55b460236380edd8ebfc5b2a42a0799ca90c9fc983e3/backrefs-5.7.post1-py310-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "897239ef491caef3abae945f5a5fd72830d3b596bfac0630508629283585e213",
                "md5": "622c2e810de5118e304bb8392866d5b5",
                "sha256": "712ea7e494c5bf3291156e28954dd96d04dc44681d0e5c030adf2623d5606d51"
            },
            "downloads": -1,
            "filename": "backrefs-5.7.post1-py311-none-any.whl",
            "has_sig": false,
            "md5_digest": "622c2e810de5118e304bb8392866d5b5",
            "packagetype": "bdist_wheel",
            "python_version": "py311",
            "requires_python": ">=3.8",
            "size": 392234,
            "upload_time": "2024-06-16T18:38:12",
            "upload_time_iso_8601": "2024-06-16T18:38:12.283378Z",
            "url": "https://files.pythonhosted.org/packages/89/72/39ef491caef3abae945f5a5fd72830d3b596bfac0630508629283585e213/backrefs-5.7.post1-py311-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a0033403f581b732ca70fdebab558e8bbb426a29c34e0c3ed674a479b74beea",
                "md5": "7dd99c95a40ba455c0a3703acd67a94c",
                "sha256": "a6142201c8293e75bce7577ac29e1a9438c12e730d73a59efdd1b75528d1a6c5"
            },
            "downloads": -1,
            "filename": "backrefs-5.7.post1-py312-none-any.whl",
            "has_sig": false,
            "md5_digest": "7dd99c95a40ba455c0a3703acd67a94c",
            "packagetype": "bdist_wheel",
            "python_version": "py312",
            "requires_python": ">=3.8",
            "size": 398110,
            "upload_time": "2024-06-16T18:38:14",
            "upload_time_iso_8601": "2024-06-16T18:38:14.257657Z",
            "url": "https://files.pythonhosted.org/packages/6a/00/33403f581b732ca70fdebab558e8bbb426a29c34e0c3ed674a479b74beea/backrefs-5.7.post1-py312-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5deadf0ac74a26838f6588aa012d5d801831448b87d0a7d0aefbbfabbe894870",
                "md5": "6c6dfd634721ef45e6a4bc42239e5859",
                "sha256": "ec61b1ee0a4bfa24267f6b67d0f8c5ffdc8e0d7dc2f18a2685fd1d8d9187054a"
            },
            "downloads": -1,
            "filename": "backrefs-5.7.post1-py38-none-any.whl",
            "has_sig": false,
            "md5_digest": "6c6dfd634721ef45e6a4bc42239e5859",
            "packagetype": "bdist_wheel",
            "python_version": "py38",
            "requires_python": ">=3.8",
            "size": 369477,
            "upload_time": "2024-06-16T18:38:16",
            "upload_time_iso_8601": "2024-06-16T18:38:16.196061Z",
            "url": "https://files.pythonhosted.org/packages/5d/ea/df0ac74a26838f6588aa012d5d801831448b87d0a7d0aefbbfabbe894870/backrefs-5.7.post1-py38-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6fe8e43f535c0a17a695e5768670fc855a0e5d52dc0d4135b3915bfa355f65ac",
                "md5": "fd83940e69fa3cd3c91f4fb0bdc9ef5c",
                "sha256": "05c04af2bf752bb9a6c9dcebb2aff2fab372d3d9d311f2a138540e307756bd3a"
            },
            "downloads": -1,
            "filename": "backrefs-5.7.post1-py39-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd83940e69fa3cd3c91f4fb0bdc9ef5c",
            "packagetype": "bdist_wheel",
            "python_version": "py39",
            "requires_python": ">=3.8",
            "size": 380429,
            "upload_time": "2024-06-16T18:38:18",
            "upload_time_iso_8601": "2024-06-16T18:38:18.079253Z",
            "url": "https://files.pythonhosted.org/packages/6f/e8/e43f535c0a17a695e5768670fc855a0e5d52dc0d4135b3915bfa355f65ac/backrefs-5.7.post1-py39-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df30903f35159c87ff1d92aa3fcf8cb52de97632a21e0ae43ed940f5d033e01a",
                "md5": "139cf9f747945d853bf5012381d09d45",
                "sha256": "8b0f83b770332ee2f1c8244f4e03c77d127a0fa529328e6a0e77fa25bee99678"
            },
            "downloads": -1,
            "filename": "backrefs-5.7.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "139cf9f747945d853bf5012381d09d45",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6582270,
            "upload_time": "2024-06-16T18:38:20",
            "upload_time_iso_8601": "2024-06-16T18:38:20.166434Z",
            "url": "https://files.pythonhosted.org/packages/df/30/903f35159c87ff1d92aa3fcf8cb52de97632a21e0ae43ed940f5d033e01a/backrefs-5.7.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-16 18:38:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "facelessuser",
    "github_project": "backrefs",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "backrefs"
}
        
Elapsed time: 0.41566s