Parse, Don't Validate (2019)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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.
www.influxdata.com
featured
  • Maat

    Validation and transformation library powered by deductive ascending parser. Made to be extended for any kind of project.

  • https://github.com/Attumm/Maat/blob/main/tests/test_validati...

    Since validation is written as dictionaries its possible to store the validations in caching db such as Redis.

    And since its simple its easy to extend for anyone use case.

    Benchmarks of pydantic has Maat around twice as Pydantic.

  • pydantic

    Data validation using Python type hints

  • This principle is how pydantic[0] utterly revolutionized my python development experience. I went from constantly having to test functions in repls, writing tons of validation boilerplate, and still getting TypeErrors and NoneTypeErrors and AttributeErrors left and right to like...just writing code. And it working! Like one time I wrote a few hundred lines of python over the course of a day and then just ran it... and it worked. I just sat there shocked, waiting for the inevitable crash and traceback to dive in and fix something, but it never came. In Python! Incredible.

    [0] https://pydantic-docs.helpmanual.io/

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • io-ts

    Runtime type system for IO decoding/encoding

  • Check out https://github.com/gcanti/io-ts/blob/master/index.md instead. I find it more composable and you can define a codec and get a native type from it so you are only defining things once.

  • fefe

    Validate, sanitize and transform values with proper TypeScript types and zero dependencies.

  • TypeScript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • 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
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Advanced RAG with guided generation

    2 projects | dev.to | 18 Apr 2024
  • Mastering Type-Safe JSON Serialization in TypeScript

    2 projects | dev.to | 26 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
  • TDD

    2 projects | /r/CharruaDevs | 7 Dec 2023