django-zero-0.1.0
توضیحات
Zero-configuration django projects.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-zero-0.1.0 |
| نام | django-zero |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Romain Dorgueil |
| ایمیل نویسنده | romain@dorgueil.net |
| آدرس صفحه اصلی | https://github.com/hartym/django-zero |
| آدرس اینترنتی | https://pypi.org/project/django-zero/ |
| مجوز | Apache License, Version 2.0 |
Zero-Configuration Django Projects
==================================
*This is a work in progress. It's used in production, but it may, or may not fit your needs. Also, things can change without warnings.*
Create modern web applications using python, django, jinja2, whitenoise, webpack, bootstrap, ... without having to
configure anything. No magic included, you can unplug/customize anything afterward.
Django Zero is a wrapper around the Django Framework (2+) that allows to create full-featured projects with (nearly)
zero configuration.
Out of the box, you get:
* **Jinja2** templating.
* **Webpack**, **Bootstrap**, **Sass** for assets.
* **Honcho** for process management.
* **Docker** images.
* **Allauth** for user authentication (with jinja2 templates).
* **Debug toolbar** and **django extensions** in development mode.
* **Cookiecutter** for scaffolding.
* **Mondrian** for logging.
* **Gunicorn** for production server.
* **Pytest** for... tests!
And more to come.
Everything is used explicitely and you can unplug any feature you don't like.
Quick start
===========
You need Python3.5+, Node.js LTS and Yarn. We advise to stick to latest stable python 3.
Install the project, and build node modules required for development.
.. code-block:: shell-session
$ pip install django-zero[dev]
$ django-zero install
Create an empty project:
.. code-block:: shell-session
$ django-zero init project my-web-app
Run the dev server (with webpack watching assets):
.. code-block:: shell-session
$ cd my-web-app
$ django-zero start
نیازمندی
| مقدار | نام |
|---|---|
| ~=1.0.9 | brotli |
| <3.2,~=3.1 | django |
| ~=0.43.0 | django-allauth |
| ~=0.3.1 | django-includes |
| ~=2.11 | jinja2 |
| ~=0.8 | mondrian |
| ~=5.2.0 | whitenoise |
| ~=4.0 | celery |
| ~=2.1.0 | django-celery-beat |
| ~=1.2.1 | django-celery-results |
| ~=3.0.0 | channels |
| ~=3.0.0 | daphne |
| ~=1.7 | cookiecutter |
| ~=5.3 | coverage |
| ~=3.0.9 | django-extensions |
| ~=3.1.1 | django-debug-toolbar |
| ~=1.0 | honcho |
| - | isort |
| ~=0.7 | medikit |
| ~=1.4 | pyquery |
| >=5.4.0 | pytest |
| ~=2.7 | pytest-cov |
| ~=4.0 | pytest-django |
| ~=1.0 | werkzeug |
| ~=20.0 | gunicorn |
نحوه نصب
نصب پکیج whl django-zero-0.1.0:
pip install django-zero-0.1.0.whl
نصب پکیج tar.gz django-zero-0.1.0:
pip install django-zero-0.1.0.tar.gz