Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Formasaurus tells you the types of HTML forms and their fields using machine learning

Project Description

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 for more.


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

0.7 (2016-03-03)

  • more annotated data;
  • new form_classes and field_classes attributes of FormFieldClassifer;
  • more robust web page encoding detection in;
  • 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.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(13.7 MB) Copy SHA256 Hash SHA256
Wheel 3.5 May 24, 2016
(12.5 MB) Copy SHA256 Hash SHA256
Source None May 24, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate