HTPy5


NameHTPy5 JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummaryThis is HTPy5, a module for writing HTML using Python.
upload_time2023-09-13 12:14:25
maintainer
docs_urlNone
author
requires_python>=3.6
license
keywords htpy5 html5 py2html web development html generation python to html
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # __HTPy5__

**HTPy5** is a python module used to make static html webpages using python syntax

## Functions

### setup()

A function used to setup the first things at the webpage and they are the `Language`, `Title`, `Description`, `viewport` and `charset`, and the user can't make the webpage without adding the setup code but he can just write it without adding something but it will set all properties to defult.

### addLinking()

A function used to link a file with the html code, returns a string like that.
```html
<link rel="{type of the linking}" herf="linkedFile">
```

### addMeta()

A function used to add a custom meta (as name and content only),returns a string like that :
```html
<meta name="{your meta name}" content="your meta content">
```

### addCustomMeta()

A function used to add a custom meta (as you want),returns like that :
```html
<meta {your attributes}>
```

### addNewHeadElement()

A function used to make anew two sides element like `<element></element>`.

### addNewBodyElement()

A function used to add an element to the body,but with another module at HtPy5 named `Webgets`and can return with one side element or two sides element.


### generateHTML()

This is the most important function,and its used to generate the html after adding elements and returns it as string.

## Add-In-1.0.1 functions

### addNote()

A function used to add a note to the body as the same way of adding a normal element.

### addHeadNote()

A function used to add a note to the head as the same way of adding a normal element.

## addStyle()

A function uses the tool `Stylor` to add styles for the webpage.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "HTPy5",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "HTPy5,HTML5,PY2HTML,web development,HTML generation,Python to HTML",
    "author": "",
    "author_email": "BoodyWin Workshop <boodywin.studio.123@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/fa/13/c4bd14970a3641c6bba0973d73ceec3eeaff5eaeab6abcbfbfecee1ed9c2/HTPy5-1.0.1.tar.gz",
    "platform": null,
    "description": "# __HTPy5__\r\n\r\n**HTPy5** is a python module used to make static html webpages using python syntax\r\n\r\n## Functions\r\n\r\n### setup()\r\n\r\nA function used to setup the first things at the webpage and they are the `Language`, `Title`, `Description`, `viewport` and `charset`, and the user can't make the webpage without adding the setup code but he can just write it without adding something but it will set all properties to defult.\r\n\r\n### addLinking()\r\n\r\nA function used to link a file with the html code, returns a string like that.\r\n```html\r\n<link rel=\"{type of the linking}\" herf=\"linkedFile\">\r\n```\r\n\r\n### addMeta()\r\n\r\nA function used to add a custom meta (as name and content only),returns a string like that :\r\n```html\r\n<meta name=\"{your meta name}\" content=\"your meta content\">\r\n```\r\n\r\n### addCustomMeta()\r\n\r\nA function used to add a custom meta (as you want),returns like that :\r\n```html\r\n<meta {your attributes}>\r\n```\r\n\r\n### addNewHeadElement()\r\n\r\nA function used to make anew two sides element like `<element></element>`.\r\n\r\n### addNewBodyElement()\r\n\r\nA function used to add an element to the body,but with another module at HtPy5 named `Webgets`and can return with one side element or two sides element.\r\n\r\n\r\n### generateHTML()\r\n\r\nThis is the most important function,and its used to generate the html after adding elements and returns it as string.\r\n\r\n## Add-In-1.0.1 functions\r\n\r\n### addNote()\r\n\r\nA function used to add a note to the body as the same way of adding a normal element.\r\n\r\n### addHeadNote()\r\n\r\nA function used to add a note to the head as the same way of adding a normal element.\r\n\r\n## addStyle()\r\n\r\nA function uses the tool `Stylor` to add styles for the webpage.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "This is HTPy5, a module for writing HTML using Python.",
    "version": "1.0.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/BoodyWin/HTPy5/issues",
        "Documentation": "https://boodywin.github.io/HTPy5/docs",
        "Homepage": "https://boodywin.github.io/HTPy5",
        "License": "https://boodywin.github.io/HTPy5/LICENSE.txt",
        "Privacy Policy": "https://boodywin.github.io/HTPy5/Privacy-and-Terms/#privacy-policy",
        "PyPI": "https://pypi.org/project/HTPy5/",
        "Source Code": "https://github.com/BoodyWin/HTPy5",
        "Terms of Use": "https://boodywin.github.io/HTPy5/Privacy-and-Terms/#terms-of-use"
    },
    "split_keywords": [
        "htpy5",
        "html5",
        "py2html",
        "web development",
        "html generation",
        "python to html"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d95ec609270dc2de04e5f81b3c2191283de059adc57950eb3dc44303353c75b3",
                "md5": "eb502cc21015949a9afdb58283955da5",
                "sha256": "8dd3467beb2b7fade654abfc22584d3bfd67c70219bde077c55eef31c20e1014"
            },
            "downloads": -1,
            "filename": "HTPy5-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eb502cc21015949a9afdb58283955da5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 12229,
            "upload_time": "2023-09-13T12:14:23",
            "upload_time_iso_8601": "2023-09-13T12:14:23.385694Z",
            "url": "https://files.pythonhosted.org/packages/d9/5e/c609270dc2de04e5f81b3c2191283de059adc57950eb3dc44303353c75b3/HTPy5-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa13c4bd14970a3641c6bba0973d73ceec3eeaff5eaeab6abcbfbfecee1ed9c2",
                "md5": "0a080838fe9535182ef9fac87605b151",
                "sha256": "64dc7d8379a116168af0b657156c394cca7a7eea9bc1071dcfb1096d99b13042"
            },
            "downloads": -1,
            "filename": "HTPy5-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "0a080838fe9535182ef9fac87605b151",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 12735,
            "upload_time": "2023-09-13T12:14:25",
            "upload_time_iso_8601": "2023-09-13T12:14:25.005749Z",
            "url": "https://files.pythonhosted.org/packages/fa/13/c4bd14970a3641c6bba0973d73ceec3eeaff5eaeab6abcbfbfecee1ed9c2/HTPy5-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-13 12:14:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BoodyWin",
    "github_project": "HTPy5",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "htpy5"
}
        
Elapsed time: 0.29631s