PyFlit
Pyflit is a Python Package with many helpful features for 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
- My WebSite - Jerit Baiju
- Contact Me - WhatsApp
Installation
PyFlit is available on PyPi:
python3 -m pip install pyflit
pip3 install pyflit
PyFlit officially supports Python 3.8+.
Cloning the Repository
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
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
Metadata
Release files for pyflit 2.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyflit-2.3.1.tar.gz | 4.5 kB | Without provenance | Details for pyflit-2.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyflit-2.3.1-py3-none-any.whl | Python 3 | none | any | Details for pyflit-2.3.1-py3-none-any.whl |
Total release size: 9.1 kB
Release files / pyflit-2.3.1.tar.gz
| Download URL | pyflit-2.3.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b808ecf1d25fe9e1184c6999f710bec681711f08d6789f8543c7f8a7e050ada9
|
|
BLAKE2b-256 checksum How to use checksums |
1a58a4259dc6b56f07b23d876821987e9cc9e470a33796a914e8d1037a40a579
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / pyflit-2.3.1-py3-none-any.whl
| Download URL | pyflit-2.3.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
547d959968f02d1318c5090249dbe71c284fe4ec5d0ade02eff6ae0c66c07c16
|
|
BLAKE2b-256 checksum How to use checksums |
c801552b7a61cf7d39b7706e8fee5f4f071ed03301ba5b93d208f9b377db705a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for pyflit 2.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.