{"categories":[{"label":"GIS","url":"https://skillfed.io/packages/category/scientific-engineering-gis"}],"enrichment":{"capability":"Parses OGC filtering standards (CQL, CQL JSON, JFE, FES) into an abstract syntax tree that can be evaluated against Django, SQLAlchemy, GeoPandas, Elasticsearch, OpenSearch, or native Python objects.","skillfed_tags":["geospatial","ogc-standards","query-parsing"],"use_cases":["Parse and apply OGC-compliant filter expressions in a web service that needs to support multiple query languages","Convert CQL queries from OGC API Features clients into Django ORM or SQLAlchemy filters for database queries","Build a geospatial search API that accepts CQL JSON and evaluates filters against GeoPandas DataFrames or Elasticsearch indices","Inspect and debug filter expressions by converting them to a readable AST representation via the command-line tool","Implement custom filtering logic by extending the Evaluator class to handle domain-specific filter backends"],"what_it_does":"pygeofilter is a pure Python parser that converts OGC (Open Geospatial Consortium) filter standards into a unified abstract syntax tree representation. It handles multiple input formats\u2014CQL as defined in CSW 2.0, CQL JSON from OGC API Features Part 3, JSON Filter Expressions (JFE), and FES\u2014allowing you to parse geographic and attribute filtering queries from different sources into a common intermediate form.\n\nOnce parsed, the AST can be evaluated and transformed into backend-specific queries. The package includes pre-built evaluators for Django ORM, SQLAlchemy, GeoPandas, Elasticsearch, OpenSearch, and native Python object filtering, so you can apply the same parsed filter expression across different data stores. It also provides an Evaluator base class and a command-line utility for testing and inspecting parsed expressions.","worth_installing":"Yes. The package fills a specific, well-defined role in OGC-compliant geospatial applications. It is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and carries low installation friction. Install it if you need to parse or evaluate OGC filter standards; skip it if your application does not work with OGC APIs or CQL."},"id":"pygeofilter","links":{"html":"https://skillfed.io/packages/pygeofilter","md":"https://skillfed.io/packages/pygeofilter.md","pypi":"https://pypi.org/project/pygeofilter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-08","license_spdx":null,"license_treatment":"permissive","name":"pygeofilter","python_support":"unspecified","summary":"pygeofilter is a pure Python parser implementation of OGC filtering standards"},"popularity":{"monthly_downloads":75738,"position":14682,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
