{"adoption": {"forks": 333, "observed_at": "2026-08-28T04:07:30.451052+00:00", "stars": 2927}, "canonical_url": "https://ross.abutalabs.com/products/pypika", "card": {"archived": false, "artifact_type": "library", "description": "PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.", "domain": ["databases", "data-science", "analytics", "developer-tools"], "enriched": true, "function": ["database", "orm", "serialization"], "health_score": 76, "homepage": "http://pypika.readthedocs.io/en/latest/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["kayak/pypika"], "name": "kayak/pypika", "platform": ["python"], "pushed_at": "2026-02-04T11:27:09+00:00", "repo": "kayak/pypika", "stars": 2927, "tags": ["sql-query-builder", "query-builder", "sql-generation", "data-analysis", "pandas"], "topics": ["sql", "functional", "python", "python3", "builder", "pythonic", "query", "data"], "urls": [], "use_cases": ["build sql queries in python without string concatenation", "programmatically generate select insert update and delete statements", "write analytics queries against relational databases", "generate vendor-specific sql for mysql postgres oracle vertica", "replace handwritten sql in data pipelines", "compose complex queries with joins and aggregations in python"], "what_it_is": "PyPika is a Python SQL query builder library that exposes the full richness of SQL through a builder-pattern API mirroring the resulting query syntax. It is designed for data analysis, avoiding string concatenation while remaining extensible to vendor-specific SQL dialects.", "when_to_avoid": ["you want automatic schema validation or type-safe queries", "you need a full orm with models, migrations, and relationship management", "you prefer writing raw sql directly"], "when_to_choose": ["you need programmatic sql generation with full sql expressiveness", "you want a lightweight alternative to a full orm", "you are building data analysis or BI tooling in python", "you need to target multiple sql database dialects"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pypika", "repo": "kayak/pypika", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.451052+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:33:35.848598+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6e86e6184356c32b3e6838cdf38bf44263543dd274c7903326a95767acbbb0fa", "fetched_at": "2026-08-28T04:07:30.451052+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kayak/pypika"}, {"content_hash": "f6c962e92ac70c4a73548d14f87267dccd4fcc91d26cf9b64a0fbd6c1678824e", "fetched_at": "2026-08-29T09:49:16.747821+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pypika/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 65, "longevity": 100, "rhythm": 69}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3710, "days_push": 210, "days_rel": 210, "gap_med": 10.0, "n_releases_24m": 3}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}