Skip to main content

Hazy command line interface (CLI) toolbelt.

Project description

# Hazy Toolbelt

The Hazy Toolbelt is the command line interface (CLI) to the [Hazy]( web service. It’s developed in Python and the code is published under the [MIT License]( at [](

## Status - WIP

This toolbelt and the JSON API that it targets are both under active development and are not ready for general use yet.

## Install

### Use

The toolbelt is designed to be used as a pre-built standalone binary. One way to get up and running is to download the latest binary for your architecture from the [releases page]( and put the binary file somewhere on your PATH.

Alternatively on OSX you can install using Homebrew:

`sh brew tap hazy/toolbelt brew install hazy `

Or if you’re using Python3, you can install directly from PyPI:

`sh pip install hazy `

### Develop

You can install the toolbelt for local development by installing the dependencies into a Python3 environment and developing the egg:

`sh pip install -r requirements.txt python develop `

This will install a hazy binary in your local Python environment’s bin folder. You can check that this is on your path with e.g.:

`sh which hazy `

### Build

Note that as of time of writing (7th August 2018) PyInstaller is verified as working with Python 3.6 and has some issues under 3.7.

You can build a standalone hazy binary (for your architecture) using PyInstaller. This requires additional dependencies.

First ensure you have [Pandoc](, for example using Homebrew:

`sh brew install pandoc `

Then install the additional python dependencies:

`sh pip install -r maintainer-requirements.txt `

You can then build using:

`sh ./ `

This will write a standalone binary to ./dist/hazy. You can optionally copy this to /usr/local/bin/hazy using:

`sh ./ `

### Release

You can publish a new version of the toolbelt to PyPI by bumping the version number in ./VERSION and running:

`sh ./ `


  • [ ] update release script to publish binaries
  • [ ] build binaries for multiple platforms

## Usage

Run the hazy command without arguments or with the –help flag for usage information:

`sh hazy --help `

You can drill down into usage information for the resources / command groups and for individual commands, e.g.:

`sh hazy auth --help hazy auth login --help `

Further [documentation is available on the Hazy website](

## Test

Running the tests requires nose and coverage, included in the maintainer-requirements.txt.

Then, run e.g.:

`sh nosetests --with-coverage --cover-package hazy `

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
hazy-0.0.3.tar.gz (6.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page