heiwa4126.fizzbuzz


Nameheiwa4126.fizzbuzz JSON
Version 0.0.11 PyPI version JSON
download
home_pageNone
SummaryA simple fizzbuzz generator
upload_time2024-04-16 04:13:11
maintainerNone
docs_urlNone
authorheiwa4126
requires_python>=3.6
licenseMIT License Copyright (c) 2024 heiwa4126@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords fizzbuzz demo
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # heiwa4126.fizzbuzz (pip-heiwa4126-fizzbuzz)

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

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

## インストール

```sh
pip install heiwa4126.fizzbuzz
```

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

## 使用方法

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

```python
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 を使って以下のプロンプトで作りました。

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

## 開発メモ

[煩雑な開発メモは GitHub で](https://github.com/heiwa4126/pip-heiwa4126-fizzbuzz/blob/main/docs/development-note.md) 見てね。

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "heiwa4126.fizzbuzz",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "fizzbuzz, demo",
    "author": "heiwa4126",
    "author_email": "heiwa4126@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/41/8e/b8d309bec3f6a22b11d996bc343b01216f794862c09f8cc2df4490997c4e/heiwa4126_fizzbuzz-0.0.11.tar.gz",
    "platform": null,
    "description": "# heiwa4126.fizzbuzz (pip-heiwa4126-fizzbuzz)\n\n`heiwa4126.fizzbuzz` \u306f Python \u7528\u306e FizzBuzz \u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\u3002\n\n\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f PyPI \u3068 GitHub Copilot \u306e\u7df4\u7fd2\u3067\u3059\u3002\n\n## \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n\n```sh\npip install heiwa4126.fizzbuzz\n```\n\n(\u540d\u524d\u7a7a\u9593\u30d1\u30c3\u30b1\u30fc\u30b8\u306a\u306e\u3067\u3001\u305d\u308c\u3068\u308f\u304b\u308b\u3088\u3046\u533a\u5207\u308a\u306b `.` \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059)\n\n## \u4f7f\u7528\u65b9\u6cd5\n\n\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001FizzBuzz \u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059:\n\n```python\nfrom heiwa4126.fizzbuzz import fizzbuzz\n\nfor item in fizzbuzz(15):\n    print(item)\n\n# or\nprint(\"\\n\".join(fizzbuzz(15)))\n```\n\n\u3053\u306e\u30b3\u30fc\u30c9\u306f\u30011 \u304b\u3089\u59cb\u307e\u308a\u3001\"Fizz\"\u3001\"Buzz\"\u3001\u307e\u305f\u306f \"FizzBuzz\" \u3092\u9069\u5207\u306b\u51fa\u529b\u3057\u307e\u3059\u3002\n\n## GitHub Copilot\n\n\u3053\u306e\u30b3\u30fc\u30c9\u306e\u3072\u306a\u5f62\u306f GitHub Copilot \u3092\u4f7f\u3063\u3066\u4ee5\u4e0b\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u4f5c\u308a\u307e\u3057\u305f\u3002\n\n```text\n@workspace /new fizzbuzz\u3092\u751f\u6210\u3059\u308bpython\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3002pypi\u3067\u914d\u5e03\u53ef\u80fd\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306fheiwa4126_fizzbuzz\u3002fizzbuzz\u306f\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3067\u5b9f\u88c5\u3002\n```\n\n## \u958b\u767a\u30e1\u30e2\n\n[\u7169\u96d1\u306a\u958b\u767a\u30e1\u30e2\u306f GitHub \u3067](https://github.com/heiwa4126/pip-heiwa4126-fizzbuzz/blob/main/docs/development-note.md) \u898b\u3066\u306d\u3002\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 heiwa4126@gmail.com  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A simple fizzbuzz generator",
    "version": "0.0.11",
    "project_urls": {
        "Homepage": "https://github.com/heiwa4126/pip-heiwa4126-fizzbuzz#readme",
        "Repository": "https://github.com/heiwa4126/pip-heiwa4126-fizzbuzz.git"
    },
    "split_keywords": [
        "fizzbuzz",
        " demo"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6409c481e3793a24ed5bf12aab5491194cb0658cf2d6cfedc7cbfa2fa9554677",
                "md5": "9e1f7e58657f2e41fd293f3fa9f73bbc",
                "sha256": "38cf9a6664d803f8190762c699b0336bfc15b302be5c33ec96e64629cc9453fd"
            },
            "downloads": -1,
            "filename": "heiwa4126.fizzbuzz-0.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9e1f7e58657f2e41fd293f3fa9f73bbc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5691,
            "upload_time": "2024-04-16T04:13:10",
            "upload_time_iso_8601": "2024-04-16T04:13:10.121841Z",
            "url": "https://files.pythonhosted.org/packages/64/09/c481e3793a24ed5bf12aab5491194cb0658cf2d6cfedc7cbfa2fa9554677/heiwa4126.fizzbuzz-0.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "418eb8d309bec3f6a22b11d996bc343b01216f794862c09f8cc2df4490997c4e",
                "md5": "c9d16a93c8af5c3936ea9c3b4f5262b1",
                "sha256": "3253528da9058a6accf923b81c21a7c3b754a74dacc110ba2ae1c3c8ea6d1905"
            },
            "downloads": -1,
            "filename": "heiwa4126_fizzbuzz-0.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "c9d16a93c8af5c3936ea9c3b4f5262b1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4863,
            "upload_time": "2024-04-16T04:13:11",
            "upload_time_iso_8601": "2024-04-16T04:13:11.735000Z",
            "url": "https://files.pythonhosted.org/packages/41/8e/b8d309bec3f6a22b11d996bc343b01216f794862c09f8cc2df4490997c4e/heiwa4126_fizzbuzz-0.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-16 04:13:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "heiwa4126",
    "github_project": "pip-heiwa4126-fizzbuzz#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "heiwa4126.fizzbuzz"
}
        
Elapsed time: 0.23091s