semvec/pypi-packages huggingface dataset:
django-sharing 0.0.2
Django row level object sharing app.
License: BSD

Django Sharing
==============

**Django row level sharing app limiting content access by user in Django admin.**

Features
--------
#. Provides admin view, change and delete permissions, restricting content access and limiting available actions per user.
#. Filters ``ForeignKey`` fields by view permissions. 
#. Filters ``ManyToManyField`` fields by view permissions. 
#. Automatically enables sharing on all admin classes (optional). 

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

#. Install or add django-sharing to your python path.
#. Add ``'sharing'`` to the project's ``INSTALLED_APPS`` setting.
#. Add ``'sharing.backends.SharingBackend'`` to the project's ``AUTHENTICATION_BACKENDS`` setting.

Usage
-----

In order for django-sharing to limit content access your various admin classes need to include the ``ShareAdminMixin`` class. For example::
    
    # admin.py
    from django.contrib import admin
    from sharing.admin import ShareAdminMixin

    class ArticleAdmin(ShareAdminMixin, admin.ModelAdmin):
        pass

    admin.site.register(Article, ArticleAdmin)

It is crucial for ``ShareAdminMixin`` to be the first ancestor class in the admin class' definition.  

Alternatively you can automatically enable sharing for all models registered with the admin site. django-sharing includes an ``admin_mixin_share`` method which will apply the ``ShareAdminMixin`` class to all models registered with the admin site. Call the method *after* ``admin.autodiscover()`` in urls.py::

    # urls.py
    from django.conf.urls.defaults import *
    from django.contrib import admin
    
    import sharing

    admin.autodiscover()
    sharing.admin_mixin_share()

    urlpatterns = patterns('',
        (r'^admin/', include(admin.site.urls)),
    )

Once the ``ShareAdminMixin`` class has been applied your admin change views should include ``Group`` and ``User`` share inlines and restrict content appropriately.

Authors
=======

Praekelt Foundation
-------------------
* Shaun Sephton

Changelog
=========
0.0.2
-----
#. Resolved class name issue on save_model.


0.0.1
-----
#. Initial release.
briefs-caster 0.1.1
A server for exposing your briefcasts to the world
License: BSD

briefs-caster
=============

What is it?
-----------

This is a simple Briefcasts server for your Briefs.

`Rob Rhyne <http://robrhyne.com/>`_ developed Briefs, an iPhone application for creating wireframes for
Cocoa touch applications.

This is an insanely cool app, and much props go to `Digital Arch
<http://digitalarch.com>`_.  Check it out first, http://giveabrief.com.

Briefcasts and briefs-caster
----------------------------

Within Briefs, you can add a URL that points to a list of briefs.  In the app,
it's called **My Briefcasts**.

briefs-caster converts any ``.bs`` files into ``.brieflist`` files using the
utilities provided by `the Briefs starter kit
<http://giveabrief.com/files/starterkit.zip>`_ and serves them up on
http://0.0.0.0:5000 as a Briefcast.

Installation
------------

*Requires Mac OS X*

briefs-caster uses Python.  To install it open a terminal and type the following

::

    easy_install briefs-caster

If you use Pip (recommended), alternatively run this ::

    pip install briefs-caster

*Note* you may need to ``sudo`` these commands on your system.

Usage
-----

We're going to assume that you've installed Briefs and have started using it.
You should be to the point that you have a ``.bs`` file that you've
created.

Let's pretend it's in a directory called ``~/my_briefs``.

Run the briefs-caster from the directory ::

    cd ~/my_briefs
    briefs-caster

Alternatively you can tell briefs-caster where to serve from ::

    briefs-caster ~/my_briefs

You should see the following output ::

    briefs-caster - Serving up some fine briefs for you

    Open http://<IP_ADDRESS>:5000 from the Briefs app

    CTRL-C to exit the server
    * Running on http://0.0.0.0:5000/

Errors
------

Check the terminal for any errors that the Briefs script utililty produces.  If
you mis-type something, forget a required attribute or something like that it
will show up in the output.


Add to Briefs
-------------

In the Briefs app do the following:

#. Touch **My Briefcasts**
#. Touch **Edit** in the top right
#. Touch **+**
#. Enter Name **Briefs-caster example**
#. Enter URL **http://127.0.0.1:5000** or if you are not using the same computer
   this IP may be different (we run the iPhone Simulator with Briefs inside it)
#. Touch **Save**
#. Touch **Done**

Now you are ready to try it out:

#. Touch **Briefs-caster example**

If everything went as expected, you should see your list of Briefs.


News
====

0.1.1
-----

*Release date: 28-Sep-2010*

* Added the ability for briefs-caster to automatically convert your .bs files for you
  you no longer need to generate the .brieflist files manually

0.1
---

*Release date: 23-Sep-2010*

* Initial release
tipfy.ext.db 0.7
Database extension for tipfy
License: BSD

tipfy.ext.db
============

This extension provides datastore utilities for `tipfy <http://www.tipfy.org/>`_.

Links
-----
* `Source Code Repository <http://code.google.com/p/tipfy-ext-db/>`_
* `Issue Tracker <http://code.google.com/p/tipfy-ext-db/issues/list>`_

About tipfy
-----------
* `Home page <http://www.tipfy.org/>`_
* `Extension list <http://www.tipfy.org/wiki/extensions/>`_
* `Discussion Group <http://groups.google.com/group/tipfy>`_
autoreload_prime 1.0
An auto reload module that should work with most servers (patched from Tornado)
License: BSD
Keywords: autoreload auto reload

autoreload_prime
---------------

An auto reload module that should work with most servers (patched from Tornado).

To install autoreload_prime simply do::

    $ sudo easy_install autoreload_prime

TO use autoreload_prime::

    import autoreload_prime
    autoreload_prime.start()