semvec/pypi-packages huggingface dataset:
wagtaildependencies 0.0.0
Makes it easy to manage front-end dependencies for Wagtail admin plugins
License: MIT
Keywords: d,e,v,e,l,o,p,m,e,n,t

Wagtail Dependencies
====================
This package for Wagtail makes it easy to manage front-end dependencies for admin plugins.

#### The problem
Multiple Wagtail plugins may require the same front-end dependency, ex. Font Awesome. But we don't want to require that dependency twice on the admin screen, so we need to detect that duplication and only include it only once.

#### The solution
We can use named dependencies to prevent duplication, as long as developers can agree to use the same name. For instance, if we name Font Awesome `fontawesome`, then multiple projects can enqueue the `fontawesome` CSS, and this app will be sure it's only imported once.

Usage
-----
Add `wagtaildependencies` to your `INSTALLED_APPS`, then you can use the following hooks:

* `enqueue_scripts`
* `enqueue_styles`

The system will automatically detect duplicates among enqueued media throughout apps and will only include the library once.

Example
-------
```python
@hooks.register('enqueue_scripts')
def enqueue_jquery():
    return {
        'jquery': {
            'source': 'lib/js/jquery.js',
            'version' '3.1.0',
        }
    }

@hooks.register('enqueue_styles')
def enqueue_fontawesome():
    return {
        'fontawesome': {
            'source': 'lib/css/fontawesome.css',
            'version': '4.6.3',
        }
    }
```
django-jquery 3.1.0
jQuery packaged in an handy django app to speed up new applications and deployment.
License: MIT
Keywords: django,jquery,staticfiles

Django jQuery
=============


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

`Django <https://www.djangoproject.com/>`_ 1.3 or later


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

::

    $ pip install django-jquery


Setup
-----

Just add ``'django.contrib.staticfiles'`` and ``'jquery'`` to INSTALLED_APPS in
your settings.py::

    INSTALLED_APPS = (
        # ...

        'django.contrib.staticfiles',
        'jquery',

        # ...
    )

Refer to Django `static files <https://docs.djangoproject.com/en/dev/howto/static-files/>`_
documentation to configure and deploy static files.


Usage
-----

You can refer to jquery in your template with::

    {{ STATIC_URL }}js/jquery.js


Admin template customization::

    {% extends "admin/base_site.html" %}

    {% block extrahead %}
        <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.js" />
    {% endblock %}


Custom widget::

    class MyWidget(forms.TextInput):
        class Media:
            js = ('js/jquery.js',)

        def render(self, name, value, attrs=None):
            html = super(MyWidget, self).render(name, value, attrs=attrs)
            # ...
            return html
smserver 1.0.0
An implementation of a Stepmania server
License: MIT

Stepmania Server
================

.. start-badges

.. list-table::
    :stub-columns: 1

    * - docs
      - |docs|
    * - tests
      - | |travis| |appveyor|
    * - package
      - |version| |supported-versions| |license|

.. |docs| image:: https://readthedocs.org/projects/stepmania-server/badge/?version=latest
    :alt: Documentation Status
    :target: https://stepmania-server.readthedocs.io/

.. |travis| image:: https://travis-ci.org/ningirsu/stepmania-server.svg?branch=master
    :alt: Travis-CI Build Status
    :target: https://travis-ci.org/ningirsu/stepmania-server

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/ningirsu/stepmania-server?branch=master&svg=true
    :alt: AppVeyor Build Status
    :target: https://ci.appveyor.com/project/ningirsu/stepmania-server

.. |version| image:: https://img.shields.io/pypi/v/smserver.svg?style=flat
    :alt: PyPI Package latest release
    :target: https://pypi.python.org/pypi/smserver

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/smserver.svg?style=flat
    :alt: Supported versions
    :target: https://pypi.python.org/pypi/smserver

.. |license| image:: https://img.shields.io/pypi/l/smserver.svg?style=flat
    :alt: License
    :target: https://pypi.python.org/pypi/smserver

.. end-badges

SMServer is an implementation of a stepmania server in python3.

The goal is to provide a simple server implementation which can easily be adapt to your need.

Requirement
-----------

SMServer only support python3.3 and higher. It use:

* PYYaml
* SQLAlchemy
* asyncio


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

Install the server using pip, or directly from source:

.. code-block:: console

    $ python3 setup.py install

or

.. code-block:: console

    $ pip install smserver


Configuration
-------------

The server will come with a default configuration file located in:

.. code-block:: console

    $ /etc/smserver/conf.yml


By default, the server will use a sqlite database. To change it adapt the database section of the configuration file.

EG for mysql:

.. code-block:: yaml

    database:
        type: "mysql"
        user: "stepmania"
        password: "*******"
        database: "stepmania"
        host: "localhost"
        port:
        driver: "pymysql"

To launch the server just type:

.. code-block:: console

    $ smserver

For more information check the `docs <https://stepmania-server.readthedocs.io/>`_

License
-------

This software is licensed under the MIT License. See the LICENSE file in the top distribution directory for the full license text.
luhnmod10 1.0.2
A fast and simple in-place implementation of the luhn check algorithm.
License: MIT

Luhn (Mod 10)
=============

.. image:: https://travis-ci.org/luhnmod10/python.svg?branch=master
    :target: https://travis-ci.org/luhnmod10/python

A fast and simple in-place implementation of the `luhn check algorithm <https://en.wikipedia.org/wiki/Luhn_algorithm>`_ in Python. Implementations in other languages can be found at `github.com/luhnmod10 <https://github.com/luhnmod10>`_.

Usage
-----

Install the package:

.. code-block:: console

  pip install luhnmod10

Or:

.. code-block:: console

  easy_install luhnmod10

Then:

.. code-block:: python

  from luhnmod10
  luhnmod10.valid('4242424242424242')

Contributing
------------

Contributions are welcome! If you can improve the execution time of this implementation without increasing its complexity, please open a pull request. To test your change, run `make` in the repository to run the tests and the benchmarks.