معرفی شرکت ها


Lespy-0.1.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A small and robust micro Python framework for building simple and solid web apps.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل Lespy-0.1.2
نام Lespy
نسخه کتابخانه 0.1.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Natan Santos
ایمیل نویسنده natansantosapps@gmail.com
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/Lespy/
مجوز MIT
# LESPY [![GitHub stars](https://img.shields.io/github/stars/natanfeitosa/lespy.svg)](https://github.com/natanfeitosa/lespy/stargazers) [![Pytest Actions Status](https://github.com/natanfeitosa/lespy/actions/workflows/pytest.yml/badge.svg)](https://github.com/natanfeitosa/lespy/actions) [![GitHub license](https://img.shields.io/github/license/natanfeitosa/lespy.svg)](https://github.com/natanfeitosa/lespy/blob/main/LICENSE) ![PyPI](https://img.shields.io/pypi/v/lespy.svg) [![PyPI download month](https://img.shields.io/pypi/dm/lespy.svg)](https://pypi.org/project/lespy/) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/lespy.svg)](https://pypi.python.org/pypi/lespy/) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/lespy.svg) ## Overview A small and robust micro Python framework for building simple and solid web apps. ## Quick start > DEMO: You can see a working examples [here](./examples). ### Instalation Via PIP (recommended): ```bash pip install lespy ``` Via Poetry: ```bash poetry add lespy ``` Via GitHub: ```bash git clone https://github.com/natanfeitosa/lespy.git && cd lespy && pip install . ``` ### Creating a simple app In your `main.py` file import the `App` class from `lespy` ```python from lespy import App ``` Now instantiate the App class and pass it a name ```python app = App('first_app') ``` Now we need to create a route with the GET method ```python @app.get('/') def home(request): return 'Hello world' ``` Yes, it's that simple. ### Running the app **_With the simple server included:_** > This is a simple implementation, do not use for production environment. First import the `run` method ```python from lespy import run ``` Now let's use the method passing the App instance ```python if __name__ == '__main__': run(app) ``` Now, just run our python file, and if everything went well, just access in <http://localhost:3000>. **_With Gunicorn:_** ```bash $ gunicorn main:app ```


نیازمندی

مقدار نام
- pytest
- coverage


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl Lespy-0.1.2:

    pip install Lespy-0.1.2.whl


نصب پکیج tar.gz Lespy-0.1.2:

    pip install Lespy-0.1.2.tar.gz