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 で 見てね。
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| heiwa4126_fizzbuzz-0.0.11.tar.gz | 4.9 kB | Without provenance | Details for heiwa4126_fizzbuzz-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| heiwa4126.fizzbuzz-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for heiwa4126.fizzbuzz-0.0.11-py3-none-any.whl |
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
|
Security for heiwa4126.fizzbuzz 0.0.11
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.