openfizzbuzz
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".
Ideas
- 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
Notes
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
test.pypi.org
pip install --upgrade setuptools wheel twine
python setup.py sdist bdist_wheel
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*
Metadata
Release files for openfizzbuzz 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openfizzbuzz-0.1.6.tar.gz | 3.7 kB | Without provenance | Details for openfizzbuzz-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openfizzbuzz-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for openfizzbuzz-0.1.6-py3-none-any.whl |
Total release size: 10.8 kB
Release files / openfizzbuzz-0.1.6.tar.gz
| Download URL | openfizzbuzz-0.1.6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36e8ec612b8c968dabc6345d2090f6cad777153696888c8af9fafdc865fc9c00
|
|
BLAKE2b-256 checksum How to use checksums |
b61d168a6d30897746c8dee8dad854fa00d47810251b0a04df566aaffdb51522
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.1
|
Release files / openfizzbuzz-0.1.6-py3-none-any.whl
| Download URL | openfizzbuzz-0.1.6-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5bfff625d60fca0a3894875627b014cad1a45fdb7d3673d693f61610503607b
|
|
BLAKE2b-256 checksum How to use checksums |
ab369f685c99289ef19aac23a7eb59e7cbde3e9e68c2d7abee632bf13932d0c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.1
|
Security for openfizzbuzz 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.