{
  "result": {
    "1.5.0": {
      "name": "onigurumacffi",
      "version": "1.5.0",
      "metadata_version": "2.4",
      "summary": "python cffi bindings for the oniguruma regex engine",
      "home_page": "https://github.com/asottile/onigurumacffi",
      "author": "Anthony Sottile",
      "author_email": "asottile@umich.edu",
      "maintainer": "",
      "maintainer_email": "",
      "license": "MIT",
      "description": "[![build status](https://github.com/asottile/onigurumacffi/actions/workflows/main.yml/badge.svg)](https://github.com/asottile/onigurumacffi/actions/workflows/main.yml)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/onigurumacffi/main.svg)](https://results.pre-commit.ci/latest/github/asottile/onigurumacffi/main)\n\nonigurumacffi\n=============\n\npython cffi bindings for the oniguruma regex engine\n\n### installation\n\n```bash\npip install onigurumacffi\n```\n\n- wheels should be available on pypi in most cases\n- to build from source, `libonig-dev` must be installed prior to installation\n\n### api\n\nthe api is currently *very limited* (basically just enough to support what I\nneeded).\n\n#### `compile(pattern: str) -> _Pattern`\n\nmake a compiled pattern\n\n#### `compile_regset(*patterns: str) -> _RegSet`\n\nmake a compiled RegSet\n\n#### `OnigSearchOption`\n\nan enum listing the search-time options for oniguruma\n\nthe current set of options are:\n\n```python\nclass OnigSearchOption(enum.IntEnum):\n    NONE = ...\n    NOTBOL = ...\n    NOTEOL = ...\n    POSIX_REGION = ...\n    CHECK_VALIDITY_OF_STRING = ...\n    NOT_BEGIN_STRING = ...\n    NOT_BEGIN_POSITION = ...\n```\n\n#### `_Pattern.match(s: str, start: int = 0, flags: OnigSearchOption = OnigSearchOption.NONE) -> Optional[_Match]`\n\nmatch a string using the pattern.  optionally set `start` to adjust the offset\nwhich is searched from\n\n#### `_Pattern.search(s: str, start: int = 0, flags: OnigSearchOption = OnigSearchOption.NONE) -> Optional[_Match]`\n\nsearch a string using the pattern.  optionally set `start` to adjust the offset\nwhich is searched from\n\n#### `_Pattern.number_of_captures() -> int`\n\nreturn the number of captures in the regex\n\n#### `_RegSet.search(s: str, start: int = 0, flags: OnigSearchOption = OnigSearchOption.NONE) -> Tuple[int, Optional[_Match]]`\n\nsearch a string using the RegSet.  optionally set `start` to adjust the offset\nwhich is searched from\n\nthe leftmost regex index and match is returned or `(-1, None)` if there is no\nmatch\n\n#### `_Match.group(n: int = 0) -> str`\n\nreturn the string of the matched group, defaults to 0 (the whole match)\n\n#### `_Match[n: int] -> str`\n\na shorthand alias for `_Match.group(...)`\n\n#### `_Match.start(n: int = 0) -> int`\n\nreturn the character position of the start of the matched group, defaults to 0\n(the whole match)\n\n#### `_Match.end(n: int = 0) -> int`\n\nreturn the character position of the end of the matched group, defaults to 0\n(the whole match)\n\n#### `_Match.span(n: int = 0) -> int`\n\nreturn `(start, end)` character position of the matched group, defaults to 0\n(the whole match)\n\n#### `_Match.expand(s: str) -> str`\n\nexpand numeric groups in `s` via the groups in the match\n",
      "keywords": "",
      "platform": [],
      "classifiers": [
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Environment :: MetaData :: IBM Python Ecosystem"
      ],
      "download_url": "",
      "supported_platform": [],
      "comment": "",
      "provides": [],
      "requires": [],
      "obsoletes": [],
      "project_urls": [],
      "provides_dist": [],
      "obsoletes_dist": [],
      "requires_dist": [
        "cffi>=1"
      ],
      "requires_external": [],
      "requires_python": ">=3.10",
      "description_content_type": "text/markdown",
      "provides_extras": [],
      "dynamic": [
        "license-file"
      ],
      "license_expression": "",
      "license_file": [
        "LICENSE"
      ],
      "+links": [
        {
          "rel": "releasefile",
          "hash_spec": "sha256=7d988d527e8508dfad218fde3cc1c78f7cef234863d0ad46fdcd460885c5076b",
          "hashes": {
            "sha256": "7d988d527e8508dfad218fde3cc1c78f7cef234863d0ad46fdcd460885c5076b"
          },
          "href": "https://wheels.developerfirst.ibm.com/ppc64le/linux/+f/7d9/88d527e8508df/onigurumacffi-1.5.0-cp310-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl",
          "log": [
            {
              "what": "overwrite",
              "who": null,
              "when": [
                2026,
                8,
                20,
                10,
                38,
                15
              ],
              "count": 1
            },
            {
              "what": "upload",
              "who": "ppc64le",
              "when": [
                2026,
                8,
                20,
                10,
                38,
                15
              ],
              "dst": "ppc64le/linux"
            }
          ]
        },
        {
          "rel": "releasefile",
          "hash_spec": "sha256=719a0cd8b506e1c5ab3f64e1e1c4308974478304081e512580ff044cbac3e521",
          "hashes": {
            "sha256": "719a0cd8b506e1c5ab3f64e1e1c4308974478304081e512580ff044cbac3e521"
          },
          "href": "https://wheels.developerfirst.ibm.com/ppc64le/linux/+f/719/a0cd8b506e1c5/onigurumacffi-1.5.0-cp311-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl",
          "log": [
            {
              "what": "overwrite",
              "who": null,
              "when": [
                2026,
                8,
                20,
                10,
                38,
                15
              ],
              "count": 1
            },
            {
              "what": "upload",
              "who": "ppc64le",
              "when": [
                2026,
                8,
                20,
                10,
                38,
                15
              ],
              "dst": "ppc64le/linux"
            }
          ]
        },
        {
          "rel": "releasefile",
          "hash_spec": "sha256=dbcba5035302b05dd088310d4c7b45ef0444c6ae7b0379ac4493979a75a0f5c3",
          "hashes": {
            "sha256": "dbcba5035302b05dd088310d4c7b45ef0444c6ae7b0379ac4493979a75a0f5c3"
          },
          "href": "https://wheels.developerfirst.ibm.com/ppc64le/linux/+f/dbc/ba5035302b05d/onigurumacffi-1.5.0-cp312-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl",
          "log": [
            {
              "what": "overwrite",
              "who": null,
              "when": [
                2026,
                8,
                20,
                10,
                38,
                16
              ],
              "count": 1
            },
            {
              "what": "upload",
              "who": "ppc64le",
              "when": [
                2026,
                8,
                20,
                10,
                38,
                16
              ],
              "dst": "ppc64le/linux"
            }
          ]
        },
        {
          "rel": "releasefile",
          "hash_spec": "sha256=9593f096f098f1fa3a9d3cbd38018afe860c5a3c21e296b756af6e7bfe9aa079",
          "hashes": {
            "sha256": "9593f096f098f1fa3a9d3cbd38018afe860c5a3c21e296b756af6e7bfe9aa079"
          },
          "href": "https://wheels.developerfirst.ibm.com/ppc64le/linux/+f/959/3f096f098f1fa/onigurumacffi-1.5.0-cp313-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl",
          "log": [
            {
              "what": "overwrite",
              "who": null,
              "when": [
                2026,
                8,
                20,
                10,
                38,
                16
              ],
              "count": 1
            },
            {
              "what": "upload",
              "who": "ppc64le",
              "when": [
                2026,
                8,
                20,
                10,
                38,
                16
              ],
              "dst": "ppc64le/linux"
            }
          ]
        },
        {
          "rel": "releasefile",
          "hash_spec": "sha256=5aff23a3580287ac3f87e74012bf9a99843bc0415ad748213db0f6f050c04f29",
          "hashes": {
            "sha256": "5aff23a3580287ac3f87e74012bf9a99843bc0415ad748213db0f6f050c04f29"
          },
          "href": "https://wheels.developerfirst.ibm.com/ppc64le/linux/+f/5af/f23a3580287ac/onigurumacffi-1.5.0-cp314-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl",
          "log": [
            {
              "what": "overwrite",
              "who": null,
              "when": [
                2026,
                8,
                20,
                10,
                38,
                16
              ],
              "count": 1
            },
            {
              "what": "upload",
              "who": "ppc64le",
              "when": [
                2026,
                8,
                20,
                10,
                38,
                16
              ],
              "dst": "ppc64le/linux"
            }
          ]
        }
      ]
    }
  },
  "type": "projectconfig"
}
