emp7yhead / test-assignment-hexlet-mentor

Тest assignment for a python mentor position at hexlet.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test-assignment-hexlet-mentor

CI Maintainability Test Coverage wemake-python-styleguide

Тest assignment for a python mentor position at hexlet.io.

https://hexlet-ru.notion.site/8b301b64d4834a3e91f709f8ada1187a

Description:

The CLI utility on startup asks the user for a number and give the answer - Fizz, Buzz, FizzBuzz. Launching the application displays a greeting and asks for a number.

Dependencies:

  • python = "^3.10"
  • prompt = "^0.4.1"

Installation:

Install make. To work with Poetry install Poetry. To work with Docker install Docker Engine.

The following options can be used for installation:

  • Poetry:

    1. Clone repository:
    git clone https://github.com/emp7yhead/test-assignment-hexlet-mentor.git
    cd test-assignment-hexlet-mentor
    
    1. Build the source and wheels archives:
    make build
    
    1. Install builded package:
    make package-install
    
  • package manager pip:

    pip install --user git+https://github.com/emp7yhead/test-assignment-hexlet-mentor.git
    
  • Docker:

    1. Clone repository:
    git clone https://github.com/emp7yhead/test-assignment-hexlet-mentor.git
    cd test-hexlet-mentor
    
    1. Install dependencies:
    make docker-build
    
  • GitHub Packages:

    docker pull ghcr.io/emp7yhead/fizz_buzz:main
    

Launch:

  • If you choose installation with pip or Poetry use command:

    fizz_buzz
    
  • If you choose installation with Docker use command:

    make docker-run
    
  • If you choose installation with GitHub Packages use command:

    docker run -ti ghcr.io/emp7yhead/fizz_buzz:main
    

About

Тest assignment for a python mentor position at hexlet.io


Languages

Language:Python 88.2%Language:Makefile 11.8%