Skip to main content

Gamma toolbox

Project description

Gamma Toolbox

PyPI version PyPI - Downloads Build Status Maintainability Rating Reliability Rating Security Rating Coverage

Gamma's toolbox used to bootstrap new projects and for all the common operations.

Full documentation: https://git.sourceai.io/pages/freier-niels/gamma-cli/

Installation

pip3 install gamma-cli

Usage

to see the commands

gamma

To login with Github

gamma login

you will be prompted your token, you need to create one on: https://git.sourceai.io/settings/tokens

The token will be saved to be used with other commands

To create a new project

gamma new project

gamma new project --path /tmp/

To create a new Trello board

gamma new trello

To request a new VM

gamma new vm

You will be prompted few options for your project then if you want to init a git project and to push the first commit to Github.

to create a .gitignore file

gamma gitignore options to get the available options

gamma gitignore generate python flask > .gitignore to generate a .gitgnore file in the current directory

DevOps

Build && Update

Each push/PR to the project will be executed in Azure Devops, following this workflow:

devops flow

Update on client side

The tool is automatically checking at every run if a newer version exist and display a warning to the user about the need to update.

The version if exposed here: https://gist.github.com/stumpyfr/b4f89c297a4e479049ff463fed790b37 and automatically updated by the CI when the project version is bump and a new release is published.

Tests

The projects is using two types of test, both are combined to cover the test of the project from a technical point of view (TDD) and a functional point of view (BDD).

Unit tests

pytest will execute all the unit tests, display the test coverage and generate the coverage file for the CI

Business tests

behave will execute all the "functional" tests.

telemetry

The project is sending telemetry of two types:

The data is used to allow us to understand the usage of the tool and be able to quickly fix issues.

If you want to opt-out from the telemetry, you need to use the --no-telemetry options or set the environement variable NO_TELEMETRY=True

Code formater

The project is using black for the code formating: https://github.com/psf/black

Version bumping

The project is using punch to handle the version bumping: https://github.com/lgiordani/punch

Project details


Download files

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

Files for gamma-cli, version 0.1.11
Filename, size File type Python version Upload date Hashes
Filename, size gamma_cli-0.1.11-py3-none-any.whl (26.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size gamma-cli-0.1.11.tar.gz (19.7 kB) File type Source Python version None Upload date Hashes View hashes

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