Skip to main content

heiwa4126.fizzbuzz (pip-heiwa4126-fizzbuzz)

heiwa4126.fizzbuzz は Python 用の FizzBuzz ジェネレータパッケージです。

このプロジェクトは PyPI と GitHub Copilot の練習です。

インストール

pip install heiwa4126.fizzbuzz

(名前空間パッケージなので、それとわかるよう区切りに . を使っています)

使用方法

このパッケージは、FizzBuzz のジェネレータを提供します。以下のように使用できます:

from heiwa4126.fizzbuzz import fizzbuzz

for item in fizzbuzz(15):
    print(item)

# or
print("\n".join(fizzbuzz(15)))

このコードは、1 から始まり、"Fizz"、"Buzz"、または "FizzBuzz" を適切に出力します。

GitHub Copilot

このコードのひな形は GitHub Copilot を使って以下のプロンプトで作りました。

@workspace /new fizzbuzzを生成するpythonプロジェクト。pypiで配布可能なディレクトリ構成で、プロジェクト名はheiwa4126_fizzbuzz。fizzbuzzはジェネレータで実装。

開発メモ

煩雑な開発メモは GitHub で 見てね。

Release files for heiwa4126.fizzbuzz 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for heiwa4126.fizzbuzz 0.0.11
File Size Uploaded
heiwa4126_fizzbuzz-0.0.11.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for heiwa4126.fizzbuzz 0.0.11
File Interpreter ABI Platform
heiwa4126.fizzbuzz-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / heiwa4126_fizzbuzz-0.0.11.tar.gz

Download URL heiwa4126_fizzbuzz-0.0.11.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3253528da9058a6accf923b81c21a7c3b754a74dacc110ba2ae1c3c8ea6d1905
BLAKE2b-256 checksum
How to use checksums
418eb8d309bec3f6a22b11d996bc343b01216f794862c09f8cc2df4490997c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / heiwa4126.fizzbuzz-0.0.11-py3-none-any.whl

Download URL heiwa4126.fizzbuzz-0.0.11-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38cf9a6664d803f8190762c699b0336bfc15b302be5c33ec96e64629cc9453fd
BLAKE2b-256 checksum
How to use checksums
6409c481e3793a24ed5bf12aab5491194cb0658cf2d6cfedc7cbfa2fa9554677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.10

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page