semvec/pypi-packages huggingface dataset:
PySideKick 0.2.3
helpful utils for working with PySide
License: BSD
Keywords: GUI Qt PySide

PySideKick:  helpful utilities for working with PySide
======================================================


This package is a rather ad-hoc collection of helpers, utilities and custom
widgets for building applications with PySide.  So far we have:

  * PySideKick.Call:  helpers for calling functions in a variety of ways,
                      e.g. qCallAfter, qCallInMainThread

  * PySideKick.Console:   a simple interactive console to embed in your
                          application

  * PySideKick.Hatchet:   a tool for hacking frozen PySide apps down to size,
                          by rebuilding PySide with a minimal set of classes
django-markup-mixin 0.1.0
Add pre-rendered markup fields to your django models with the least work.
License: BSD

django-markup-mixin
===================

A simple django reusable application to provide markup control over a field in a model. Right now this is pretty hacked together, but should become more robust over time. Either way, I've found it quite useful in many places already.

On big benefit? You can provide both a markup field, and a rendered content field, meaning expensive per-template markup rendering operations can be relegated to only the simplest of text areas. Big content areas can be re-rendered on each model save.

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

In three easy steps!

1. Place 'markup-mixin' in your installed apps.
2. Add:

        from markup-mixin.models import MarkupMixin

3. Make sure your model inherits the mixin: 

        class YourModel(MarkupMixin): 
            ...

4. Set the markup field options on your model:
        
        def MarkupOptions:
            source_field = <your markup content field>
            rendered_field = <your rendered content field>

That's it. One major caveat, because of the hacky nature of this project, **you must place MarkupMixin at the front of your model inheritance list!** This should be fixed eventually, but right now it has something to do with how the model's save() function is overridden.

Usage
------

With the steps above taken, managing your marked up items is fairly straightforward:

    >>> obj = YourModel.objects.get(pk=1)
    >>> obj.content
    u'This is a markdown **formated** text area.'
    >>> obj.rendered_content
    u'<p>This is a markdown <strong>formated</formated> text area.</p>'

Future
------

Figure out why it must come first in the inheritance list and perhaps even add support for multiple markup rendered fields.
django-la-facebook 0.1.1
Definitive facebook auth for Django
License: BSD

===========
README
===========

Dedicated facebook authentication for Django that does it via the backend and not javascript. Has lots of tests and a trivial-to-setup test project with working code.

Reason: http://pydanny.blogspot.com/2011/01/what-i-want-for-django-facebook-connect.html

Full Documentation: http://django-la-facebook.readthedocs.org/en/latest/index.html


Usage
-----


Get ``django-la-facebook`` into your python path::

    pip install django-la-facebook
    
Add ``la_facebook`` to your INSTALLED_APPS in settings.py::

    INSTALLED_APPS = (
        ...
        'la_facebook',
        ...
        )
    
Add ``la_facebook`` to your root urlconf (urls.py)::

    urlpatterns = patterns('',
        ...,
        url(r"^la_facebook/", include("la_facebook.urls")),
        ...,        
    )

Add settings just as::

    FACEBOOK_ACCESS_SETTINGS = {
            "FACEBOOK_APP_ID": FACEBOOK_APP_ID,
            "FACEBOOK_APP_SECRET": FACEBOOK_APP_SECRET,
            # The following keys are optional
            # "CALLBACK": "la_facebook.callbacks.default.default_facebook_callback",
            # "PROVIDER_SCOPE": ['email','read_stream'],
            # "LOG_LEVEL": "DEBUG",
            # "LOG_FILE": "/tmp/la_facebook.log",
    }