semvec/pypi-packages huggingface dataset:
pyramid_flamegraph 0.1.1
Pyramid tween to generate a flamegraph log for every request
License: MIT
Keywords: pyramid

pyramid_flamegraph
==================

This package provides a Pyramid tween to generate a `flamegraph`_ image for every request.

developed on the basis of `pyramid_pycallgraph implemented by Andreas Kaiser`_
and `djdt-flamegraph implemented by Bo Lopker`_ .

.. _`flamegraph`: https://github.com/brendangregg/FlameGraph
.. _`djdt-flamegraph implemented by Bo Lopker`: https://github.com/23andMe/djdt-flamegraph
.. _`pyramid_pycallgraph implemented by Andreas Kaiser`: https://github.com/disko/pyramid_pycallgraph


Installation
------------

.. code-block:: bash

    $ pip install --upgrade git+https://gitlab.com/hhatto/pyramid_flamegraph


Usage
-----

.. code-block:: text

    pyramid.includes =
        pyramid_flamegraph


Configuration
-------------

.. code-block:: text

    flamegraph.interval = 0.005     # default: 0.001
    flamegraph.color = aqua         # default: hot
django-mp-trans 1.1
Django trans apps
License: MIT

# Translation app
This app helps translate admin fields using `django-modeltranslation` and `googletrans`

## Installation
`$ pip install mp-trans`

## Setup
1. Add `trans` and `modeltranslation` to the `INSTALLED_APPS` variable of your project’s `settings.py`
2. Set `IS_ADMIN_FIELDS_TRANSLATION_ENABLED` option to `True` in your `settings.py`
3. Add `url(r'^trans/', include('trans.urls')),` to your `urls.py`

## Admin usage
1. Import `TranslationAdmin` class.
```
from trans.admin import `TranslationAdmin`
```
2. Extend your admin class with `TranslationAdmin`
```
class MyModelAdmin(TranslationAdmin):
	pass
```