semvec/pypi-packages huggingface dataset:
everest 1.0b2dev
everest
License: MIT
Keywords: REST web wsgi pyramid

======================================
everest - REST applications for python
======================================


``everest`` is an extension of the popular
`Pyramid <http://www.pylonsproject.org/>`_ framework aimed at simplifying the
development of REST applications in `Python <http://www.python.org>`_.

``everest`` features in a nutshell:

* A resource declaration framework that allows you to expose an entity domain
  model through a REST application;
* Extensible views for performing standard CRUD operations on resources in
  response to REST requests;
* Representers that convert resources to string representations and vice versa
  for a number of MIME types (XML, ATOM, CSV, JSON);
* A repository layer permitting per-resource configuration of the storage
  backend to use (memory for testing, file system for small data volumes,
  relational database for large data volumes);
* A query language for expressing complex hierarchical queries on the resource
  object tree through URLs;
* A Flex client
  (`distributed separately <https://github.com/cenix/everest-flex>`_);


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

Installing ``everest`` is simple. You need

* A recent version of Python (2.7.x). See
  `here <http://www.python.org/download/releases/2.7.3/>`_ for instructions;
* The pip Python package installer. Install in a shell with the command

  .. code-block:: console

     > easy_install pip

With these requirements in place, all you need to do to install ``everest`` is
to issue the command

.. code-block:: console

   > pip install everest


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

* `API documentation <http://cenix.github.com/everest/api.html>`_
* A `demo application <http://cenix.github.com/everest-demo>`_.


Development
===========

``everest`` is hosted on `github <https://github.com/cenix/everest>`_. To
contribute, please fork the project and submit a pull request. Please adhere to
PEP8 in your code and ensure 100% test coverage. We recommend configuring
pylint with the configuration file supplied in the `support` directory.
django-recaptcha-mailhide 1.1
ReCAPTCHA Mailhide is an app for hiding mails from spammers. To use with Django templates.
License: MIT

=====
reCAPTCHA Mailhide
=====

ReCAPTCHA Mailhide is an app for hiding mails from spammers. To use with Django templates.

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

Install using PIP

``pip install django-recaptcha-mailhide``

Add "recaptcha-mailhide" to your INSTALLED_APPS setting like this:

	INSTALLED_APPS = (
		...
		'recaptcha_mailhide',
	)

	MAILHIDE_PUBLIC_KEY = "XXX"
	MAILHIDE_PRIVATE_KEY = "XXX"

You can obtain public and private key for free via http://www.google.com/recaptcha/mailhide/apikey

Usage
-----------

First load it in Django template and use it as a filter.

	{% load mailhide %}
	You can mail me at {{ "example@example"|mailhide }}

Credits
-------------
Adapted from https://github.com/jbzdak/django-mailhide
django-observer 0.4.3
Watch any object/field/relation/generic relation of django and recive signals
License: MIT
Keywords: django signals object field relation generic

Watch modification of any type of field in Django's model and call registered callback function

This observer can watch

-   Any value type of field (CharField, IntegerField ...)
-   Any Model type of field (ForeignKey, OneToOneField, GenericForeignKey)
-   Any RelatedManager type of field (field automatically created via ``related_name`` of ForeignKey)
-   Any ManyRelatedManager type of field (ManyToManyField)
-   Any GenericRelatedObjectManager type of field (GenericRelation)
-   Any Model instance


Install
==============
This library is on PyPI so you can install it with::

    pip install django-observer

or from github::
    
    pip install git+https://github.com/lambdalisue/django-observer.git


Usage
==========

>>> from django.db import models
>>> from observer import watch
>>> 
>>> class Entry(models.Model):
...     status = models.CharFiled('status', max_length=10)
...     body = models.CharField('title', max_length=100)
... 
...     def save(self, *args, **kwargs):
...         super(Entry, self).save(*args, **kwargs)
... 
...         # Watch callback, this is automatically called if `status` is **changed**
...         def watch_callback(sender, obj, attr):
...             # sender is a watcher instance
...             # obj is a instance of target
...             # attr is a name of target field
...             if obj.status == 'draft':
...                 obj.title = "draft - %s" % obj.body
...             else:
...                 obj.title = "publish - %s" % obj.body
...         # Start watching
...         self._watcher = watch(self, 'status', watch_callback)

See `observer_test/src/miniblog/blog/tests/test_observer.py <https://github.com/lambdalisue/django-observer/blob/master/observer_test/src/miniblog/blog/tests/test_observer.py>`_ for more detail.

Settings
================

OBSERVER_DEFAULT_WATCHER
    A class of watcher. Default is 'observer.watcher.complex.ComplexWatcher'
openslides-topicvoting 1.1.0
OpenSlides Topic Voting Plugin
License: MIT
Keywords: OpenSlides

================================
         OpenSlides Topic Voting Plugin
        ================================
        
        Overview
        ========
        
        This plugin for OpenSlides features a structured voting on topics using the
        Sainte-Laguë method.
        
        
        Requirements
        ============
        
        OpenSlides 1.6.x (http://openslides.org/)
        
        
        Install
        =======
        
        This is only an example instruction to install the plugin on GNU/Linux. It
        can also be installed as any other python package and on other platforms,
        e. g. on Windows.
        
        Change to a new directory::
        
            $ cd
        
            $ mkdir OpenSlides
        
            $ cd OpenSlides
        
        Setup and activate a virtual environment and install OpenSlides and the
        plugin in it::
        
            $ virtualenv .virtualenv
        
            $ source .virtualenv/bin/activate
        
            $ pip install "openslides>=1.6,<1.7" openslides-topicvoting
        
        Start OpenSlides::
        
            $ openslides
        
        
        License and authors
        ===================
        
        This plugin is Free/Libre Open Source Software and distributed under the
        MIT License, see LICENSE file. The authors are mentioned in the AUTHORS file.
        
        
        Changelog
        =========
        
        Version 1.1.0 (2014-06-05)
        --------------------------
        * Updated to new plugin api and to other api changes of OpenSlides 1.6
          (slides, urls, views, widget and main menu entry).
        * Added winners as list to result view and slide.
        * Added list of all results for print.
        * Added csv import.
        * Changed several template files and updated some code styling stuff.
        
        
        Version 1.0 (2014-01-04)
        ------------------------
        * First release of this plugin.
visvalingam 0.3.0
Simple implementation of the Visvalingam-Wyatt algorithm
License: MIT

=================
Visvalingam-Wyatt
=================

Simple python implementation of a `famous algorithm`_ : the Visvalingam-Wyatt simplification.

.. _famous algorithm: https://hydra.hull.ac.uk/assets/hull:8343/content

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

Using pip ::

    $ pip install visvalingam


You can download the source using ::

    git clone https://github.com/milkbread/Visvalingam-Wyatt.git

Examples execution
------------------

The whole example is located in the ``example/`` directory ::

    $ cd example

Script usage
~~~~~~~~~~~~

Dummy ::

	$ python simplify.py -i <inFile> -o <outFile> -t <tolerance>

Example ::

	python simplify.py -i in.json -o out.json -t 0.0005

Help ::

	python simplify.py -h

View results in browser
-----------------------

This is an exemplary workflow for tests :

- Download the repository
- Simplify your data ::

    python simplify.py -i in.json -o out.json -t 0.0005

- setup local server (**necessary for D3.js**) ::

    python -m SimpleHTTPServer 8888

- open in browser: http://localhost:8888/index.html
- *If needed* adjust the filenames within the ``example/index.html`` (lines 24 & 28)
- evaluate the resulting data and try another threshold

**Impatient to see some results?** See the `example/index.html`_ here!

.. _example/index.html: http://milkbread.github.io/Visvalingam-Wyatt

Inspired by M.Bostocks JavaScript-Implementation:
-------------------------------------------------

- Explanation_
- Code_

.. _Explanation: http://bost.ocks.org/mike/simplify/)
.. _Code: http://bost.ocks.org/mike/simplify/simplify.js)


.. vim: ft=rst