semvec/pypi-packages huggingface dataset:
django-yacaptcha 0.0.6
Simple captcha with Yandex API.
License: BSD

=====
Django YaCaptcha
=====

Django YaCaptcha - Yandex Captcha (cleanweb) form field/widget integration app.

Uses https://github.com/coagulant/cleanweb

Quick start
-----------

1. Add "yacaptcha" to your INSTALLED_APPS setting like this:
<pre>
INSTALLED_APPS = (
        'yacaptcha',
)
</pre>

2. Get the API key http://api.yandex.ru/cleanweb and add to your project settings:
<pre>
YACAPTCHA_KEY = 'your_api_key'
</pre>

3. Add YaCaptchaField in your form like this::
<pre>
from yacaptcha.fields import YaCaptchaField
class TestForm(forms.Form):
        name = forms.CharField()
        captcha = YaCaptchaField()
</pre>
4. Add form field widget template
    You may create your own template for field widget. For this add in project settings:
<pre>
YACAPTCHA_WIDGET_TEMPLATE = 'path_to_widget.html'
</pre>
    Or use default widget.html from package django-yacaptcha/templates/yacaptcha/widget.html

5. If you use django-registration, you may use registartion backend with yacaptcha field like this:
<pre>
url(r'^accounts/', include('yacaptcha.backends.default.urls')), # yacaptcha backend for registration form
(r'^accounts/', include('registration.backends.default.urls')),
</pre>
odeViz 0.2
This toolbox generates automatically a vtk-visualization for an ode (Open Dynamics Engine) simulation under Python. You only have to define the simulation space and world and forward these entities to the visualization.
License: BSD
Keywords: ode,vtk

odeViz: (or as I use to say: ode - visualization)


0. Contact: 
===========

If you change the code, improve this project, fix bugs, or just have comments, 
feel free to contact me...

André Dietrich: dietrich@ivs.cs.uni-magdeburg.de

Website: http://eos.cs.ovgu.de/en/crew/dietrich


1. Preface: 
===========

I wrote this simple library, because I was fed up with dealing with the visualization for every ode-simulation. All geometrical information are allready within the simulation, so why was it not done automatically.


2. Requirements: 
================

Open Dynamics Engine: http://www.ode.org
----------------------------------------
Download the current version, compile it or use binary-packages. 

PyODE: http://pyode.sourceforge.net
-----------------------------------
This is the ode-interface for Python, it also contains the xode-project, which enables the definition of ode-simulations with XML. See the ReadMe for further
installation information. 

Visualization Toolkit (VTK): http://www.vtk.org
-----------------------------------------------
Download VTK if you haven't insalled it yet and compile it with Python support. See also ReadMe for further installation information.

Additional:
-----------
If you are using Linux as I do (Ubuntu), nearly all of these tools and libraries can be installed from precompiled versions. But for xode you will have to download PyODE from http://pyode.sourceforge.net.


3. Install: 
===========

Using ``pip``::

    $ pip install odeViz

From a tarball::

    $ python setup.py install


4. Running the examples:
========================

I put two examples in this project, one (tutorial3.py) was taken from the PyODE-tutorial. In fact it is the same, I just removed all OpenGL-functionality. The second example (test.py) shows, how easy it is to define a simulation for ode with an XML document (see test.xml). To run this example you will have to use xode.

For further explanation, have a look at our tutorial at: http://www.aizac.info/projects/ode-viz