Skip to main content

Open minded fizzbuzz

Project description


Build Status PyPI Coverage Status

Open minded Python FizzBuzz

pip install openfizzbuzz
pip install -r requirements.txt
python3.7 -m openfizzbuzz

FizzBuzz original question

Write a program that prints the numbers from 1 to 100. For multiples of three print "Fizz" instead of the number, and for the multiples of five print "Buzz". For numbers which are multiples of both tree and five print "FizzBuzz".


  • Classes and functions
  • Module structuration
  • lambda
  • logging
  • some tests
  • new dataclasses
  • list comprehension
  • coverage
  • pypi setup
  • factory (& others patterns ?)

More ideas

  • MRO manipulation
  • Dynamic method binding
  • Exec / Compile text
  • Internal python integer manipulation (ctypes)
  • pyc / pyo


Ideolog log format:

Message Pattern : ^(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})\s*::\s*(\S*)\s*::\s*(\S*)\s*::\s*(.+)$

Time Format : yyyy-MM-dd HH:mm:ss,SSS

Time Capture Group : 1

Severity Capture Group : 2

Category Capture Group : 3

pip install --upgrade setuptools wheel twine
python sdist bdist_wheel

python -m twine upload --repository-url dist/*
twine upload dist/*

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 openfizzbuzz, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size openfizzbuzz-0.1.6-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size openfizzbuzz-0.1.6.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page