{"id":13475539,"url":"https://github.com/malloydata/malloy","last_synced_at":"2026-04-17T01:01:46.145Z","repository":{"id":37034586,"uuid":"395733062","full_name":"malloydata/malloy","owner":"malloydata","description":"Malloy is a modern open source language for describing data relationships and transformations.","archived":false,"fork":false,"pushed_at":"2026-04-08T17:16:03.000Z","size":371721,"stargazers_count":2440,"open_issues_count":383,"forks_count":121,"subscribers_count":27,"default_branch":"main","last_synced_at":"2026-04-08T18:37:40.240Z","etag":null,"topics":["data","data-visualization","database","malloy","semantic-modeling","sql"],"latest_commit_sha":null,"homepage":"http://www.malloydata.dev","language":"TypeScript","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/malloydata.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"code_of_conduct.md","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":"2021-08-13T17:11:08.000Z","updated_at":"2026-04-08T16:39:52.000Z","dependencies_parsed_at":"2022-07-12T23:10:32.321Z","dependency_job_id":"7c740ae2-7420-4590-9b75-559edaec6a9f","html_url":"https://github.com/malloydata/malloy","commit_stats":{"total_commits":3195,"total_committers":55,"mean_commits":58.09090909090909,"dds":0.8222222222222222,"last_synced_commit":"71ec3c32de632414bb31d5c754bf2e5c5d4744c6"},"previous_names":["looker-open-source/malloy"],"tags_count":355,"template":false,"template_full_name":null,"purl":"pkg:github/malloydata/malloy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malloydata%2Fmalloy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malloydata%2Fmalloy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malloydata%2Fmalloy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malloydata%2Fmalloy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malloydata","download_url":"https://codeload.github.com/malloydata/malloy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malloydata%2Fmalloy/sbom","scorecard":{"id":614344,"data":{"date":"2025-08-11","repo":{"name":"github.com/malloydata/malloy","commit":"1eeac84959f189d5eb650d7b666a72daac9e8bf3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6,"checks":[{"name":"Code-Review","score":1,"reason":"Found 2/19 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: found token with 'none' permissions: .github/workflows/db-bigquery.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-duckdb-wasm.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-duckdb.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-motherduck.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-mysql.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-postgres.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-presto.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-publisher.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-snowflake.yaml:1","Info: found token with 'none' permissions: .github/workflows/db-trino.yaml:1","Info: found token with 'none' permissions: .github/workflows/main.yaml:1","Info: found token with 'none' permissions: .github/workflows/prerelease.yaml:1","Info: found token with 'none' permissions: .github/workflows/release.yaml:1","Info: found token with 'none' permissions: .github/workflows/run-tests.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-bigquery.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-bigquery.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-bigquery.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-bigquery.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/db-bigquery.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-bigquery.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-duckdb-wasm.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-duckdb-wasm.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-duckdb-wasm.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-duckdb-wasm.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-duckdb.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-duckdb.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-duckdb.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-duckdb.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-motherduck.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-motherduck.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-motherduck.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-motherduck.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-mysql.yaml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-mysql.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-mysql.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-mysql.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-postgres.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-postgres.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-postgres.yaml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-postgres.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-presto.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-presto.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-presto.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-presto.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-publisher.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-publisher.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-publisher.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-publisher.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-snowflake.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-snowflake.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-snowflake.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-snowflake.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-trino.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-trino.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/db-trino.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/db-trino.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/main.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/main.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yaml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/main.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/prerelease.yaml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/prerelease.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/prerelease.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/prerelease.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/run-tests.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/malloydata/malloy/run-tests.yaml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/release.yaml:67","Info:   0 out of  26 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:  13 out of  14 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (25) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-36jr-mh4h-2g58","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-wmjq-jrm2-9wfr","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T03:29:35.792Z","repository_id":37034586,"created_at":"2025-08-21T03:29:35.792Z","updated_at":"2025-08-21T03:29:35.792Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907729,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["data","data-visualization","database","malloy","semantic-modeling","sql"],"created_at":"2024-07-31T16:01:21.318Z","updated_at":"2026-04-17T01:01:46.084Z","avatar_url":"https://github.com/malloydata.png","language":"TypeScript","readme":"# Malloy\n\nMalloy is a modern open source language for describing data relationships and transformations. It is both a semantic modeling language and a query language that uses an existing SQL engine to execute queries. Malloy currently can connect to BigQuery, Snowflake, PostgreSQL, MySQL, Trino, or Presto, and natively supports DuckDB. We've built a Visual Studio Code extension to facilitate building Malloy data models, querying and transforming data, and creating simple visualizations and dashboards.\n\n### [Click here](https://github.dev/malloydata/try-malloy/airports.malloy) to try Malloy in your browser!\n\n---\n\n## Installing Malloy\n\nThe easiest way to try Malloy is with our VS Code Extension, which provides a place to create Malloy models, execute queries, get help, and more. VS Code is a text editor and IDE (integrated development environment) that runs on your desktop or in your browser. A few ways to install the extension:\n\n- [I already have VS Code](https://docs.malloydata.dev/documentation/setup/extension.html#using-the-malloy-extension-on-your-desktop)\n- [I use BigQuery and Google Cloud](https://docs.malloydata.dev/documentation/setup/extension.html#using-the-malloy-extension-on-google-cloud-shell-editor).\n- [I have a Github account and want to try Malloy on a `.csv` or `.parquet` file in a repository](https://docs.malloydata.dev/documentation/setup/extension.html#using-the-malloy-extension-on-github-dev).\n\n![show_run](https://user-images.githubusercontent.com/1093458/182458787-ca228186-c954-4a07-b298-f92dbf91e48d.gif)\n\nTo get to know the Malloy language, follow [our Quickstart](https://docs.malloydata.dev/documentation/user_guides/basic.html).\n\nNote: The Malloy VSCode Extension tracks a small amount of anonymous usage data. You can opt out in the extension settings.\n[Learn more](https://policies.google.com/technologies/cookies).\n\n## Join the Community\n\n- Join our [**Malloy Slack Community!**](https://malloydata.github.io/slack) Use this community to ask questions, meet other Malloy users, and share ideas with one another.\n- Use [**GitHub issues**](https://github.com/malloydata/malloy/issues) in this Repo to provide feedback, suggest improvements, report bugs, and start new discussions.\n\n## Resources\n\nDocumentation:\n\n- [Malloy Language](https://docs.malloydata.dev/documentation/) - A quick introduction to the language\n- [eCommerce Example Analysis](https://docs.malloydata.dev/documentation/examples/ecommerce.html) - a walkthrough of the basics on an ecommerce dataset (BigQuery public dataset)\n- [Modeling Walkthrough](https://docs.malloydata.dev/documentation/examples/iowa/iowa.html) - introduction to modeling via the Iowa liquor sales public data set (BigQuery public dataset)\n\n[YouTube](https://www.youtube.com/channel/UCfN2td1dzf-fKmVtaDjacsg) - Watch demos / walkthroughs of Malloy\n\n## Contributing\n\nIf you would like to [work on Malloy](CONTRIBUTING.md), take a look at the instructions for [developing Malloy](developing.md).\n\n## Syntax Example\n\nHere is a simple example of a Malloy query:\n\n```malloy\nrun: bigquery.table('malloydata-org.faa.flights') -\u003e {\n  where: origin = 'SFO'\n  group_by: carrier\n  aggregate:\n    flight_count is count()\n    average_flight_time is flight_time.avg()\n}\n```\n\nIn SQL this would be expressed:\n\n```sql\nSELECT\n   carrier,\n   COUNT(*) as flight_count,\n   AVG(flight_time) as average_flight_time\nFROM `malloy-data.faa.flights`\nWHERE origin = 'SFO'\nGROUP BY carrier\nORDER BY flight_count desc         -- malloy automatically orders by the first aggregate\n```\n\nLearn more about the syntax and language features of Malloy in the [Quickstart](https://docs.malloydata.dev/documentation/user_guides/basic).\n","funding_links":[],"categories":["TypeScript","sql","\u003ca name=\"TypeScript\"\u003e\u003c/a\u003eTypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalloydata%2Fmalloy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalloydata%2Fmalloy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalloydata%2Fmalloy/lists"}