--- id: language-tool-python version: "3.4.0" license: GPL-3.0-only license_treatment: copyleft maintenance: active --- # language_tool_python — Checks grammar using LanguageTool. License: copyleft · Maintenance: active · Downloads: 347.6K/mo ## What it is and what it does language_tool_python is a Python interface to LanguageTool, an open-source grammar, style, and spell checker. It lets you run grammar checks from Python code or the command line, with three deployment options: a local LanguageTool Java server (default version 6.8), the public LanguageTool API, or your own remote server. The wrapper handles server lifecycle, text checking, auto-correction, and fine-grained rule/category control. The package depends on requests for HTTP calls, tqdm for progress feedback, packaging for version handling, psutil for system monitoring, and toml for configuration. It supports Python 3.9 through 3.14 and offers both programmatic and CLI interfaces, making it suitable for batch text processing, integration into larger NLP pipelines, or standalone grammar validation tools. Use it for: - Batch-check documents or code comments for grammar and spelling errors in an automated pipeline. - Build a CLI tool or web service that validates user-submitted text against grammar and style rules. - Integrate grammar checking into a documentation generator or content management system. - Detect and correct typos and grammatical issues in multilingual text with configurable language rules. - Develop domain-specific spell-checkers by registering custom spellings and disabling irrelevant rules. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python wrapper for LanguageTool that checks grammar, style, and spelling in text via a local Java server, public API, or remote server. Yes, with a licensing caveat. The package is well-maintained, has low install friction, no known vulnerabilities, and provides a mature interface to a powerful grammar checker. However, its GPL-3.0-only license means you cannot use it in proprietary or closed-source projects without a separate commercial license. For open-source or internal tools, it is a solid choice. ## Install pip install language-tool-python uv add language-tool-python poetry add language-tool-python ## Installing language_tool_python Before you install: Low install friction with a pure-Python wheel. Maintenance is active with a recent release (92 days ago) and steady repository activity. Runtime dependencies are lightweight and widely used (requests, tqdm, packaging, psutil, toml). License in practice: Licensed under GPL-3.0-only (copyleft). Any software that links or distributes this package must also be released under GPL-3.0 or compatible terms; proprietary or closed-source projects cannot use it without a separate license agreement. Quickstart: pip install language_tool_python import language_tool_python with language_tool_python.LanguageTool("en-US") as tool: matches = tool.check("This are bad.") print(tool.correct("This are bad.")) Java >= 17 required for the default local LanguageTool server (6.8); Java >= 9 for older versions. Python >= 3.9. Verify before relying: - Performance characteristics when checking large documents or high-frequency API calls. - Accuracy of grammar and spelling detection across different languages and domains. - Latency and resource overhead of running a local Java server versus using the public API. ## Package facts - License: GPL-3.0-only (copyleft) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 347.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags grammar checker python, spell check library, languagetool wrapper, text grammar validation, style and grammar checking, nlp grammar detection, python spell checker, grammar-checking, nlp, copyleft-license [View on SkillFed](https://skillfed.io/packages/language-tool-python) · [View on PyPI](https://pypi.org/project/language-tool-python/)