Giter Site home page Giter Site logo

gleonard-m / glean_parser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla/glean_parser

0.0 0.0 0.0 1.46 MB

Tools for parsing the metadata for Mozilla's glean telemetry SDK

Home Page: https://mozilla.github.io/glean_parser/

License: Mozilla Public License 2.0

Ruby 1.17% Python 81.19% Go 1.43% Rust 1.31% Kotlin 3.25% Swift 1.58% Makefile 0.60% Jinja 9.48%

glean_parser's Introduction

Glean Parser

Parser tools for Mozilla's Glean telemetry.

Features

Contains various utilities for handling metrics.yaml and pings.yaml for the Glean SDKs. This includes producing generated code for various integrations, linting and coverage testing.

Documentation

Requirements

  • Python 3.8 (or later)

The following library requirements are installed automatically when glean_parser is installed by pip.

  • appdirs
  • Click
  • diskcache
  • Jinja2
  • jsonschema
  • PyYAML

Usage

$ glean_parser --help

Read in metrics.yaml, translate to Kotlin format, and output to output_dir:

$ glean_parser translate -o output_dir -f kotlin metrics.yaml

Check a Glean ping against the ping schema:

$ glean_parser check < ping.json

glean_parser's People

Contributors

mdboom avatar badboy avatar dependabot[bot] avatar brizental avatar dexterp37 avatar akkomar avatar chutten avatar travis79 avatar perrymcmanis144 avatar braunreyes avatar jklukas avatar fbertsch avatar rosahbruno avatar dmueller avatar wlach avatar alvesitalo avatar serge-sans-paille avatar jennshan avatar dante381 avatar hackebrot avatar mozilla-github-standards avatar iinh avatar gleonard-m avatar relud avatar chenba avatar anuragakella avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.