semvec/pypi-packages huggingface dataset:
django-stylus-watcher 1.0.6
Django stylus watchers & auto compilers
License: MIT

django-stylus-watcher
======================

This add a command .

Usage
=====

Put ``'stylus_watcher'`` into ``INSTALLED_APPS``.

Set settings ``STYLUS_WATCHER = [
    ('relative/path/to/main/stylus/file.styl', 'relative/path/to/compiled/file.css'), # A compilation rules
    ('relative/path/to/main/stylus/file.styl', 'relative/path/to/compiled/file.css'), # Antoher compilation rules
    ...etc
]

The watcher listen changes in every installed apps ``styl`` folder

Then run ``python manage.py stylus_watcher``
polyrents-challenge 0.1.0
Application security challenge
License: MIT

PolyRents Challenge
===================

.. image:: https://img.shields.io/travis/nickfrostatx/polyrents-challenge.svg
    :target: https://travis-ci.org/nickfrostatx/polyrents-challenge

.. image:: https://img.shields.io/pypi/v/polyrents-challenge.svg
    :target: https://pypi.python.org/pypi/polyrents-challenge

.. image:: https://img.shields.io/pypi/l/polyrents-challenge.svg
    :target: https://raw.githubusercontent.com/nickfrostatx/polyrents-challenge/master/LICENSE

Want an application security challenge that makes you think? Give this one a
try, see if you can beat it!
nass 0.1.1
USDA National Agricultural Statistics Service API wrapper
License: MIT

nass
====

.. image:: https://img.shields.io/travis/nickfrostatx/nass.svg
    :target: https://travis-ci.org/nickfrostatx/nass

.. image:: https://img.shields.io/coveralls/nickfrostatx/nass.svg
    :target: https://coveralls.io/github/nickfrostatx/nass

.. image:: https://img.shields.io/pypi/v/nass.svg
    :target: https://pypi.python.org/pypi/nass

.. image:: https://img.shields.io/pypi/l/nass.svg
    :target: https://raw.githubusercontent.com/nickfrostatx/nass/master/LICENSE

``nass`` is a wrapper around the public API for the USDA National Agricultural
Statistics Service.

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

.. code-block:: bash

    $ pip install nass

Usage
-----

.. code-block:: python

    >>> import nass
    >>> api = nass.NassApi('your api key')
    >>> api.param_values('source_desc')
    ['CENSUS', 'SURVEY']
    >>> q = api.query()
    >>> q.filter('commodity_desc', 'CORN').filter('year', 1990)
    >>> q.count()
    25259
    >>> q.execute()
    [{'sector_desc': 'CROPS', ...}, ...]

See http://quickstats.nass.usda.gov/ for the full list of fields.

Exceptions
----------

If something goes wrong communicating with NASS, an exception will be raised.
This includes connection problems (e.g. timeout, DNS failure), as well as
specific error messages.

All exceptions subclass ``NassException``, so you can use it to catch all
exceptions.

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

You can find full documentation of the ``nass`` package at
https://nass.readthedocs.org.


.. :changelog:

History
-------

0.1.1 (2015-10-14)
++++++++++++++++++

- Python 3.5 support
- Mark as stable

0.1.0 (2015-07-18)
++++++++++++++++++

- Initial release
ckanext-fluent 1.0.0
Multilingual fields for CKAN
License: MIT

ckanext-fluent
==============

This extension provides a way to store and return multilingul
fields in CKAN datasets, resources, organizations and groups.

Add the `fluent` plugin to your ckan.plugins configuration
settings and use ckanext-scheming or a custom form plugin to
use the provided validators to store multilingual text in
extra fields.

The easiest way to use fluent multilingual text fields is with
[ckanext-scheming](https://github.com/open-data/ckanext-scheming/).
Add `ckanext.fluent:presets.json` to your scheming.presets
configuration settings:

```json
scheming.presets = ckanext.scheming:presets.json
                   ckanext.fluent:presets.json
```

A fluent multilingual field in a scheming schema
will look something like::

```json
{
  "field_name": "books",
  "preset": "fluent_text",
  "label": {
    "en": "Books",
    "fr": "Livres"
  },
  "form_languages": ["en", "fr"]
}
```

This new extra field "books" will appear as multiple fields in the
dataset form, one for each language specified in `form_languages`
by the [form snippet](ckanext/fluent/templates/scheming/form_snippets/fluent_text.html).

![Example of fluent form snippet](docs/multilingual-form.png)

When displayed, each language with text entered will appear separately
by the
[display snippet](ckanext/fluent/templates/scheming/display_snippets/fluent_text.html), eg.:

![Example of fluent display snippet](docs/multilingual-display.png)

When the dataset is accessed from the API the language values appear
and are updated as an object, eg.:

```json
{
  "...": "...",
  "books": {
    "en": "Franklin",
    "fr": "Benjamin"
  },
  "...": "..."
}