# PyFlit
Pyflit is a Python Package with many helpful features for [FLASK](https://pypi.org/project/Flask/) developers. It helps you to add components, pages, send Python variables to JavaScript and many other features like, you can add same navbar for every pages while writing it only once. And if you would like to change the code you need to change the code only for once.
# Links
- **Source - [GitHub](https://jeritbaiju.pythonanywhere.com/github)**
- **My WebSite - [Jerit Baiju](https://jeritbaiju.pythonanywhere.com)**
- **Contact Me - [WhatsApp](https://jeritbaiju.pythonanywhere.com/whatsapp)**
## Installation
PyFlit is available on PyPi:
```bash
python3 -m pip install pyflit
```
```bash
pip3 install pyflit
```
PyFlit officially supports Python 3.8+.
## Cloning the Repository
```bash
git clone https://github.com/Jerit-Baiju/PyFlit.git
```
## Features
- Add components in pages
- Render single line HTML
- Adding CSS
- Adding JS
- Send Python variables to JavaScript
- Easy to Use
- Install and Use
## Usage
```py
from flask import Flask
from pyflit import Page
app = Flask(__name__)
@app.route('/')
def index():
# INITIALIZING PAGE
index = Page('index')
# ADD PAGE TITLE
index.title('Jerit Baiju')
# ADD CSS
index.add_css('index')
# ADD COMPONENT
index.add_component('navbar')
# ADD PAGE
index.add_page('index')
index.add_component('footer')
# EXPORTING
return index.export()
app.run()
```
## License
MIT.
For more information see [LICENSE](https://github.com/Jerit-Baiju/PyFlit/blob/master/LICENSE)
Raw data
{
"_id": null,
"home_page": "",
"name": "pyflit",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "add page,addpage,add_page,add component,addcomponent,add_component",
"author": "Jerit Baiju",
"author_email": "jeritalumkal@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/1a/58/a4259dc6b56f07b23d876821987e9cc9e470a33796a914e8d1037a40a579/pyflit-2.3.1.tar.gz",
"platform": null,
"description": "# PyFlit\nPyflit is a Python Package with many helpful features for [FLASK](https://pypi.org/project/Flask/) developers. It helps you to add components, pages, send Python variables to JavaScript and many other features like, you can add same navbar for every pages while writing it only once. And if you would like to change the code you need to change the code only for once.\n\n# Links\n\n- **Source - [GitHub](https://jeritbaiju.pythonanywhere.com/github)**\n- **My WebSite - [Jerit Baiju](https://jeritbaiju.pythonanywhere.com)**\n- **Contact Me - [WhatsApp](https://jeritbaiju.pythonanywhere.com/whatsapp)**\n\n## Installation\n\nPyFlit is available on PyPi:\n\n```bash\npython3 -m pip install pyflit\n```\n\n```bash\npip3 install pyflit\n```\n\nPyFlit officially supports Python 3.8+.\n\n## Cloning the Repository\n\n```bash\ngit clone https://github.com/Jerit-Baiju/PyFlit.git\n```\n\n## Features\n\n- Add components in pages\n- Render single line HTML\n- Adding CSS\n- Adding JS\n- Send Python variables to JavaScript\n- Easy to Use\n- Install and Use\n\n## Usage\n\n```py\nfrom flask import Flask\nfrom pyflit import Page\n\napp = Flask(__name__)\n\n@app.route('/')\ndef index():\n # INITIALIZING PAGE\n index = Page('index')\n # ADD PAGE TITLE\n index.title('Jerit Baiju')\n # ADD CSS\n index.add_css('index')\n # ADD COMPONENT\n index.add_component('navbar')\n # ADD PAGE\n index.add_page('index')\n index.add_component('footer')\n # EXPORTING\n return index.export()\n\napp.run()\n\n```\n\n## License\n\nMIT.\nFor more information see [LICENSE](https://github.com/Jerit-Baiju/PyFlit/blob/master/LICENSE)\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "PyFlit provides you to add components, pages, and it has many other features.",
"version": "2.3.1",
"split_keywords": [
"add page",
"addpage",
"add_page",
"add component",
"addcomponent",
"add_component"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c801552b7a61cf7d39b7706e8fee5f4f071ed03301ba5b93d208f9b377db705a",
"md5": "77baaaf72300687409c0e8c2ece4170b",
"sha256": "547d959968f02d1318c5090249dbe71c284fe4ec5d0ade02eff6ae0c66c07c16"
},
"downloads": -1,
"filename": "pyflit-2.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "77baaaf72300687409c0e8c2ece4170b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4664,
"upload_time": "2023-01-06T16:37:19",
"upload_time_iso_8601": "2023-01-06T16:37:19.116452Z",
"url": "https://files.pythonhosted.org/packages/c8/01/552b7a61cf7d39b7706e8fee5f4f071ed03301ba5b93d208f9b377db705a/pyflit-2.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1a58a4259dc6b56f07b23d876821987e9cc9e470a33796a914e8d1037a40a579",
"md5": "7e8323ab2ef92c129c066c0512e8a890",
"sha256": "b808ecf1d25fe9e1184c6999f710bec681711f08d6789f8543c7f8a7e050ada9"
},
"downloads": -1,
"filename": "pyflit-2.3.1.tar.gz",
"has_sig": false,
"md5_digest": "7e8323ab2ef92c129c066c0512e8a890",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4477,
"upload_time": "2023-01-06T16:37:21",
"upload_time_iso_8601": "2023-01-06T16:37:21.263313Z",
"url": "https://files.pythonhosted.org/packages/1a/58/a4259dc6b56f07b23d876821987e9cc9e470a33796a914e8d1037a40a579/pyflit-2.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-06 16:37:21",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "pyflit"
}