semvec/pypi-packages huggingface dataset:
django-mp-poll 2.9
Django poll app
License: MIT

# MP-Poll

Django poll app.

### Installation

Install with pip:

```
$ pip install django-mp-poll
```

Add poll to settings.py:

```
INSTALLED_APPS = [
    ...
    'poll',
]
```

Add poll to urls.py:
```
urlpatterns = [
	...
	url(r'^poll/', include('poll.urls', namespace='poll')),
]
```

Add static components:
```
poll/poll.css
poll/poll.js
```

Sync DB:

```
$ python manage.py migrate
$ python manage.py sync_translation_fields
```

## Template
```
{% load poll %}

<div>
	{% render_latest_poll %}
</div>
```

### Requirements

App require this packages:

* django-modeltranslation
* django-ordered-model
django-mp-accounts 3.1
Django accounts app
License: MIT

# MP-Accounts

Django accounts app.

### Installation

Install with pip:

```
pip install django-mp-accounts
```

Add accounts to urls.py:

```
urlpatterns += i18n_patterns(
    
    path('account/', include('apps.accounts.urls')),
    
)
```

Add accounts to settings.py:
```
INSTALLED_APPS = [
    'accounts',
]

LOGIN_REDIRECT_URL = '/'
```

### Profile model

models.py

```

from django.db import models
from django.db.models.signals import post_save
from django.dispatch import receiver
from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.models import User


class UserProfile(models.Model):

    user = models.OneToOneField(
        User, related_name='profile', on_delete=models.CASCADE)

    mobile = models.CharField(_('Mobile number'), max_length=255, blank=True)

    address = models.CharField(_('Address'), max_length=255, blank=True)


@receiver(post_save, sender=User)
def save_profile(sender, instance, **kwargs):

    if not hasattr(instance, 'profile'):
        UserProfile.objects.create(user=instance)

```

urls.py

```
from accounts import urls


app_name = urls.app_name


urlpatterns = urls.urlpatterns + [
    # Custom patterns
]
```

Run migrations:
```
$ python manage.py migrate
```
clashroyale 4.0.1
An (a)sync wrapper for royaleapi.com
License: MIT
Requires Python: >=3.5
Keywords: clashroyale,wrapper,cr,royaleapi

clashroyale
===========

.. image:: https://img.shields.io/pypi/v/clashroyale.svg
    :target: https://pypi.org/project/clashroyale/
    :alt: PyPi

.. image:: https://img.shields.io/pypi/pyversions/clashroyale.svg
    :target: https://pypi.org/project/clashroyale/
    :alt: Supported Versions

.. image:: https://travis-ci.com/cgrok/clashroyale.svg?branch=master
    :target: https://travis-ci.com/cgrok/clashroyale
    :alt: Travis CI Status

.. image:: https://img.shields.io/github/license/cgrok/clashroyale.svg
    :target: https://github.com/cgrok/clashroyale/blob/master/LICENSE
    :alt: MIT License


This library is currently an (a)sync wrapper for
https://royaleapi.com and the official Clash Royale API with
great functionality.

Installation
============

Development build

.. code-block:: python

    pip install git+https://github.com/cgrok/clashroyale

Stable build

.. code-block:: python

    pip install clashroyale

Documentation
=============

Hosted on readthedocs.io (https://clashroyale.readthedocs.io)

Docstrings are written using the `NumpyDoc`_ specification

.. _NumpyDoc: https://github.com/cdgriffith/Box
circuits-bricks 0.4.4
General purpose components extending the circuits framework.
License: MIT
Keywords: circuits component

.. _Python Programming Language: http://www.python.org/
.. _Python Standard Library: http://docs.python.org/library/
.. _MIT License: http://www.opensource.org/licenses/mit-license.php
.. _circuits framework: http://packages.python.org/circuits
.. _circuits-bricks Page on PyPI: http://pypi.python.org/pypi/circuits-bricks
.. _Package Documentation: http://packages.python.org/circuits-bricks
.. _github: https://github.com/mnlipp/Circuits-Bricks
.. _issue tracker: https://github.com/mnlipp/Circuits-Bricks/issues 

Overview
--------

circuits-bricks is a collection of general purpose components
for the `circuits framework`_. Read the `Package Documentation`_
for details.

The source is maintained at `github`_. Please use the `issue tracker`_ 
there to report any issues.

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

circuits-bricks has no dependencies beyond the `Python Standard Library`_
and the `circuits framework`_ in the 2.0.1 version.

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

The simplest and recommended way to install circuits-bricks is with 
easy_install::

    > easy_install circuits-bricks

Alternatively, you may download the source package from the
`circuits-bricks Page on PyPI`_ or from `github`_, extract it 
and install using::

    > python setup.py install

License
-------

circuits-bricks is licensed under the `MIT License`_.