semvec/pypi-packages huggingface dataset:
privileges 0.1
a privileges app for Django
License: BSD

==========
privileges
==========

``privileges`` makes segmenting authenticated users easy and extensible.

Unlike Django permissions, ``privileges`` is not tied to operations on 
individual models. It operates at a higher level of abstraction and is instead
concerned more with providing the site developer complete freedom in determining
who can do what. There certainly is some overlap with the built in permissions
system, and while you could use ``privileges`` to replace it, at least large
parts of it, that is not the aim of this app.

Instead, think of ``privileges`` allowing the site developer to control
access to certain features. Operating at the template and view layers the site
developer can paint as broad or as fine of strokes to suit their needs.

It is extensible in the sense that the site developer can define and register
their own privilege validation handlers. In fact they must define at least one
handler. There is a template tag for checking privileges in templates and a
decorator for checking privileges when a view is called.

There is a model that stores the named privileges which are nothing more than
named slugs. The records carry no special meeting to ``privileges`` in isolation
but depend on the site developer to impart meaning through reference in his
site.


Sponsorship
-----------

development sponsored by `Midwest Communications`_


.. _`Midwest Communications`: http://mwcradio.com/
firebat-console 0.0.11
Console helpers for Phantom load tool
License: BSD
Keywords: phantom,firebat

Firebat-console
===============
.. image:: https://secure.travis-ci.org/greggyNapalm/firebat_console.png?branch=master
   :alt: Build Status
   :target: https://secure.travis-ci.org/greggyNapalm/firebat_console

Firebat is console based utility library for Phantom I/O engine. Create and launch tests, analyze results.

Documentation
-------------

More info and documentation can be found at: `<http://firebat-console.readthedocs.org/>`_

Russian documentation is also available: `<http://firebat-console-ru.readthedocs.org/>`_


Requirements
------------

* GNU Linux >= 2.6
* Phantom I/O engine >= 14
* Python >= 2.7 (Not Python3)

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

Use pip and `vurtualev/virtualenvwrapper <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`_

Stable version:

::

    pip install firebat-console

Development version:

::

    pip install -e git+git://github.com/greggyNapalm/firebat_console.git#egg=firebat-console



Screenshots
-----------

`Demo page <http://fire-demo.appspot.com/f/index.html>`_

.. image:: https://github.com/greggyNapalm/firebat_console/raw/ru_sphinx_doc/docs/img/ss11.png
.. image:: https://github.com/greggyNapalm/firebat_console/raw/ru_sphinx_doc/docs/img/ss12.png
.. image:: https://github.com/greggyNapalm/firebat_console/raw/ru_sphinx_doc/docs/img/ss13.png

Issues
------

Find a bug? Want a feature? Submit an `here <http://github.com/greggyNapalm/firebat_console/issues/>`_. Patches welcome!

License
-------
BSD `Read more <http://opensource.org/licenses/BSD-3-Clause>`_

=========
Changelog
=========

0.11
====

* New charts added: Avg Tx Rx, Req/Resp, RTT fractions
* Web based report optimized

0.9
===

* daemonized Phantom launcher added
* Web based report added 

0.1
===

* Unit tets and TravisCI integration added
pyglot 0.1.1
A library for interacting with the Google Translate API
License: BSD

pyglot
======

A python library for interacting with the Google Translate API.

**Note: This uses the translate v2 API**

You will need a **server** key configured with Google, and a payment method on file,
as there is no courtesy limit for translations.

Usage:
------
See the [Google Translate docs](https://developers.google.com/translate/v2/using_rest) for more details.

    >>> from pyglot import Translator
    >>> lang = Translator(key='YOUR-KEY')

    # Translating text:
    >>> lang.translate('The quick brown fox jumped over the lazy dog', target='de')
    GTranslation({u'translatedText': u'Der schnelle braune Fuchs sprang \xfcber den faulen Hund', u'detectedSourceLanguage': u'en'})

    # Detecting the language of text:
    >>> lang.detect('The quick brown fox jumped over the lazy dog')
    [GLanguage({u'isReliable': False, u'confidence': 0.79904306, u'language': u'en'})]

    # Getting a list of language codes, with names in english:
    >>> lang.languages(target='en')
    [GLanguage({u'name': u'Afrikaans', u'language': u'af'}), GLanguage({u'name': u'Albanian', u'language': u'sq'}), ... ]