Python Validation

Open-source Python projects categorized as Validation

Top 23 Python Validation Projects

  • pydantic

    Data validation using Python type hints

    Project mention: Checkbox Extraction from PDFs - A Tutorial | dev.to | 2024-07-16

    If you carefully think about it, the system that extracts raw text from the PDF needs to both detect and render PDF form elements like checkboxes and radiobuttons in a way that LLMs can understand. In this example, we’ll use LLMWhisperer to extract PDF raw text representing checkboxes and radiobuttons. You can use LLMWhisperer completely free for processing up to 100 pages per day. As for structuring the output from LLMWhisperer, we’ll use GPT3.5-Turbo and we’ll use Langchain and Pydantic to help make our job easy.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • marshmallow

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

    Project mention: Help making draggable items for Flask app. | /r/flask | 2023-08-21

    Somehow get a serializer going for your database models. I used marshmallow and flask-marshmallow

  • instructor

    structured outputs for llms

    Project mention: Every Way to Get Structured Output from LLMs | news.ycombinator.com | 2024-06-18

    If you look into the instructor code(https://github.com/jxnl/instructor/blob/06a49e7824729b8df1f7...). Here is the core code snippet they use:

    ```

  • jsonschema

    An implementation of the JSON Schema specification for Python

  • pandera

    A light-weight, flexible, and expressive statistical data testing library

  • Schematics

    Python Data Structures for Humans™.

  • msgspec

    A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

    Project mention: Htmx, Rust and Shuttle: A New Rapid Prototyping Stack | news.ycombinator.com | 2023-11-01
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • WTForms

    A flexible forms validation and rendering library for Python.

  • strictyaml

    Type-safe YAML parser and validator.

    Project mention: StrictYAML | news.ycombinator.com | 2023-09-29
  • webargs

    A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp.

  • pydantic-core

    Core validation logic for pydantic written in rust

  • python-email-validator

    A robust email syntax and deliverability validation library for Python.

    Project mention: Robust Email Validator | news.ycombinator.com | 2023-09-06
  • Deal

    🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.

  • enforce

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

  • colander

    A serialization/deserialization/validation library for strings, mappings and lists.

  • flask-pydantic

    flask extension for integration with the awesome pydantic package

  • openapi-spec-validator

    OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification.

  • pydantic-to-typescript

    CLI Tool for converting pydantic models into typescript definitions

  • apischema

    JSON (de)serialization, GraphQL and JSON schema generation using Python typing.

  • aiohttp-apispec

    Build and document REST APIs with aiohttp and apispec

  • phantom-types

    Phantom types for Python.

  • koda-validate

    Typesafe, Composable Validation

  • awesome-pattern-matching

    Pattern Matching for Python 3.7+ in a simple, yet powerful, extensible manner.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Validation discussion

Log in or Post with

Python Validation related posts

  • Checkbox Extraction from PDFs - A Tutorial

    3 projects | dev.to | 16 Jul 2024
  • Table Extraction and Processing from PDFs - A Tutorial

    3 projects | dev.to | 11 Jul 2024
  • JSON extra uses orjson instead of ujson

    4 projects | news.ycombinator.com | 5 Jun 2024
  • Advanced RAG with guided generation

    2 projects | dev.to | 18 Apr 2024
  • utype VS pydantic - a user suggested alternative

    2 projects | 15 Feb 2024
  • Pydantic v2 ruined the elegance of Pydantic v1

    1 project | news.ycombinator.com | 28 Jan 2024
  • Ask HN: Pydantic has too much deprecation. Why is it popular?

    1 project | news.ycombinator.com | 3 Jan 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 22 Jul 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source Validation projects in Python? This list will help you:

Project Stars
1 pydantic 19,759
2 marshmallow 6,938
3 instructor 6,716
4 jsonschema 4,518
5 pandera 3,160
6 Schematics 2,579
7 msgspec 2,101
8 WTForms 1,487
9 strictyaml 1,441
10 webargs 1,369
11 pydantic-core 1,346
12 python-email-validator 1,070
13 Deal 715
14 enforce 541
15 colander 448
16 flask-pydantic 344
17 openapi-spec-validator 326
18 pydantic-to-typescript 259
19 apischema 222
20 aiohttp-apispec 219
21 phantom-types 191
22 koda-validate 109
23 awesome-pattern-matching 107

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com