bbwebservice


Namebbwebservice JSON
Version 0.0.7 PyPI version JSON
download
home_page
SummaryA bare bone webserver
upload_time2023-01-25 11:51:36
maintainer
docs_urlNone
authorLukas
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # How to make your first web-app
```py 
from bbwebservice.webserver import *

@register(route='/',type=MIME_TYPE.HTML)
def main_page():
    return load_file('/content/index.html')

@register(route='/main.css',type=MIME_TYPE.CSS)
def main_css():
    return load_file('/content/main.css')

start()
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "bbwebservice",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Lukas",
    "author_email": "lukasogwalker@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ad/74/1cdfbdcba76c4b6d9e7b2f917b9f36a8a122dc92fb441eb5da4bd61c0e56/bbwebservice-0.0.7.tar.gz",
    "platform": null,
    "description": "# How to make your first web-app\r\n```py \r\nfrom bbwebservice.webserver import *\r\n\r\n@register(route='/',type=MIME_TYPE.HTML)\r\ndef main_page():\r\n    return load_file('/content/index.html')\r\n\r\n@register(route='/main.css',type=MIME_TYPE.CSS)\r\ndef main_css():\r\n    return load_file('/content/main.css')\r\n\r\nstart()\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A bare bone webserver",
    "version": "0.0.7",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "71e6d0840252855649173e8997a8191c3a1594b959490d87142cb315666b1756",
                "md5": "b41cf33a00aec74d89879827d93717a3",
                "sha256": "7086aef52e44dd7a47f1de71ea4643de69a1229f831a2d0125744b6d685b8d48"
            },
            "downloads": -1,
            "filename": "bbwebservice-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b41cf33a00aec74d89879827d93717a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 10008,
            "upload_time": "2023-01-25T11:51:34",
            "upload_time_iso_8601": "2023-01-25T11:51:34.073457Z",
            "url": "https://files.pythonhosted.org/packages/71/e6/d0840252855649173e8997a8191c3a1594b959490d87142cb315666b1756/bbwebservice-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad741cdfbdcba76c4b6d9e7b2f917b9f36a8a122dc92fb441eb5da4bd61c0e56",
                "md5": "e956b1bef4d98bcef63a9d537ed346fc",
                "sha256": "30bee5970b0deded312f2a19da263bf8f7fc5559c70c4f65cb2f816242ac78e5"
            },
            "downloads": -1,
            "filename": "bbwebservice-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "e956b1bef4d98bcef63a9d537ed346fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 8345,
            "upload_time": "2023-01-25T11:51:36",
            "upload_time_iso_8601": "2023-01-25T11:51:36.230013Z",
            "url": "https://files.pythonhosted.org/packages/ad/74/1cdfbdcba76c4b6d9e7b2f917b9f36a8a122dc92fb441eb5da4bd61c0e56/bbwebservice-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-25 11:51:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "bbwebservice"
}
        
Elapsed time: 0.10361s