pyyaml VS lua-patterns

Compare pyyaml vs lua-patterns and see what are their differences.

pyyaml

Canonical source repository for PyYAML (by yaml)

lua-patterns

Exposing Lua string patterns to Rust (by stevedonovan)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
pyyaml lua-patterns
16 1
2,425 27
1.3% -
3.9 0.0
13 days ago over 1 year ago
Python Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pyyaml

Posts with mentions or reviews of pyyaml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-18.

lua-patterns

Posts with mentions or reviews of lua-patterns. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-03.
  • The Norway Problem
    18 projects | news.ycombinator.com | 3 Apr 2021
    If you want automatic built-in string validation, one option that seems particularly interesting is to use a variant of Lua patterns, which are weaker and easier to understand than regular expressions, but still provide a significant degree of "sanity" for something like an email. The original version works on bytes and not runes, but you could simply write a parser that works on runes instead, and the pattern-matching code is just 400 old and battle-tested lines of C89.

    Lua patterns have also shown up in other places, such as BSD's httpd, and an implementation for Rust:

    https://www.gsp.com/cgi-bin/man.cgi?section=7&topic=PATTERNS

    https://github.com/stevedonovan/lua-patterns

    http://lua-users.org/wiki/PatternsTutorial

What are some alternatives?

When comparing pyyaml and lua-patterns you can also consider the following projects:

confuse - painless YAML config files for Python

jsonnet - Jsonnet - The data templating language

strictyaml - Type-safe YAML parser and validator.

dhall-lang - Maintainable configuration files

yamllint - A linter for YAML files.

edn - Extensible Data Notation

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

python-strict-yaml-parsing - Examples of strict yaml parsing in python

cson - CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.