معرفی شرکت ها


darkstar-0.1.5


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Dark Star
ویژگی مقدار
سیستم عامل -
نام فایل darkstar-0.1.5
نام darkstar
نسخه کتابخانه 0.1.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Felix Ingram <f.ingram@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/darkstar/
مجوز -
# Dark Star Dark Star is a web framework that provides filesystem routing for [Starlette](https://starlette.io) and first-class support for server-side rendering. Dark Star routes are defined by their filesystem path and both the route's backend code and template are contained in the first page. ## Motivation Dark Star aims to provide an easy way to create web applications using the [HATEOAS](https://htmx.org/essays/hateoas/) and [HDA](https://htmx.org/essays/hypermedia-driven-applications/) philosophies favoured by [htmx](https://htmx.org). It also aims to reduce the boilerplate code normally needed when creating web apps. In particular, it looks to reduce the need of having a separate files for view functions and templates. It tries to embrace [Locality of Behaviour](https://htmx.org/essays/locality-of-behaviour/) by putting the view function code and template in the same file, and having the file's path be the route used by Starlette to access the code. ## Installation ``` pip install darkstar ``` You can then run the included CLI with: ``` python -m darkstar create-app --help ``` To run your new app, you'll need an ASGI server installed, such a Hypercorn, Daphne, or Uvicorn. To run with Uvicorn, first install it: ``` python -m pip install uvicorn[standard] ``` The run your app: ``` python -m uvicorn app:app ``` (This assumes your defined your app as the `app` variable in an `app.py` file.)


نیازمندی

مقدار نام
- starlette
- starlette-htmx
- jinja2
- click


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

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


نحوه نصب


نصب پکیج whl darkstar-0.1.5:

    pip install darkstar-0.1.5.whl


نصب پکیج tar.gz darkstar-0.1.5:

    pip install darkstar-0.1.5.tar.gz