Skip to main content

Python bindings for GritQL

Project description

GritQL is a declarative query language for searching and modifying source code.

  • 📖 Start simply without learning AST details: any code snippet is a valid GritQL query
  • ⚡️ Use Rust and query optimization to scale up to 10M+ line repositories
  • 📦 Use Grit's built-in module system to reuse 200+ standard patterns or share your own
  • ♻️ Once you learn GritQL, you can use it to rewrite any target language: JavaScript/TypeScript, Python, JSON, Java, Terraform, Solidity, CSS, Markdown, YAML, Rust, Go, or SQL
  • 🔧 GritQL makes it easy to include auto-fix rules for faster remediation

Getting started

Read the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gritql-0.2.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gritql-0.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

gritql-0.2.0-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gritql-0.2.0.tar.gz.

File metadata

  • Download URL: gritql-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Darwin/23.3.0

File hashes

Hashes for gritql-0.2.0.tar.gz
Algorithm Hash digest
SHA256 09e26e3d3152d3ec2e4fa80c0af4f2fe1436c82a2c6343cec6ab74ae61474bae
MD5 b7f3781f38ab3d6201283abdac15ce4a
BLAKE2b-256 def69d485d595a049feabc5bd85c37713b2c1509aa61448fb737f791081624f3

See more details on using hashes here.

File details

Details for the file gritql-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gritql-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.9

File hashes

Hashes for gritql-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de95dd6d027184b0c388f1b8864c0c71fa889154c55d360f427adfd00b28ac9c
MD5 4c09e3f9f83489a8af2f81911c238e0b
BLAKE2b-256 0d19852daaa9273667e5d9f8bbe007b1d26ad1f465a72f6451f7f3bb4e86eca8

See more details on using hashes here.

File details

Details for the file gritql-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gritql-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Darwin/23.3.0

File hashes

Hashes for gritql-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a37f4a6388c09801c25de8753546ca11d4b8a3ad527742821eb032ad069cd13
MD5 a786b93e7af3356bdf424c785a72ebaf
BLAKE2b-256 2245f3bfad1cf462d85a9ba3be5cb8b7fd5e6bf4e67f7a24cf00ae53ee6da86e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page