semvec/pypi-packages huggingface dataset:
django-contact-form-recaptcha 1.6.1
A generic contact-form application for Django

.. -*-restructuredtext-*-

django-contact-form-recaptcha
=============================

.. image:: https://travis-ci.org/maru/django-contact-form-recaptcha.svg
    :target: https://travis-ci.org/maru/django-contact-form-recaptcha
.. image:: https://readthedocs.org/projects/django-contact-form-recaptcha/badge/?version=latest
    :target: http://django-contact-form-recaptcha.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

This application provides simple, extensible contact-form functionality
for `Django <https://www.djangoproject.com/>`_ sites.

.. image:: https://raw.githubusercontent.com/maru/django-contact-form-recaptcha/master/docs/_static/contact_form_recaptcha.png

*  Mail header 'From: "Your Name" <your@email.com>', so it's easy to reply to the sender.

*  Subject provided by the user.

*  Uses `reCAPTCHA <https://www.google.com/recaptcha>`_ to block spam robots.

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

Requirements:

-  Python (2.7, 3.4, 3.5, 3.6)
-  Django (1.11, 2.0)

To use the `contact_forms.forms.ReCaptchaContactForm` form:

1. Install django-contact-form-recaptcha:

   .. code-block:: bash

      pip install django-contact-form-recaptcha

2. Obtain the reCAPTCHA API keys from https://www.google.com/recaptcha.

3. Supply the API keys for django-contact-form-recaptcha to use. You can
   either place them in the Django settings ``RECAPTCHA_PUBLIC_KEY``
   and ``RECAPTCHA_PRIVATE_KEY``, or in the environment variables
   ``PYTHON_RECAPTCHA_PUBLIC_KEY`` and ``PYTHON_RECAPTCHA_PRIVATE_KEY``.

4. Add the application ``captcha`` in the Django settings:

   .. code-block:: python

      INSTALLED_APPS = [
          ...
          'captcha',
      ]


5. Then use the following URLconf:

   .. code-block:: python

      from django.conf.urls import include, url


      urlpatterns = [
          # ... other URL patterns for your site ...
          url(r'^contact/', include('contact_form.recaptcha_urls')),
      ]

   If you're using Django 2.0, you can do:

   .. code-block:: python

      from django.urls import include, path


      urlpatterns = [
          # ... other URL patterns for your site ...
          path('contact/', include('contact_form.recaptcha_urls')),
      ]


6. Create your templates in your ``templates`` directory:

   *  contact_form/contact_form.html
   *  contact_form/contact_form_sent.html
   *  contact_form/contact_form.txt
   *  contact_form/contact_form_subject.txt

   Or you can use the templates provided by this package. Remember to add
   the application ``contact_form`` in the Django settings.

7. Emails are sent to the ``MANAGERS`` defined in your Django settings:

   .. code-block:: python

      MANAGERS = [('John', 'john@example.com'),]

Full documentation for all functionality is included and is also
`available online <http://django-contact-form-recaptcha.readthedocs.io/>`_.

Originally forked from `django-contact-form <https://github.com/ubernostrum/django-contact-form>`_.
stevesie 0.0.7
Stevesie Python Client.

# Stevesie Python Client

**This library is under development, please be careful and report any bugs you find! <3**

## Installation

This package will be available on PyPi when it's a little more mature, but until then you'll need to download (yes, actually download or clone this repo) and make the `./stevesie` folder available to your Python code.

For example, if I want to run the file `main.py`, I would need to make sure the `stevesie` folder is in the same directory as `main.py`, and then we can perform imports like this in `main.py`: `from stevesie.worker import Worker`

## Usage

This code is currently meant to help you interact with your workers programmatically, either downloading collection results the worker has already gathered in JSON format, or to run workers with special parameters.

```py
from stevesie.worker import Worker

# find your ID from https://stevesie.com/workers/WORKER_ID and insert
worker = Worker(WORKER_ID)

# fetch metadata about the worker, like its task or workflow definition
worker.fetch()

# see what parameters are available to run with
print(worker.run_params())

# download all the workers collection results in-memory
worker_results = worker.fetch_results()

# save the results as JSON locally
worker_results.save_to_file(CACHE_FILE_LOCATION)

# re-load the local JSON back into memory
worker.load_results(CACHE_FILE_LOCATION)

# show the worker extraction results
print(worker_results.items())

# run the worker with custom parameters
worker.run({'PARAM_ID': 'custom_value_from_python'})
```

## Sample Projects

If you build something cool, let us know and we'll link to it here: