Giter Site home page Giter Site logo

mozreport's Introduction

mozreport Build Status PyPI

mozreport is a CLI tool that intends to help streamline the process of preparing an experiment report.

Installing mozreport

Homebrew users can install mozreport with brew install mozilla/mozreport/mozreport.

You can also install mozreport using pip3 install mozreport. (You might consider using pipsi.)

Mozreport requires Python 3.6+.

Using mozreport

$ mozreport --help

Usage: mozreport [OPTIONS] COMMAND [ARGS]...

  Mozreport helps you write experiment reports.

  The workflow looks like:

  * `mozreport setup` the first time you use Mozreport

  * `mozreport new` to declare a new experiment and generate an analysis
  script

  * `mozreport submit` to run an analysis script on Databricks

  * `mozreport fetch` to download the result

  * `mozreport report` to set up a report template

  The local configuration directory is /Users/tsmith/Library/Application Support/mozreport.

What's a template?

A report template is any collection of code that operates on a file named summary.sqlite3 in the current working directory, and renders a report. To add a template, add a folder to the mozreport/templates folder in this repository, or the templates folder inside your local configuration directory (see the bottom of mozreport --help).

You may wish to adopt the convention of including a script named build.py that performs the necessary steps to render the report.

Hacking on mozreport

To run unit tests only:

tox -- -m "not integration"

To run all tests, including integration tests that hit our live Databricks account:

  • Run mozreport setup once
  • tox

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.