pancakekit


Namepancakekit JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/chocolate-icecream/pancakekit
SummaryHandy graphical user interface library for daily use
upload_time2023-04-22 14:54:44
maintainer
docs_urlNone
authorchocolate-icecream
requires_python>=3.8
license
keywords gui
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pancake Kit

Pancake Kit aims to provide a handy user interface to your Python codes. It provides GUI as a lightweight web app powered by Flask. 

<img src="https://raw.githubusercontent.com/chocolate-icecream/pancakekit/main/images/pancakekit_figure_at_glance.png" width="50%"/>

## Quick tasting

Assume that there is a function that calculates the n*th* Fibonacci number. In three steps, you can prepare a GUI that wraps this function.

```python
from pancakekit import Pancake

def fibonacci(n=10):
    return (fibonacci(n-1) + fibonacci(n-2)) if n >= 2 else n

cake = Pancake()	# Step 1: Make a Pancake instance.
cake.add(fibonacci)	# Step 2: Add your function to the pancake.
cake.serve()		# Step 3: Serve the cake.
```

When you open `http://127.0.0.1:8000/` in a web browser, you will find an input box for entering `n` and a button that invokes `fibonacci()`.

## Adding an interface to your exisiting python script in an instant

```shell
pip -m pancakekit __YOUR_SCRIPT_FILE_NAME__
```



For more details: https://github.com/chocolate-icecream/pancakekit


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/chocolate-icecream/pancakekit",
    "name": "pancakekit",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "gui",
    "author": "chocolate-icecream",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/59/26/5925db1dacd8201e365b7bf43abeb8b7ee7074e85c96955c5a5b89dea774/pancakekit-0.2.1.tar.gz",
    "platform": null,
    "description": "# Pancake Kit\n\nPancake Kit aims to provide a handy user interface to your Python codes. It provides GUI as a lightweight web app powered by Flask. \n\n<img src=\"https://raw.githubusercontent.com/chocolate-icecream/pancakekit/main/images/pancakekit_figure_at_glance.png\" width=\"50%\"/>\n\n## Quick tasting\n\nAssume that there is a function that calculates the n*th* Fibonacci number. In three steps, you can prepare a GUI that wraps this function.\n\n```python\nfrom pancakekit import Pancake\n\ndef fibonacci(n=10):\n    return (fibonacci(n-1) + fibonacci(n-2)) if n >= 2 else n\n\ncake = Pancake()\t# Step 1: Make a Pancake instance.\ncake.add(fibonacci)\t# Step 2: Add your function to the pancake.\ncake.serve()\t\t# Step 3: Serve the cake.\n```\n\nWhen you open `http://127.0.0.1:8000/` in a web browser, you will find an input box for entering `n` and a button that invokes `fibonacci()`.\n\n## Adding an interface to your exisiting python script in an instant\n\n```shell\npip -m pancakekit __YOUR_SCRIPT_FILE_NAME__\n```\n\n\n\nFor more details: https://github.com/chocolate-icecream/pancakekit\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Handy graphical user interface library for daily use",
    "version": "0.2.1",
    "split_keywords": [
        "gui"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ddc549b338b986a38b94c2b4ee407c2bdd4ec567691b1fa554361c49a7cedced",
                "md5": "4d3cb054a782a43e9645e6ccda2f0def",
                "sha256": "dd3a96dfc342768b7aadd8f2a316d4b31b13fc531bceeca83c873748e9a9de41"
            },
            "downloads": -1,
            "filename": "pancakekit-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4d3cb054a782a43e9645e6ccda2f0def",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 36524,
            "upload_time": "2023-04-22T14:54:41",
            "upload_time_iso_8601": "2023-04-22T14:54:41.870004Z",
            "url": "https://files.pythonhosted.org/packages/dd/c5/49b338b986a38b94c2b4ee407c2bdd4ec567691b1fa554361c49a7cedced/pancakekit-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "59265925db1dacd8201e365b7bf43abeb8b7ee7074e85c96955c5a5b89dea774",
                "md5": "b6ea8712f01a0b093a187bf83e6913d5",
                "sha256": "fe6c8c5597b1ccaa99f7960bed0436fbfe3af097d9421dccdb7b264437e6b690"
            },
            "downloads": -1,
            "filename": "pancakekit-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b6ea8712f01a0b093a187bf83e6913d5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 36237,
            "upload_time": "2023-04-22T14:54:44",
            "upload_time_iso_8601": "2023-04-22T14:54:44.287943Z",
            "url": "https://files.pythonhosted.org/packages/59/26/5925db1dacd8201e365b7bf43abeb8b7ee7074e85c96955c5a5b89dea774/pancakekit-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-22 14:54:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "chocolate-icecream",
    "github_project": "pancakekit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pancakekit"
}
        
Elapsed time: 0.45253s