{"id":28956716,"url":"https://github.com/developmentseed/cql2-rs","last_synced_at":"2026-04-22T02:01:05.403Z","repository":{"id":249709434,"uuid":"828985440","full_name":"developmentseed/cql2-rs","owner":"developmentseed","description":"Rust library and Python bindings for parsing the OGC CQL2 filter language","archived":false,"fork":false,"pushed_at":"2026-04-20T12:00:13.000Z","size":10074,"stargazers_count":22,"open_issues_count":9,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-04-20T13:43:01.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://developmentseed.org/cql2-rs/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developmentseed.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-15T14:18:59.000Z","updated_at":"2026-04-20T11:56:54.000Z","dependencies_parsed_at":"2025-12-15T17:02:54.399Z","dependency_job_id":"4c1cba3c-8ed9-4c9b-a85e-65546e8f613c","html_url":"https://github.com/developmentseed/cql2-rs","commit_stats":null,"previous_names":["developmentseed/cql2-rs"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/developmentseed/cql2-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fcql2-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fcql2-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fcql2-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fcql2-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developmentseed","download_url":"https://codeload.github.com/developmentseed/cql2-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developmentseed%2Fcql2-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32117798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-23T21:40:35.062Z","updated_at":"2026-04-22T02:01:05.397Z","avatar_url":"https://github.com/developmentseed.png","language":"Rust","readme":"# cql2-rs\n\n[![CI](https://github.com/developmentseed/cql2-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/developmentseed/cql2-rs/actions/workflows/ci.yml)\n\nParse, validate, and convert [Common Query Language (CQL2)](https://www.ogc.org/standard/cql2/) text and JSON.\n\n## Usage\n\n### API\n\n```toml\n[dependencies]\ncql = \"0.4\"\n```\n\nThen:\n\n```rust\nuse cql2::Expr;\n\nlet expr: Expr = \"landsat:scene_id = 'LC82030282019133LGN00'\".parse().unwrap();\nassert!(expr.is_valid());\nprintln!(\"{}\", expr.to_json().unwrap());\n```\n\nSee [the documentation](https://docs.rs/cql2) for more.\n\n## CLI\n\nSee [the cql2-cli README](./cli/README.md) for details.\n\n## Responses\n\nResponses may not match the input.\n\n### cql2-text differences\n\n- All identifiers in output are double quoted\n- The position of \"NOT\" keywords is standardized to be before the expression (ie \"... NOT LIKE ...\" will become \"NOT ... LIKE ...\"\n- The negative operator on anything besides a literal number becomes \"* -1\"\n- Parentheses are added around all expressions\n\n## Development\n\nGet [uv](https://docs.astral.sh/uv/getting-started/installation/) and [Rust](https://rustup.rs/).\nThen:\n\n```shell\ngit clone git@github.com:developmentseed/cql2-rs.git\ncd cql2-rs\nuv sync\nscripts/test\n```\n\nTo lint all files:\n\n```shell\nscripts/lint\n```\n\nTo serve the docs locally:\n\n```shell\nuv run mkdocs serve  # http://127.0.0.1:8000/cql2-rs/\n```\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for more information about contributing to this project.\n\n## License\n\n**cql2-rs** is licensed under the MIT license.\nSee [LICENSE](./LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Fcql2-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopmentseed%2Fcql2-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmentseed%2Fcql2-rs/lists"}