Skip to content

shunsock/fizzbuzz

Repository files navigation

FizzBuzz

Simple FizzBuzz CLI application. You will get better at Python programming by reading this code and understanding it.

Installation

# Clone the repository
git clone [email protected]:shunsock/fizzbuzz.git

# Change the directory
cd fizzbuzz

# Install uv (If you haven't already)
# @see: https://github.com/astral-sh/uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install Python 3.13.1
uv python install 3.13.1
uv python pin 3.13.1

# Install the dependencies
uv sync

Getting Started

You can run the application by using uv command.

# Run the application
uv run app/main.py -h

also, you can use Taskfile to run the application. (Of course, you need to install task)

# Run the application
task run -- -h

Usage

usage: main.py [-h] [--start START] [--end END]

FizzBuzz CLI

options:
  -h, --help     show this help message and exit
  --start START  The start of the FizzBuzz sequence
  --end END      The upper bound for the FizzBuzz sequence

Test

You can check the python code with following command.

# Run linting, static analysis and test
task validate

see also

License

MIT

About

Enterprise fizzbuzz for Python learner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages