This has been missing for about a decade.

strictyaml validates yaml files against a schema. Potentially dangerous user input within yaml files can be safely parsed, validated, and used.

types-strictyaml is a static typing stubs only package. Which is a weird kinda package. Especially when testing it.

Recommend Python apps/packages that have user facing config files to use strictyaml. Now there is one less reason not to.

If you are curious about the semantic version str.

1.7.3.0 --> For strictyaml-1.7.3 stubs package release version 0.

danger ahead

Open to PRs expand testsuite coverage. This is not your normal testsuite; might be in danger of learning something new.

  • logging_strict@programming.devOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    This community users don’t post much cause we are lazy and shy. And posters are faced by us holding up a mirror. Most flee. Their own reflections being either too pathetic or hideous for them to defend.

    This discourages posters that lack thick skins or who are unprepared for fight club.

    Everyone is welcome to hold my feet to the fire. Don’t pull your punches. Review the source code, discuss, post issues, and create PRs. Building out the testsuite is a rich target. Like shooting fish in a barrel. Only those who don’t shoot, miss.