Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →
Top 23 Python Validation Projects
Data validation using Python type hintsProject mention: Introducing FastStream: the easiest way to write microservices for Apache Kafka and RabbitMQ in Python | /r/opensource | 2023-09-29
Pydantic Validation: Leverage Pydantic's validation capabilities to serialize and validate incoming messages
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
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
An implementation of the JSON Schema specification for Python
A light-weight, flexible, and expressive statistical data testing libraryProject mention: Unit testing functions that input/output dataframes? | /r/datascience | 2023-03-05
I use Pandera, so I just need to define the expected input/output schemas (i.e. column names, types, and constraints on them), and Pandera automatically generates fake data for the unit tests, and validates the result: https://github.com/unionai-oss/pandera
Python Data Structures for Humans™.
A flexible forms validation and rendering library for Python.
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.
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
Type-safe YAML parser and validator.Project mention: StrictYAML | news.ycombinator.com | 2023-09-29
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOMLProject mention: Litestar 2.0 | /r/Python | 2023-08-29
Full support for validation and serialisation of attrs classes and msgspec Structs. Where previously only Pydantic models and types where supported, you can now mix and match any of these three libraries. In addition to this, adding support for another modelling library has been greatly simplified with the new plugin architecture
Core validation logic for pydantic written in rustProject mention: Is there a pydantic.BaseSettings equivalent in rust? | /r/rust | 2023-06-05
Funny that you ask... https://github.com/pydantic/pydantic-core Unfortunately it seems that the functionality you ask for is not (yet) part of this ...
A robust email syntax and deliverability validation library for Python.Project mention: Robust Email Validator | news.ycombinator.com | 2023-09-06
🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.Project mention: What features would you want in a new programming language? | /r/ProgrammingLanguages | 2023-01-03
I started using a design by contract library for a Python project this year and it made my code safer and easier to use.
Python 3.5+ runtime type checking for integration testing and data validation
A serialization/deserialization/validation library for strings, mappings and lists.
flask extension for integration with the awesome pydantic packageProject mention: Validating JSON | /r/flask | 2022-11-14
Hi, depending on what kind of programming you do (i.e. use lots of type annotation) I'd recommend either Pydantic or Marshmallow. First comes usually paired with FastAPI, but both do a phantastic job. There's also an extension for Flask + Marshmallow as well for Flask + Pydantic. Personally I see Pydantic as the more modern one.
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.Project mention: How I start every new Python backend API project | dev.to | 2023-01-19
Build and document REST APIs with aiohttp and apispec
CLI Tool for converting pydantic models into typescript definitions
JSON (de)serialization, GraphQL and JSON schema generation using Python typing.
Phantom types for Python.Project mention: Sunday Daily Thread: What's everyone working on this week? | /r/Python | 2022-10-09
I've written and published about a static type checking technique and a library of mine that implements it: phantom-types.
Pattern Matching for Python 3.7+ in a simple, yet powerful, extensible manner.
A tool in Python to fix invalid GeoJSON objects and files
OpenAPI schema validator is a Python library that validates schema against OpenAPI Schema Specification v3.0 and v3.1
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
Python Validation related posts
Robust Email Validator
1 project | news.ycombinator.com | 6 Sep 2023
Help making draggable items for Flask app.
1 project | /r/flask | 21 Aug 2023
Cannot get Langchain to work
1 project | /r/learnpython | 11 Jul 2023
FastAPI 0.100.0:Release Notes
12 projects | news.ycombinator.com | 7 Jul 2023
2 projects | news.ycombinator.com | 30 Jun 2023
Need help developing a high performance Redis ORM for Python
2 projects | /r/Python | 23 May 2023
Blog post: Writing Python like it’s Rust
2 projects | /r/Python | 20 May 2023
A note from our sponsor - InfluxDB
www.influxdata.com | 30 Sep 2023
What are some of the best open-source Validation projects in Python? This list will help you: