semvec/pypi-packages huggingface dataset:
fc-thumbnail 11.15
Thumbnails for Django
License: BSD

sorl-thumbnail
==============

Thumbnails for Django. Totally rewritten.

Features at a glance
--------------------
- Storage support
- Pluggable Engine support (ImageMagick, PIL, pgmagick included)
- Pluggable Key Value Store support (cached db, redis)
- Pluggable Backend support
- Admin integration with possibility to delete
- Dummy generation (placeholders)
- Flexible, simple syntax, generates no html
- ImageField for model that deletes thumbnails
- CSS style cropping options
- Margin calculation for vertical positioning

Read more in `the documentation (latest version) <http://sorl-thumbnail.rtfd.org/>`_
circus-logstash 0.0.5
A Logstash shipper for Circus
License: BSD
Keywords: logstash circus

# Circus-Logstash

A logger to be used in Circus that ships logs via a Redis queue to Logstash. If there is interest in other brokers they should be able to be added to this project

# Installation

```
  pip install circus-logstash
```

# Usage

In your Circus config add the stream class and some info

```
  stdout_stream.class = circus_logstash.circus_logstash.LogstashRedisLogger
  stdout_stream.refresh_time = 0.3
  stdout_stream.urls = redis://localhost:6379/0
  stdout_stream.service = service_name
  stdout_stream.redis_namespace = logstash:app:production

  stdout_stream.subclass = FileStream
  stdout_stream.subclass_filename = '/var/log/...'

  stdout_stream.field_extra_field = 'field_value'
```

`urls` is a comma separated list of Redis urls to connect to. These are done in round robin if there are any failures connection/writing.

`service` Used throughout for namespacing the log lines

`redis_namespace` The list to write logs to

`subclass` A class to use as well (like writing files still)

Any options prefixed with `subclass_` will be passed to the init of the subclass

Any options prefixed with `field_` can be used to include extra field:value pairs in the Logstash events. This is useful to include extra metadata about this process.
js.mediaelement 2.13.1
Fanstatic packaging of MediaElement.js
License: BSD

js.mediaelement
===============

Introduction
------------

This library packages `MediaElement.js`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`MediaElement.js`: http://mediaelementjs.com/

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory in ``js.mediaelement``) are published to some URL.


How to use?
-----------

You can import ``mediaelementandplayer`` from ``js.mediaelement`` and ``need``
it where you want these resources to be included on a page::

  >>> from js.mediaelement import mediaelementandplayer
  >>> mediaelementandplayer.need()


CHANGES
=======

2.13.1
------

- Upgrade to 2.13.1

2.12.0
------

- Upgrade to 2.12.0.

2.9.3-1
-------

- Add missing js.jquery requirement / dependency.

2.9.3
-----

- Initial release.
django-cked-fc 0.1.1
CKEditor and elFinder integration for Django Framework.
License: BSD
Keywords: django,ckeditor,elfinder,wysiwyg,upload

Django CKEd
===========

**CKEditor and elFinder integration for Django Framework.**

Provides a ``RichTextField`` and ``CKEditorWidget`` with upload and
browse support.

|CKEditor| |elFinder|

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

::

    pip install django-cked

or

::

    pip install -e hg+https://bitbucket.org/ssbb/django-cked#egg=django-cked

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

Add ``cked`` to your ``INSTALLED_APPS`` setting.

Then set ``ELFINDER_OPTIONS`` in your settings:

::

    ELFINDER_OPTIONS = {
        ## required options
        'root': os.path.join(PROJECT_ROOT, 'media', 'uploads'),
        'URL': '/media/uploads/',
    }

And add CKEd URL include to your project ``urls.py`` file:

::

    url(r'^cked/', include('cked.urls')),

Settings
--------

-  **CKEDITOR\_OPTIONS**: CKEditor config. See
   http://docs.ckeditor.com/#!/guide/dev_configuration
-  **ELFINDER\_OPTIONS**: elFinder config. See
   https://github.com/Studio-42/elFinder/wiki/Client-configuration-options

Usage
-----

Model field
~~~~~~~~~~~

::

    from django.db import models
    from cked.fields import RichTextField


    class Entry(models.Model):
        text = RichTextField()

Widget
~~~~~~

::

    from django import forms
    from cked.widgets import CKEditorWidget

    class MyForm(forms.Form):
        text = forms.CharField(widget=CKEditorWidget)

**NOTE**: If you are using custom forms, dont’r forget to include form
media to your template:

::

    {{ form.media }}

.. |CKEditor| image:: https://bitbucket.org/ssbb/django-cked/raw/default/img/ckeditor.jpg
.. |elFinder| image:: https://bitbucket.org/ssbb/django-cked/raw/default/img/elfinder.jpg