Skip to content
@malloydata

malloydata

Malloy is an experimental language for describing data relationships and transformations.

Malloy

Malloy is an open source language for describing data relationships and transformations. It is both a semantic modeling language and a querying language that runs queries against a relational database. Malloy currently supports BigQuery, Postgres, and 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.

Click here to try Malloy in your browser!


Install the Visual Studio Code Extension locally

To write your own Malloy models, use the VS Code Extension, currently available for Mac, Linux, and Windows machines.

  1. Download Visual Studio Code: Download Visual Studio Code

  2. Add the Malloy extension from the Visual Studio Code Marketplace: Open VS Code and click the Extensions button on the far left (it looks like 4 blocks with one flying away). This will open the Extension Marketplace. Search for "Malloy" and, once found, click "Install"

  3. Download and unzip the Sample Models (models + data).

  4. Open the samples folder in VS Code. In VS Code, go to File > Open Folder... select samples/duckdb > Open. DuckDB is built into the extension so you're ready to run these.

  5. Start with 1_airports.malloy in the FAA dataset. This is a sub-sample of the NTSB Flights dataset. In the editor pane, above source: airports, click the word "Preview" to run a SELECT *, and click the word "Run" above any query object to run it (see gif below for example).

show_run

To get to know the Malloy language, follow Malloy by Example and/or continue through the numbered models in the FAA directory.

Note: The Malloy VSCode Extension tracks a small amount of anonymous usage data. You can opt out in the extension settings. Learn more.

Join the Community

  • Join our Malloy Slack Community! Use this community to ask questions, meet other Malloy users, and share ideas with one another.
  • Use GitHub issues in this Repo to provide feedback, suggest improvements, report bugs, and start new discussions.

Resources

Documentation:

YouTube - Watch demos / walkthroughs of Malloy

Pinned Loading

  1. malloy malloy Public

    Malloy is an experimental language for describing data relationships and transformations.

    TypeScript 2k 78

  2. try-malloy try-malloy Public

    Quick start for trying Malloy in VS Code in the browser

    5 2

  3. malloy-vscode-extension malloy-vscode-extension Public

    The Malloy Visual Studio Code extension facilitates building Malloy data models, querying and transforming data, and creating simple visualizations and dashboards

    TypeScript 17 13

  4. malloy-cli malloy-cli Public

    A command-line interface for executing Malloy and SQL

    TypeScript 7 5

  5. malloy-samples malloy-samples Public

    Malloy model examples and associated datasets

    TypeScript 17 14

  6. malloy-composer malloy-composer Public

    Malloy Composer is a simple application to build dashboards or run ad-hoc queries using an existing Malloy model

    TypeScript 60 9

Repositories

Showing 10 of 30 repositories
  • malloy Public

    Malloy is an experimental language for describing data relationships and transformations.

    malloydata/malloy’s past year of commit activity
    TypeScript 2,048 MIT 78 314 26 Updated Feb 7, 2025
  • malloy-vscode-extension Public

    The Malloy Visual Studio Code extension facilitates building Malloy data models, querying and transforming data, and creating simple visualizations and dashboards

    malloydata/malloy-vscode-extension’s past year of commit activity
    TypeScript 17 MIT 13 27 1 Updated Feb 7, 2025
  • publisher Public
    malloydata/publisher’s past year of commit activity
    TypeScript 8 MIT 0 0 0 Updated Feb 7, 2025
  • malloydata/malloydata.github.io’s past year of commit activity
    TypeScript 1 MIT 8 11 12 Updated Feb 4, 2025
  • malloy-composer Public

    Malloy Composer is a simple application to build dashboards or run ad-hoc queries using an existing Malloy model

    malloydata/malloy-composer’s past year of commit activity
    TypeScript 60 MIT 9 27 0 Updated Feb 3, 2025
  • whatsnext Public
    malloydata/whatsnext’s past year of commit activity
    1 MIT 0 0 2 Updated Feb 3, 2025
  • malloy-samples Public

    Malloy model examples and associated datasets

    malloydata/malloy-samples’s past year of commit activity
    TypeScript 17 MIT 14 1 6 Updated Jan 30, 2025
  • malloy-cli Public

    A command-line interface for executing Malloy and SQL

    malloydata/malloy-cli’s past year of commit activity
    TypeScript 7 MIT 5 1 4 Updated Jan 30, 2025
  • malloy-py Public

    Python package for executing Malloy

    malloydata/malloy-py’s past year of commit activity
    JavaScript 27 MIT 8 3 2 Updated Jan 29, 2025
  • check-ci-permissions Public

    GitHub Action to verify user permissions

    malloydata/check-ci-permissions’s past year of commit activity
    TypeScript 0 MIT 0 0 0 Updated Jan 9, 2025

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…