semvec/pypi-packages huggingface dataset:
sdist_check 0.1
setuptools sdist checker.
License: MIT
Keywords: setuptools sdist check

sdist_check
===========

|bdg-build| | `sources <https://github.com/ulif/sdist_check>`_ | `issues <https://github.com/ulif/sdist_check/issues>`_

.. |bdg-build| image:: https://travis-ci.org/ulif/sdist_check.svg
    :target: https://travis-ci.org/ulif/sdist_check

`setuptools`_ plugin providing a new command ``sdist_check``. It is
run like any other regular `setuptools`_ command::

  $ python setup.py sdist_check
  running sdist_check

and does some additional checks compared to the `setuptools`_ built-in
command ``check``. For instance it scans distributions built with
``sdist`` for files you most probably do not want to be part of the
distribution.

A list of all supported options of the `sdist_check` command can be
retrieved like this::

  $ python setup.py sdist_check --help
  Common commands: (see '--help-commands' for more)
  
    setup.py build      will build the package underneath 'build/'
    setup.py install    will install the package
  
    ...
  
  Options for 'sdist_check' command:
    --metadata (-m)          Verify meta-data
    --restructuredtext (-r)  Checks if long string meta-data syntax are
                             reStructuredText-compliant
    --strict (-s)            Will exit with an error if a check fails
    --badfiles (-b)          Check files included in dist for unusual names
  
  ...

The `badfiles` option is a list of filename patterns which are
considered as non-wanted in distributions. By default, we look for
files named like ``"*~"``.

.. _setuptools: https://bitbucket.org/pypa/setuptools



Changes
=======

0.1 (2015-10-06)
----------------

- Initial release.
PyGoogleForm 0.5
A simple Python library to submit Google Forms in Python.
License: MIT
Keywords: Google Form

PyGoogleForm
============

A simple Python library to submit Google Forms in Python.

The goal is to be able to submit Google Forms from anything else than a
web page (a Desktop app, or any device that doesn't use a browser).

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

::

    pip install PyGoogleForm

How to use
----------

First, create your form in Google Form, and then click "view live form".
Then in your code:

.. code:: python

    import PyGoogleForm
    # Use the url of the page to initialize the GFParser
    url = "https://docs.google.com/forms/d/1jzDkEha066GwSCcSrCg1yaJJLpJAk0_aIFwf6GQgmmU/viewform"
    gForm = PyGoogleForm.GFParser(url)

    # Get the questions by IDs
    questionIDs = gForm.getQuestionIDs()
    question1 = gForm.getQuestionInfo(questionIDs[0])
    # question1 == [ID, type, question text, [possible choices]]

    # Answering a question
    gForm.answerQuestion(question[0], "ok")

    # Finally, submit the form
    gForm.submit()

Limitations
-----------

-  can handle only basic types: radio, select, checkbox, text, paragraph
   text
-  doesn't support "required" answers. The form is submitted and the
   answer recorded in the answer sheet

Licence
-------

The project uses a permissive MIT Licence. Do whatever you want with it.

Resource
--------

Special thanks to `Kristler on
Reddit <https://www.reddit.com/r/learnprogramming/comments/32xd4s/how_can_i_use_python_to_submit_a_google_form_or/cqfvj4m>`__
for the inspiration.