$npx skillfedfor your agent

gritql

Python bindings for GritQL

With conditionsPyPI Software DevelopmentReleased Oct 2024114.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gritql-0.2.0-py2.py3-none-any.whl · gritql-0.2.0-py3-none-any.whl
v0.2.0 · released 2024-10-26

Yes, if you need multi-language code search and transformation at scale and can tolerate a dormant package. The MIT license and zero runtime dependencies make it low-friction to try. However, be aware that no active maintenance means you will not receive updates, bug fixes, or support for new language versions. Suitable for one-off migrations or stable, self-contained use cases; not recommended if you need ongoing support or frequent updates.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • The package is a Python binding to a Rust-based tool; the underlying GritQL engine must be available in your environment for queries to execute.
  • Installation is straightforward with no runtime dependencies.
  • The package is dormant (657 days since last release), so expect no active maintenance or bug fixes going forward.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely as long as you include the license notice.

last release 2024-10-26 (657 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,847 downloads/mo, #12,277 on PyPI

Verify before relying

pip install gritql
import gritql
# Use gritql module to construct and run queries on source code
  • Whether the Rust-based GritQL engine is bundled with the wheel or must be installed separately.
  • What Python version is actually required (classifiers list 2.7 through 3.12, but requires_python is unspecified).
  • Whether dormant status means the binding is stable or no longer maintained alongside upstream GritQL.
Same gist for agents: .md · .json

What it is and what it does

GritQL is a Python binding for a code query and transformation language built in Rust. It lets you write declarative patterns to find and modify code across JavaScript, TypeScript, Python, JSON, Java, Terraform, Solidity, CSS, Markdown, YAML, Rust, Go, and SQL without needing to understand AST details—any code snippet can serve as a starting pattern. The language is designed to scale to large repositories and includes a module system with reusable patterns.

You install it as a Python package, but it acts as a bridge to the underlying Rust engine. Since the package is dormant (last release 657 days ago), it is no longer actively maintained, so you should expect no updates or bug fixes. It has no Python runtime dependencies, making installation lightweight.

Use it for

  • Search and refactor a large codebase across multiple languages using a single query syntax.
  • Automate code migrations or standardization tasks across JavaScript, Python, and other supported languages.
  • Build custom linting or code-quality rules that apply pattern-based fixes automatically.
  • Query and modify infrastructure-as-code files (Terraform, YAML) alongside application code.
  • Reuse or share code transformation patterns via Grit's module system across teams.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need multi-language code search and transformation at scale and can tolerate a dormant package.

The MIT license and zero runtime dependencies make it low-friction to try. However, be aware that no active maintenance means you will not receive updates, bug fixes, or support for new language versions. Suitable for one-off migrations or stable, self-contained use cases; not recommended if you need ongoing support or frequent updates.

Install

gritql on PyPI

Before you install

Installation is straightforward with no runtime dependencies. The package is dormant (657 days since last release), so expect no active maintenance or bug fixes going forward.

The package is a Python binding to a Rust-based tool; the underlying GritQL engine must be available in your environment for queries to execute.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely as long as you include the license notice.

Quickstart

pip install gritql
import gritql
# Use gritql module to construct and run queries on source code

Verify before relying

  • Whether the Rust-based GritQL engine is bundled with the wheel or must be installed separately.
  • What Python version is actually required (classifiers list 2.7 through 3.12, but requires_python is unspecified).
  • Whether dormant status means the binding is stable or no longer maintained alongside upstream GritQL.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 657 days since the last release
First released
Downloads114,847 / month, #12,277 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: gritql-0.2.0-py2.py3-none-any.whl; gritql-0.2.0-py3-none-any.whl

Tags

Capabilities
code search and refactoringsource code pattern matchingmulti-language code transformationautomated code modificationcodebase query languageAST-free code rewritinglarge repository code search
Topics
code-searchrefactoringmulti-language

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “code search and refactoring”

  • gritqlGritQL is a Python binding for a declarative query language that…
  • ast-grep-cliast-grep-cli is a command-line tool for searching, linting, and…
  • ast-grep-pyast-grep-py is a Python binding for ast-grep, a tool that searches,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also ast-grep-cli · sqloxide · rumdl · ast-grep-py · tensor-grep · google-pasta · hogql-parser-rs · sqlglot · lintro · zipcodes