معرفی شرکت ها


django_plop-0.0.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Middleware for Django to support plop profiling
ویژگی مقدار
سیستم عامل -
نام فایل django_plop-0.0.1
نام django_plop
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Brian Hicks
ایمیل نویسنده brian@brianthicks.com
آدرس صفحه اصلی https://github.com/brianhicks/django-plop
آدرس اینترنتی https://pypi.org/project/django_plop/
مجوز UNKNOWN
Django-plop =========== Django-plop is a middleware for profiling your views with `PLOP <https://github.com/bdarnell/plop>`__, the Python Low Overhead Profiler. Usage ----- Install it with pip (or easy_install, if that's how you roll):: pip install django-plop In your project settings:: MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ('django-plop.middleware.PlopMiddleware',) PLOP_DIR = os.path.join(PROJECT_ROOT, 'plop') # will be created, defaults to /tmp/plop Then start your server with ``python manage.py --noreload`` (the ``--noreload`` is very important.) Hit a few pages, and then start the plop viewer like so:: python -m plop.viewer --datadir=plop And navigate to `localhost:8888 <http://localhost:8888>`__ to view the profile results. Note ~~~~ ``--noreload`` is used in development to allow the signalling features PLOP uses. This means it sadly won't work with some alternate runserver implementations such as ``django-devserver``. It will, however, work in prefork environments like Gunicorn. Production Usage ---------------- PLOP itself is `used in production by Dropbox <http://tech.dropbox.com/?p=272>`__ with 2% CPU overhead (or so). However, this middleware will write logs to the disk, which may not be acceptable for your use case (especially on Heroku and other PaaSes) Non-goals --------- Django-plop won't install tornado for you (you need it to use the plop visualizer.) This is because you can use it in production, and you may not want to have tornado kicking around in your production environment. If you you want to have it installed for you, install with the "viewer" extras:: pip install django-plop[viewer]


نحوه نصب


نصب پکیج whl django_plop-0.0.1:

    pip install django_plop-0.0.1.whl


نصب پکیج tar.gz django_plop-0.0.1:

    pip install django_plop-0.0.1.tar.gz