Metadata-Version: 2.0
Name: formasaurus
Version: 0.8.1
Summary: Formasaurus tells you the types of HTML forms and their fields using machine learning
Home-page: https://github.com/TeamHG-Memex/Formasaurus
Author: Mikhail Korobov
Author-email: kmike84@gmail.com
License: MIT license
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Provides-Extra: with_deps
Provides-Extra: with-deps
Provides-Extra: annotation
Requires-Dist: docopt
Requires-Dist: requests
Requires-Dist: six
Requires-Dist: tldextract
Requires-Dist: tqdm (>=2.0)
Requires-Dist: w3lib (>=1.13.0)
Provides-Extra: annotation
Requires-Dist: Tornado (>=4.0.0); extra == 'annotation'
Requires-Dist: ipython[notebook] (>=4.0); extra == 'annotation'
Requires-Dist: ipywidgets; extra == 'annotation'
Provides-Extra: with-deps
Requires-Dist: lxml; extra == 'with-deps'
Requires-Dist: scikit-learn (>=0.18); extra == 'with-deps'
Requires-Dist: scipy; extra == 'with-deps'
Requires-Dist: sklearn-crfsuite (>=0.3.1); extra == 'with-deps'
Provides-Extra: with_deps
Requires-Dist: lxml; extra == 'with_deps'
Requires-Dist: scikit-learn (>=0.18); extra == 'with_deps'
Requires-Dist: scipy; extra == 'with_deps'
Requires-Dist: sklearn-crfsuite (>=0.3.1); extra == 'with_deps'

===========
Formasaurus
===========

.. image:: https://img.shields.io/pypi/v/Formasaurus.svg
   :target: https://pypi.python.org/pypi/Formasaurus
   :alt: PyPI Version

.. image:: https://img.shields.io/travis/TeamHG-Memex/Formasaurus/master.svg
   :target: http://travis-ci.org/TeamHG-Memex/Formasaurus
   :alt: Build Status

.. image:: http://codecov.io/github/TeamHG-Memex/Formasaurus/coverage.svg?branch=master
   :target: http://codecov.io/github/TeamHG-Memex/Formasaurus?branch=master
   :alt: Code Coverage

.. image:: https://readthedocs.org/projects/formasaurus/badge/?version=latest
   :target: http://formasaurus.readthedocs.org/en/latest/?badge=latest
   :alt: Documentation


Formasaurus is a Python package that tells you the type of an HTML form
and its fields using machine learning.

It can detect if a form is a login, search, registration, password recovery,
"join mailing list", contact, order form or something else, which field
is a password field and which is a search query, etc.

License is MIT.

Check `docs <http://formasaurus.readthedocs.org/>`_ for more.

----

.. image:: https://hyperiongray.s3.amazonaws.com/define-hg.svg
	:target: https://www.hyperiongray.com/?pk_campaign=github&pk_kwd=formasaurus
	:alt: define hyperiongray


Changes
=======

0.8.1 (2018-07-02)
------------------

* Support for scikit-learn < 0.18 is dropped;
* Formasaurus is no longer tested with Python 3.3;
* tests are fixed to account for upstream changes; Python 3.6 build is enabled.

0.8 (2016-05-24)
----------------

* more annotated data for captchas;
* ``formasaurus init`` command which trains & caches the model.

0.7.2 (2016-04-18)
------------------

* pip bug with ``pip install formasaurus[with-deps]`` is worked around;
  it should work now as ``pip install formasaurus[with_deps]``.

0.7.1 (2016-03-03)
------------------

* fixed API documentation at readthedocs.org

0.7 (2016-03-03)
----------------

* more annotated data;
* new ``form_classes`` and ``field_classes`` attributes of FormFieldClassifer;
* more robust web page encoding detection in ``formasaurus.utils.download``;
* bug fixes in annotation widgets;

0.6 (2016-01-27)
----------------

* ``fields=False`` argument is supported in ``formasaurus.extract_forms``,
  ``formasaurus.classify``, ``formasaurus.classify_proba`` functions and
  in related ``FormFieldClassifier`` methods. It allows to avoid predicting
  form field types if they are not needed.
* ``formasaurus.classifiers.instance()`` is renamed to
  ``formasaurus.classifiers.get_instance()``.
* Bias is no longer regularized for form type classifier.

0.5 (2015-12-19)
----------------

This is a major backwards-incompatible release.

* Formasaurus now can detect field types, not only form types;
* API is changed - check the updated documentation;
* there are more form types detected;
* evaluation setup is improved;
* annotation UI is rewritten using IPython widgets;
* more training data is added.

0.2 (2015-08-10)
----------------

* Python 3 support;
* fixed model auto-creation.

0.1 (2015-07-09)
----------------

Initial release.


