semvec/pypi-packages huggingface dataset:
django-odnoklassniki-users 0.2.1
Django implementation for odnoklassniki API Users
License: BSD

Django Odnoklassniki Users
==========================

[![PyPI version](https://badge.fury.io/py/django-odnoklassniki-users.png)](http://badge.fury.io/py/django-odnoklassniki-users) [![Build Status](https://travis-ci.org/ramusus/django-odnoklassniki-users.png?branch=master)](https://travis-ci.org/ramusus/django-odnoklassniki-users) [![Coverage Status](https://coveralls.io/repos/ramusus/django-odnoklassniki-users/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-odnoklassniki-users)

Приложение позволяет взаимодействовать с профилями пользователей Вконтакте через Вконтакте API используя стандартные модели Django

Установка
---------

    pip install django-odnoklassniki-users

В `settings.py` необходимо добавить:

    INSTALLED_APPS = (
        ...
        'oauth_tokens',
        'taggit',
        'odnoklassniki_api',
        'odnoklassniki_users',
    )

    # oauth-tokens settings
    OAUTH_TOKENS_HISTORY = True                                             # to keep in DB expired access tokens
    OAUTH_TOKENS_ODNOKLASSNIKI_CLIENT_ID = 12345678                         # application id
    OAUTH_TOKENS_ODNOKLASSNIKI_CLIENT_PUBLIC = ''                           # application public key
    OAUTH_TOKENS_ODNOKLASSNIKI_CLIENT_SECRET = ''                           # application secret key
    OAUTH_TOKENS_ODNOKLASSNIKI_SCOPE = ['']                                 # application scopes
    OAUTH_TOKENS_ODNOKLASSNIKI_USERNAME = ''                                # user login
    OAUTH_TOKENS_ODNOKLASSNIKI_PASSWORD = ''                                # user password

Покрытие методов API
--------------------

* [users.getInfo](http://apiok.ru/wiki/display/api/users.getInfo) – возвращает большой массив информации, связанной с пользователем, для каждого переданного идентификатора пользователя;

Примеры использования
---------------------

### Получение пользователей по ID

    >>> from odnoklassniki_users.models import User
    >>> User.remote.fetch(ids=[561348705024,578592731938])
    [<User: Евгений Дуров>,
     <User: Михаил Коммуникатов>]
churchdir 0.3
Convert an address book from csv format to a web page.
License: BSD
Keywords: church directory address book csv

Church Directory Software
=========================

.. contents::
   :local:
   
Introduction
------------

This program creates an address book from a spreadsheet file.  The address book
that is created is an html file which can be put on the Internet (a password
protected location [1]_ is strongly recommended), or on a local, in-house
server.  The spreadsheet file contains your lists of addresses.  This file is
saved in csv format.

The churchdir program was created using the Python programing language and it 
can be run on any computer (Windows, Mac, Linux, etc.) on which Python is 
installed.  Python [2]_ is free to download [3]_ and use.

Python 2.7 or 3.x will work.  3.x is recommended.

Installing
----------

Once Python is installed on your computer (see above) install the Church 
Directory software by executing this command from the command line:
::

  easy_install churchdir

This will download the program from a repository of Python programs from 
pypi.python.org and install it on your computer.

Running the program
-------------------

This program works via the command line.  Create a directory in which to work
and then make it your working directory:
::

  C:\> mkdir mydirectory
  C:\> cd mydirectory

Then execute the program like this:
::

  C:\mydirectory> churchdir-quickstart

You will then be asked a series of questions; most specifically, the name of
the input file.  If the input file doesn't exist, a sample one will be created 
for you. *(You should use this csv file to begin your address list since it 
contains the correct headers.  Use a spreadsheet program to edit.)*

After all the questions are answered, the output file (the address book) is 
created in the current working directory.

Photos
------

Photos, specified in the "Photo URL" column of the input file, should be a head
shot of one person, preferably 96x96 pixels.  A secondary, larger photo may be
specified in the "Photo Secondary" column.  When a user visits the html page 
and if he clicks on the head shot photo, the secondary photo appears.

Changelog
---------

* version 0.1: intial release

* version 0.2: program now better handles bad csv input files

* version 0.3: bug fix: erroneous error message was being shown.

---------------------------------------------------------------------

.. rubric:: Footnotes

.. [1] How to password protect a directory using .htaccess: 
   `link <http://davidwalsh.name/password-protect-directory-using-htaccess>`_
.. [2] An author of Python tutorial books explains Python: 
   `youtube video <https://www.youtube.com/watch?v=GS84YRHhr_g>`_
.. [3] Download Python: https://www.python.org/downloads/
pyccm 0.4
Implementation of the Convergent Cross Mapping
License: BSD
Keywords: time series

pyccm
=====

This package computes the Convergent Cross Mapping described by
Sugihara et al., 2012: "Detecting Causality in Complex Ecosystems". Science 338: 496–500

This code was adapted from https://github.com/cjbayesian/rccm by Corey Chivers.

Frederic Laliberte, Univerity of Toronto, 2014

The Natural Sciences and Engineering Research Council of Canada (NSERC/CRSNG) funded 
FBL during this project.

Version History
---------------

0.4: The correlations are computed on the vector at lag 0. Note: this returns to the Sugihara et al. approach.
     Bug fixes with E>2

0.3: The correlations are computed on the lagged vectors. Note: this departs from Sugihara et al.

0.2: Added the capability of analyzing time series limited to a few months per year

0.1: First version
django-kungfu 0.2
A Flasky approach to distributed Django configuration
License: BSD
Keywords: django settings overrides flasky

django-kungfu
=============

``django-kungfu`` provides the ability to set-up the Django configuration
mechanism so it's fairly easy to integrate development or deployment-related 
settings overrides.

The idea came after I used for a while the beatiful configuration system 
implemented in `Flask
<http://flask.pocoo.org/>`_. In fact, the majority of the code was inspired
by the Flask implementation located `here
<https://github.com/mitsuhiko/flask/blob/master/flask/config.py>`_.

Usage by example
================

The integration with your Django project is fairly easy and depends on your
preferences. One possible set-up could look like this::

    # At the bottom of your/settings.py file just add the following lines
    from django_kungfu import Configurator
    config = Configurator(locals())
    config.from_pyfile(os.path.join(os.path.dirname(__file__), 'dev_settings.py'))
    config.from_envvar('DJANGO_SETTINGS_OVERRIDE')

In short, this is what happens when the django settings file is loaded:
# if the dev_settings.py file is found in the same directory as the settings file,
all the upper-case constants are loaded into local context overriding the existing
ones
# if the DJANGO_SETTINGS_OVERRIDE environment variable is set and is pointing to
a valid configuration file, that configuration file is loaded in the same way

By default, if the specified files or environment variables are not found or
are not valid, the configurator will fail silently. This is useful for example
when using development settings which are not available in a production system 
and we want to keep a single settings file as a configuration entry point.

If you want to enforce the presence of a particular configuration file or
environment variable you can use ``silent=False`` with the respective
methods.

Having this configuration, you can easily set-up a production environment
by setting the appropriate environment variable in you production wsgi file::

    # prod.wsgi
    import os

    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings")
    os.environ.setdefault("DJANGO_SETTINGS_OVERRIDE",
                          os.path.expanduser("~/etc/myproject/prod_settings.py"))

    from django.core.wsgi import get_wsgi_application
    application = get_wsgi_application()

Why kungfu?
===========

This name was selected because kungfu pronounced in my natal language (a regional 
dialect of Romanian) sounds similar to config (confu). And of course my sympathy for martial 
arts, and especially for kung fu, brought a few points.