tree-sitter-apertium


Nametree-sitter-apertium JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
Summarytree-sitter grammars for Apertium formats
upload_time2024-11-29 20:59:10
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseGPL-3.0-or-later
keywords incremental parsing tree-sitter cg
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tree-sitter-apertium

This repository contains tree-sitter parsers for the various non-XML file formats used in Apertium.

## Requirements

### Parsers

* `npm`
* [`tree-sitter`](https://github.com/tree-sitter/tree-sitter) CLI
* a C compiler

```bash
npm install tree-sitter-cli
```

### Python bindings

#### Runtime dependencies

* [tree-sitter Python bindings](https://github.com/tree-sitter/py-tree-sitter)

```bash
pip3 install tree_sitter
```

#### Build dependencies

* `setuptools`
* on Linux, `auditwheel` and `patchelf`

```bash
pip3 install auditwheel setuptools
apt install patchelf
```

## Compiling

To compile everything, run

```bash
make
```

To compile only the parsers and not the Python bindings, run

```bash
make langs
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tree-sitter-apertium",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "incremental, parsing, tree-sitter, cg",
    "author": null,
    "author_email": "Daniel Swanson <awesomeevildudes@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/2a/64/1672e6356595a454d32bf201497376b8ea4b9babebc61cf27d8379c4299b/tree_sitter_apertium-0.2.1.tar.gz",
    "platform": null,
    "description": "# tree-sitter-apertium\n\nThis repository contains tree-sitter parsers for the various non-XML file formats used in Apertium.\n\n## Requirements\n\n### Parsers\n\n* `npm`\n* [`tree-sitter`](https://github.com/tree-sitter/tree-sitter) CLI\n* a C compiler\n\n```bash\nnpm install tree-sitter-cli\n```\n\n### Python bindings\n\n#### Runtime dependencies\n\n* [tree-sitter Python bindings](https://github.com/tree-sitter/py-tree-sitter)\n\n```bash\npip3 install tree_sitter\n```\n\n#### Build dependencies\n\n* `setuptools`\n* on Linux, `auditwheel` and `patchelf`\n\n```bash\npip3 install auditwheel setuptools\napt install patchelf\n```\n\n## Compiling\n\nTo compile everything, run\n\n```bash\nmake\n```\n\nTo compile only the parsers and not the Python bindings, run\n\n```bash\nmake langs\n```\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-or-later",
    "summary": "tree-sitter grammars for Apertium formats",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/apertium/tree-sitter-apertium"
    },
    "split_keywords": [
        "incremental",
        " parsing",
        " tree-sitter",
        " cg"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2a641672e6356595a454d32bf201497376b8ea4b9babebc61cf27d8379c4299b",
                "md5": "45ff08c44a6c569cfd5291a387cfd8b0",
                "sha256": "a09e0f1184cc25c2b5ccb767e357590665e8f7c9da5e9c7769e391ded5cab343"
            },
            "downloads": -1,
            "filename": "tree_sitter_apertium-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "45ff08c44a6c569cfd5291a387cfd8b0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 15591,
            "upload_time": "2024-11-29T20:59:10",
            "upload_time_iso_8601": "2024-11-29T20:59:10.700804Z",
            "url": "https://files.pythonhosted.org/packages/2a/64/1672e6356595a454d32bf201497376b8ea4b9babebc61cf27d8379c4299b/tree_sitter_apertium-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-29 20:59:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "apertium",
    "github_project": "tree-sitter-apertium",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tree-sitter-apertium"
}
        
Elapsed time: 5.06371s