Skip to main content

CLI for generating experiment reports

Project description

mozreport Build Status PyPI

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

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.csv 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mozreport-18.12.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

mozreport-18.12.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file mozreport-18.12.0.tar.gz.

File metadata

  • Download URL: mozreport-18.12.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for mozreport-18.12.0.tar.gz
Algorithm Hash digest
SHA256 57c2b438d3f86242bdc308c97b8356787380b0db954ae676204ffcd73af1da5a
MD5 8ee79574651bab780b52a988133c12fa
BLAKE2b-256 fec584adb06b655eb7b86a183f824b8c96f691d131879b569223631bb9c99514

See more details on using hashes here.

File details

Details for the file mozreport-18.12.0-py3-none-any.whl.

File metadata

  • Download URL: mozreport-18.12.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for mozreport-18.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1573eba8004f93a55e2aa2c75dbad7901a015dcf04049941ad2a428ae32456f
MD5 ce4f183c16e250f65e4e195b5779e592
BLAKE2b-256 921e70f69046c82e9a04895b830cebe42781968f3ff9d611f7c6532b8917e589

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page