معرفی شرکت ها


emmett-2.5.0


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

The web framework for inventors
ویژگی مقدار
سیستم عامل -
نام فایل emmett-2.5.0
نام emmett
نسخه کتابخانه 2.5.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Giovanni Barillari
ایمیل نویسنده gi0baro@d4net.org
آدرس صفحه اصلی https://emmett.sh
آدرس اینترنتی https://pypi.org/project/emmett/
مجوز BSD-3-Clause
![Emmett](https://deneb.spaces.amira.io/emmett/artwork/logo-bwb-xb-xl.png) Emmett is a full-stack Python web framework designed with simplicity in mind. The aim of Emmett is to be clearly understandable, easy to be learned and to be used, so you can focus completely on your product's features: ```python from emmett import App, request, response from emmett.orm import Database, Model, Field from emmett.tools import service, requires class Task(Model): name = Field.string() is_completed = Field.bool(default=False) app = App(__name__) app.config.db.uri = "postgres://user:password@localhost/foo" db = Database(app) db.define_models(Task) app.pipeline = [db.pipe] def is_authenticated(): return request.headers["Api-Key"] == "foobar" def not_authorized(): response.status = 401 return {'error': 'not authorized'} @app.route(methods='get') @service.json @requires(is_authenticated, otherwise=not_authorized) async def todo(): page = request.query_params.page or 1 tasks = Task.where( lambda t: t.is_completed == False ).select(paginate=(page, 20)) return {'tasks': tasks} ``` [![pip version](https://img.shields.io/pypi/v/emmett.svg?style=flat)](https://pypi.python.org/pypi/emmett) ![Tests Status](https://github.com/emmett-framework/emmett/workflows/Tests/badge.svg) ## Documentation The documentation is available at [https://emmett.sh/docs](https://emmett.sh/docs). The sources are available under the [docs folder](https://github.com/emmett-framework/emmett/tree/master/docs). ## Examples The *bloggy* example described in the [Tutorial](https://emmett.sh/docs/latest/tutorial) is available under the [examples folder](https://github.com/emmett-framework/emmett/tree/master/examples). ## Status of the project Emmett is production ready and is compatible with Python 3.8 and above versions. Emmett follows a *semantic versioning* for its releases, with a `{major}.{minor}.{patch}` scheme for versions numbers, where: - *major* versions might introduce breaking changes - *minor* versions usually introduce new features and might introduce deprecations - *patch* versions only introduce bug fixes Deprecations are kept in place for at least 3 minor versions, and the drop is always communicated in the [upgrade guide](https://emmett.sh/docs/latest/upgrading). ## How can I help? We would be very glad if you contributed to the project in one or all of these ways: * Talking about Emmett with friends and on the web * Adding issues and features requests here on GitHub * Participating in discussions about new features and issues here on GitHub * Improving the documentation * Forking the project and writing beautiful code ## License Emmmett is released under the BSD License. However, due to original license limitations, some components are included in Emmett under their original licenses. Please check the LICENSE file for more details.


نیازمندی

مقدار نام
>=6.0 click
>=0.3.0,<0.4.0 granian
>=0.3,<0.4 emmett-crypto
>=2.1.2,<2.2.0 pendulum
==17.3 pyDAL
>=1.0,<2.0 python-rapidjson
>=6.0,<7.0 pyyaml
>=1.6,<2.0 renoir
>=1.1,<2.0 severus
>=3.8,<3.9 orjson
>=0.19.0,<0.20.0 uvicorn
>=0.12.0 h11
>=10.0,<11.0 websockets
>=0.5.0,<0.6.0 httptools


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

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl emmett-2.5.0:

    pip install emmett-2.5.0.whl


نصب پکیج tar.gz emmett-2.5.0:

    pip install emmett-2.5.0.tar.gz