28 best Python Form Validation libraries in 2024

share link

by weaver dot icon Updated: Nov 21, 2023

technology logo
technology logo

Guide Kit Guide Kit  

Python is an indispensable tool for many programmers. With it, you can do away with all the repetitive and tedious work involved with other scripting languages.

For a technical process like form validation, with Python, you can ensure that the input text is in the correct format (including both after submitting and inline validation). Hence, when you build an application that accepts user input, you can verify that the data that enters your application is valid, consistent, and secure with various open-source Python libraries.


Here we list down some of those libraries which are useful for form validation. Say, with pydantic, you can define custom data types, parse input data, and then validate it. Using type hints, the library can even coerce input data to the declared types and accumulate errors using ValidationError. pydantic is also easily discoverable given how well it has been documented. Another application, Django-crispy-forms helps you manage Django forms by allowing you to adjust their properties (say, CSS classes, send button, etc.) on the backend. This means you no longer have to rewrite anything in the template. We also have Formspree, which is a backend, API, and email service for HTML and JavaScript forms. It is secure with a honeypot to prevent spam and is the simplest way to embed customized order forms, “Contact Us” forms, and dialogue boxes meant to capture email.

pydantic:  

  • It is a popular Python library for data validation and parsing.  
  • It allows you to define the expected types of data for each field in your form.   
  • It ensures that the data you receive conforms to your expectations.  

pydanticby samuelcolvin

Python doticonstar image 9557 doticonVersion:v1.9.0doticon
License: Permissive (MIT)

Data parsing and validation using Python type hints

Support
    Quality
      Security
        License
          Reuse

            pydanticby samuelcolvin

            Python doticon star image 9557 doticonVersion:v1.9.0doticon License: Permissive (MIT)

            Data parsing and validation using Python type hints
            Support
              Quality
                Security
                  License
                    Reuse

                      marshmallow:  

                      • It is a library used for data serialization and deserialization. It can also handle form validation.  
                      • It provides a way to define data schemas and confirm input data against those schemas.  
                      • Offers features for input validation, data normalization, and data serialization/deserialization. 

                      marshmallowby marshmallow-code

                      Python doticonstar image 6558 doticonVersion:Currentdoticon
                      License: Permissive (MIT)

                      A lightweight library for converting complex objects to and from simple Python datatypes.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                marshmallowby marshmallow-code

                                Python doticon star image 6558 doticonVersion:Currentdoticon License: Permissive (MIT)

                                A lightweight library for converting complex objects to and from simple Python datatypes.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          django-crispy-forms:  

                                          • It is a popular Python library. It helps in form rendering and form management in Django web applications.   
                                          • It provides a cleaner and more elegant way to render forms in HTML.  
                                          • It helps ensure that forms in Django app. It has a consistent and professional appearance. 

                                          django-crispy-formsby django-crispy-forms

                                          Python doticonstar image 4718 doticonVersion:2.0doticon
                                          License: Permissive (MIT)

                                          The best way to have DRY Django forms. The app provides a tag and filter that lets you quickly render forms in a div format while providing an enormous amount of capability to configure and control the rendered HTML.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    django-crispy-formsby django-crispy-forms

                                                    Python doticon star image 4718 doticonVersion:2.0doticon License: Permissive (MIT)

                                                    The best way to have DRY Django forms. The app provides a tag and filter that lets you quickly render forms in a div format while providing an enormous amount of capability to configure and control the rendered HTML.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              connexion:  

                                                              • This can be crucial for various reasons, particularly when developing web applications.   
                                                              • It allows you to enforce specific business rules and logic.  
                                                              • It ensures that data conforms to the requirements of your application.

                                                              connexionby zalando

                                                              Python doticonstar image 3888 doticonVersion:2.10.0doticon
                                                              License: Others (Non-SPDX)

                                                              Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        connexionby zalando

                                                                        Python doticon star image 3888 doticonVersion:2.10.0doticon License: Others (Non-SPDX)

                                                                        Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  formspree:  

                                                                                  • It allows you to create and manage web forms for your website.  
                                                                                  • It takes security and provides features to help protect against spam and abuse. It includes CAPTCHA support.  
                                                                                  • It allows you to collect and store data from your forms.  

                                                                                  formspreeby formspree

                                                                                  Python doticonstar image 2796 doticonVersion:Currentdoticon
                                                                                  License: Others (Non-SPDX)

                                                                                  Easy HTML form without PHP or JavaScript

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            formspreeby formspree

                                                                                            Python doticon star image 2796 doticonVersion:Currentdoticon License: Others (Non-SPDX)

                                                                                            Easy HTML form without PHP or JavaScript
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      sqlparse:  

                                                                                                      • It provides parsing and formatting capabilities for SQL statements.  
                                                                                                      • It can format SQL queries to make them more readable.  
                                                                                                      • It helps in analyzing the structure of SQL queries.  

                                                                                                      sqlparseby andialbrecht

                                                                                                      Python doticonstar image 3291 doticonVersion:Currentdoticon
                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                      A non-validating SQL parser module for Python

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                sqlparseby andialbrecht

                                                                                                                Python doticon star image 3291 doticonVersion:Currentdoticon License: Permissive (BSD-3-Clause)

                                                                                                                A non-validating SQL parser module for Python
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          cerberus:  

                                                                                                                          • It is a lightweight and extensible data validation library for Python.  
                                                                                                                          • It confirms data structures, including data submitted via forms.  
                                                                                                                          • It allows you to define validation rules using a simple and flexible schema.

                                                                                                                          cerberusby pyeve

                                                                                                                          Python doticonstar image 2989 doticonVersion:Currentdoticon
                                                                                                                          License: Permissive (ISC)

                                                                                                                          Lightweight, extensible data validation library for Python

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    cerberusby pyeve

                                                                                                                                    Python doticon star image 2989 doticonVersion:Currentdoticon License: Permissive (ISC)

                                                                                                                                    Lightweight, extensible data validation library for Python
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              schema:  

                                                                                                                                              • It defines the structure and constraints of the data that your forms should accept.  
                                                                                                                                              • It helps in detecting and reporting errors in user-submitted data.  
                                                                                                                                              • This makes it easier to maintain and update your form validation rules.  

                                                                                                                                              schemaby keleshev

                                                                                                                                              Python doticonstar image 2758 doticonVersion:v0.7.5doticon
                                                                                                                                              License: Permissive (MIT)

                                                                                                                                              Schema validation just got Pythonic

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        schemaby keleshev

                                                                                                                                                        Python doticon star image 2758 doticonVersion:v0.7.5doticon License: Permissive (MIT)

                                                                                                                                                        Schema validation just got Pythonic
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  SublimePrettyJson:  

                                                                                                                                                                  • It is a Sublime Text plugin designed to format and prettify JSON data.  
                                                                                                                                                                  • It makes JSON data more human-readable. It does so by organizing it in a structured and indented format.  
                                                                                                                                                                  • It can improve a developer's productivity by automating the formatting process.  
                                                                                                                                                                  Python doticonstar image 1985 doticonVersion:1.3.1doticon
                                                                                                                                                                  License: Permissive (MIT)

                                                                                                                                                                  Prettify/Minify/Query/Goto/Validate/Lint JSON plugin for Sublime Text 3 & 4

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            SublimePrettyJsonby dzhibas

                                                                                                                                                                            Python doticon star image 1985 doticonVersion:1.3.1doticon License: Permissive (MIT)

                                                                                                                                                                            Prettify/Minify/Query/Goto/Validate/Lint JSON plugin for Sublime Text 3 & 4
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      django-widget-tweaks:  

                                                                                                                                                                                      • It simplifies the rendering and customization of form widgets.  
                                                                                                                                                                                      • It allows you to customize the rendering of form widgets in your HTML templates.  
                                                                                                                                                                                      • It simplifies the template code required to render form elements. This makes it more readable and maintainable.  
                                                                                                                                                                                      Python doticonstar image 1823 doticonVersion:1.4.12doticon
                                                                                                                                                                                      License: Permissive (MIT)

                                                                                                                                                                                      Tweak the form field rendering in templates, not in python-level form definitions. CSS classes and HTML attributes can be altered.

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                django-widget-tweaksby jazzband

                                                                                                                                                                                                Python doticon star image 1823 doticonVersion:1.4.12doticon License: Permissive (MIT)

                                                                                                                                                                                                Tweak the form field rendering in templates, not in python-level form definitions. CSS classes and HTML attributes can be altered.
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          pandera:  

                                                                                                                                                                                                          • It helps ensure the quality and integrity of your data.  
                                                                                                                                                                                                          • Ensure data by specifying validation rules and constraints on your datasets. 
                                                                                                                                                                                                          • Use it alongside other data libraries and tools like pandas.

                                                                                                                                                                                                          panderaby pandera-dev

                                                                                                                                                                                                          Python doticonstar image 1240 doticonVersion:v0.10.1doticon
                                                                                                                                                                                                          License: Permissive (MIT)

                                                                                                                                                                                                          A light-weight, flexible, and expressive data validation library for dataframes

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    panderaby pandera-dev

                                                                                                                                                                                                                    Python doticon star image 1240 doticonVersion:v0.10.1doticon License: Permissive (MIT)

                                                                                                                                                                                                                    A light-weight, flexible, and expressive data validation library for dataframes
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              wtforms:  

                                                                                                                                                                                                                              • WTForms is a form validation library used for Flask web applications.  
                                                                                                                                                                                                                              • It provides a simple and flexible way to define forms as Python classes and confirm them.  
                                                                                                                                                                                                                              • Supports various field types and allows you to define custom validation functions.  
                                                                                                                                                                                                                              • Offers CSRF protection and integration with popular web frameworks.

                                                                                                                                                                                                                              wtformsby wtforms

                                                                                                                                                                                                                              Python doticonstar image 1386 doticonVersion:3.0.1doticon
                                                                                                                                                                                                                              License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                              A flexible forms validation and rendering library for Python.

                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                        wtformsby wtforms

                                                                                                                                                                                                                                        Python doticon star image 1386 doticonVersion:3.0.1doticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                        A flexible forms validation and rendering library for Python.
                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                  ohmyform:  

                                                                                                                                                                                                                                                  • It simplifies the process of validating user input in web applications.  
                                                                                                                                                                                                                                                  • It aims to be a lightweight and straightforward library.  
                                                                                                                                                                                                                                                  • It allows you to define your custom validation rules and error messages.  

                                                                                                                                                                                                                                                  ohmyformby ohmyform

                                                                                                                                                                                                                                                  Python doticonstar image 2301 doticonVersion:1.0.3doticon
                                                                                                                                                                                                                                                  License: Strong Copyleft (AGPL-3.0)

                                                                                                                                                                                                                                                  ✏️ Free open source alternative to TypeForm, TellForm, or Google Forms ⛺

                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                            ohmyformby ohmyform

                                                                                                                                                                                                                                                            Python doticon star image 2301 doticonVersion:1.0.3doticon License: Strong Copyleft (AGPL-3.0)

                                                                                                                                                                                                                                                            ✏️ Free open source alternative to TypeForm, TellForm, or Google Forms ⛺
                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                      django-simple-captcha:  

                                                                                                                                                                                                                                                                      • It is a third-party library for Django, a popular Python web framework.  
                                                                                                                                                                                                                                                                      • It provides a simple and effective way to add CAPTCHA protection to your web forms.  
                                                                                                                                                                                                                                                                      • It is customizable and integrated into your Django forms.  
                                                                                                                                                                                                                                                                      Python doticonstar image 1308 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                      License: Permissive (MIT)

                                                                                                                                                                                                                                                                      Django Simple Captcha is an extremely simple, yet highly customizable Django application to add captcha images to any Django form.

                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                django-simple-captchaby mbi

                                                                                                                                                                                                                                                                                Python doticon star image 1308 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                                                                                                                                Django Simple Captcha is an extremely simple, yet highly customizable Django application to add captcha images to any Django form.
                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                          django-phonenumber-field:  

                                                                                                                                                                                                                                                                                          • It is a useful library in Python for form validation.   
                                                                                                                                                                                                                                                                                          • It is especially used when dealing with phone numbers in Django web applications.  
                                                                                                                                                                                                                                                                                          • It is a valuable library for managing and validating phone numbers in Django apps.  
                                                                                                                                                                                                                                                                                          Python doticonstar image 1332 doticonVersion:7.0.2doticon
                                                                                                                                                                                                                                                                                          License: Permissive (MIT)

                                                                                                                                                                                                                                                                                          A django model and form field for normalised phone numbers using python-phonenumbers

                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                    django-phonenumber-fieldby stefanfoulis

                                                                                                                                                                                                                                                                                                    Python doticon star image 1332 doticonVersion:7.0.2doticon License: Permissive (MIT)

                                                                                                                                                                                                                                                                                                    A django model and form field for normalised phone numbers using python-phonenumbers
                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                                                                                                              brigadier:  

                                                                                                                                                                                                                                                                                                              • It is a Python library. The brigadier has no bugs or vulnerabilities.  
                                                                                                                                                                                                                                                                                                              • It has a Permissive License, and it has a medium support.  
                                                                                                                                                                                                                                                                                                              • It fetches and installs Boot Camp ESDs with ease.  

                                                                                                                                                                                                                                                                                                              brigadierby timsutton

                                                                                                                                                                                                                                                                                                              Python doticonstar image 1752 doticonVersion:0.2.6doticon
                                                                                                                                                                                                                                                                                                              License: Permissive (MIT)

                                                                                                                                                                                                                                                                                                              Fetch and install Boot Camp ESDs with ease.

                                                                                                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                                                                                                        brigadierby timsutton

                                                                                                                                                                                                                                                                                                                        Python doticon star image 1752 doticonVersion:0.2.6doticon License: Permissive (MIT)

                                                                                                                                                                                                                                                                                                                        Fetch and install Boot Camp ESDs with ease.
                                                                                                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                                                                                                  django-money:  

                                                                                                                                                                                                                                                                                                                                  • It helps to manage money-related fields and calculations in Django apps.  
                                                                                                                                                                                                                                                                                                                                  • It provides tools for handling currency and monetary values.  
                                                                                                                                                                                                                                                                                                                                  • It supports Decimal-based arithmetic, which is crucial for accurate financial calculations.  

                                                                                                                                                                                                                                                                                                                                  django-moneyby django-money

                                                                                                                                                                                                                                                                                                                                  Python doticonstar image 1412 doticonVersion:3.1doticon
                                                                                                                                                                                                                                                                                                                                  License: Others (Non-SPDX)

                                                                                                                                                                                                                                                                                                                                  Money fields for Django forms and models.

                                                                                                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                                                                                                            django-moneyby django-money

                                                                                                                                                                                                                                                                                                                                            Python doticon star image 1412 doticonVersion:3.1doticon License: Others (Non-SPDX)

                                                                                                                                                                                                                                                                                                                                            Money fields for Django forms and models.
                                                                                                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                                                                                                      django-smart-selects:  

                                                                                                                                                                                                                                                                                                                                                      • It provides an enhancement to form validation.  
                                                                                                                                                                                                                                                                                                                                                      • It enables you to create dynamic select fields in your forms.  
                                                                                                                                                                                                                                                                                                                                                      • It is open-source and has an active community.
                                                                                                                                                                                                                                                                                                                                                      Python doticonstar image 1035 doticonVersion:1.6.0doticon
                                                                                                                                                                                                                                                                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                      chained and grouped selects for django forms

                                                                                                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                                                                                                django-smart-selectsby jazzband

                                                                                                                                                                                                                                                                                                                                                                Python doticon star image 1035 doticonVersion:1.6.0doticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                                chained and grouped selects for django forms
                                                                                                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                                                                                                          awesome-fraud-detection-papers:  

                                                                                                                                                                                                                                                                                                                                                                          • It is a curated list of research papers and resources related to fraud detection.  
                                                                                                                                                                                                                                                                                                                                                                          • In the context of Python, form validation libraries would depend on the specific use case.  
                                                                                                                                                                                                                                                                                                                                                                          • They help prevent common issues. Those issues are SQL injection, cross-site scripting, and other security vulnerabilities.

                                                                                                                                                                                                                                                                                                                                                                          awesome-fraud-detection-papersby benedekrozemberczki

                                                                                                                                                                                                                                                                                                                                                                          Python doticonstar image 1372 doticonVersion:v_0005doticon
                                                                                                                                                                                                                                                                                                                                                                          License: Permissive (CC0-1.0)

                                                                                                                                                                                                                                                                                                                                                                          A curated list of data mining papers about fraud detection.

                                                                                                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                                                                                                    awesome-fraud-detection-papersby benedekrozemberczki

                                                                                                                                                                                                                                                                                                                                                                                    Python doticon star image 1372 doticonVersion:v_0005doticon License: Permissive (CC0-1.0)

                                                                                                                                                                                                                                                                                                                                                                                    A curated list of data mining papers about fraud detection.
                                                                                                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                                                                                                                                                                                              django-recaptcha:  

                                                                                                                                                                                                                                                                                                                                                                                              • It is an important library for form validation in Python, particularly in Django web apps.  
                                                                                                                                                                                                                                                                                                                                                                                              • It helps protect your web forms from automated bots and spam by adding a CAPTCHA challenge.  
                                                                                                                                                                                                                                                                                                                                                                                              • It works with Django forms, making it easy to integrate and use in your web applications.  

                                                                                                                                                                                                                                                                                                                                                                                              django-recaptchaby praekelt

                                                                                                                                                                                                                                                                                                                                                                                              Python doticonstar image 761 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                              License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                                                              Django reCAPTCHA form field/widget integration app.

                                                                                                                                                                                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                                                                                                                                                                                        django-recaptchaby praekelt

                                                                                                                                                                                                                                                                                                                                                                                                        Python doticon star image 761 doticonVersion:Currentdoticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                                                                        Django reCAPTCHA form field/widget integration app.
                                                                                                                                                                                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                  data-validation:  

                                                                                                                                                                                                                                                                                                                                                                                                                  • It is a crucial aspect of form validation in Python libraries.  
                                                                                                                                                                                                                                                                                                                                                                                                                  • It helps protect your application from various security vulnerabilities. Those are such as SQL injection and XSS attacks.  
                                                                                                                                                                                                                                                                                                                                                                                                                  • Validating user input at the form level provides a better user experience.   

                                                                                                                                                                                                                                                                                                                                                                                                                  data-validationby tensorflow

                                                                                                                                                                                                                                                                                                                                                                                                                  Python doticonstar image 720 doticonVersion:v1.13.0doticon
                                                                                                                                                                                                                                                                                                                                                                                                                  License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                                                                                                                                                                                  Library for exploring and validating machine learning data

                                                                                                                                                                                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                            data-validationby tensorflow

                                                                                                                                                                                                                                                                                                                                                                                                                            Python doticon star image 720 doticonVersion:v1.13.0doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                                                                                                                                                                                            Library for exploring and validating machine learning data
                                                                                                                                                                                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                      pyforms:  

                                                                                                                                                                                                                                                                                                                                                                                                                                      • It is a Python framework for developing desktop applications and GUIs.  
                                                                                                                                                                                                                                                                                                                                                                                                                                      • It simplifies the creation of GUI applications by providing a high-level, Pythonic interface.  
                                                                                                                                                                                                                                                                                                                                                                                                                                      • It works on many platforms, including Windows, macOS, and Linux.

                                                                                                                                                                                                                                                                                                                                                                                                                                      pyformsby UmSenhorQualquer

                                                                                                                                                                                                                                                                                                                                                                                                                                      Python doticonstar image 598 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                                                                      License: Permissive (MIT)

                                                                                                                                                                                                                                                                                                                                                                                                                                      Python layer of Windows forms, based on PyQt and OpenGL

                                                                                                                                                                                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                pyformsby UmSenhorQualquer

                                                                                                                                                                                                                                                                                                                                                                                                                                                Python doticon star image 598 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                                                                                                                                                                                                                                                                                                Python layer of Windows forms, based on PyQt and OpenGL
                                                                                                                                                                                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                          enforce:  

                                                                                                                                                                                                                                                                                                                                                                                                                                                          • It contains pre-written code, functions, and modules.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Using libraries can speed up development, as you don't need to reinvent the wheel for common tasks.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • It can help standardize practices and promote best practices in software development.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          enforceby RussBaz

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Python doticonstar image 544 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                                                                                          no licences License: No License (null)

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Python 3.5+ runtime type checking for integration testing and data validation

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    enforceby RussBaz

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Python doticon star image 544 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Python 3.5+ runtime type checking for integration testing and data validation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              UhOh365:  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • It is a Python library used in Utilities applications.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • UhOh365 has a low active ecosystem.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • A script that can see if an email address is valid in Office365. 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              UhOh365by Raikia

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Python doticonstar image 571 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              License: Strong Copyleft (GPL-3.0)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              A script that can see if an email address is valid in Office365 (user/email enumeration). This does not perform any login attempts, is unthrottled, and is incredibly useful for social engineering assessments to find which emails exist and which don't.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        UhOh365by Raikia

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Python doticon star image 571 doticonVersion:Currentdoticon License: Strong Copyleft (GPL-3.0)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        A script that can see if an email address is valid in Office365 (user/email enumeration). This does not perform any login attempts, is unthrottled, and is incredibly useful for social engineering assessments to find which emails exist and which don't.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ystockquote:  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • ystockquote is a Python library used in Web Site, Business applications.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • You can install using 'pip install ystockquote' or download it from GitHub, PyPI.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • It fetches stock quote data from Yahoo Finance. 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ystockquoteby cgoldberg

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Python doticonstar image 504 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  no licences License: No License (null)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Fetch stock quote data from Yahoo Finance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ystockquoteby cgoldberg

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Python doticon star image 504 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fetch stock quote data from Yahoo Finance
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      django-formtools:  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • It includes a Form Wizard, which is a powerful tool for handling multi-step forms.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • It provides more control over the form-handling process.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • The above process enables custom logic to insert between form steps.  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      django-formtoolsby jazzband

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Python doticonstar image 661 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      A set of high-level abstractions for Django forms

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                django-formtoolsby jazzband

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Python doticon star image 661 doticonVersion:Currentdoticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                A set of high-level abstractions for Django forms
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          validate_email:  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • It helps in form validation libraries to ensure that an email address entered by a user is valid.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Validating email addresses helps maintain the integrity of the data collected through forms.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • It is a crucial step in preventing common security vulnerabilities. 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          validate_emailby syrusakbary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Python doticonstar image 481 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          License: Others (Non-SPDX)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Validate_email verify if an email address is valid and really exists

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    validate_emailby syrusakbary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Python doticon star image 481 doticonVersion:Currentdoticon License: Others (Non-SPDX)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Validate_email verify if an email address is valid and really exists
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              typesystem:  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Type systems help ensure that data is in the expected format and adheres to specific data types.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • Type hints make the code more readable.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • It can be especially beneficial when working on a team or maintaining code over time.  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              typesystemby encode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Python doticonstar image 430 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Data validation, serialization, deserialization & form rendering. 🔢

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        typesystemby encode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Python doticon star image 430 doticonVersion:Currentdoticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Data validation, serialization, deserialization & form rendering. 🔢
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  FAQ 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1: What is a Python form validation library?  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  A Python form validation library is a tool that helps developers confirm user input in web forms. It ensures that the data entered by users to specified rules and constraints. Implementing validation rules and constraints actively prevents the application from processing malicious data. 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  2: Why should I use a form validation library in Python?  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Using a form validation library is important to maintain data integrity and security. It helps prevent common issues. Those are like data type mismatches, SQL injection, and XSS attacks. This ensures that user input is safe and valid.  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  3: Which Python form validation libraries are used?  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  There are several popular Python form validation libraries, including:  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • WTForms: A used library for form validation and rendering in Flask. It is also used in other Python web frameworks.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Django Forms: Built-in form handling in the Django web framework.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Marshmallow: It is a library for object serialization and deserialization. It is often used for form validation in web APIs.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • FormEncode: A library for validating and converting form data.  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Validictory: A lightweight JSON validation library that helps with form validation.  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  4: How do I install a Python form validation library?  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  You can usually install Python form validation libraries using package managers like pip. For example, you can install WTForms with the command pip install WTForms.  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  5: How do I use a Python form validation library in my web application?  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Each library has its own documentation and usage guidelines. Generally, you'll define a form class with fields and validation rules. Then render the form in your template, and then confirm user input using the library's methods.