nowfound

Alternatives

Products that do what Valid8r, Functional validation for Python CLIs using Maybe monads does

I built Valid8r because I got tired of writing the same input validation code for every CLI tool. You know the pattern: parse a string, check if it's valid, print an error if not, ask again. Repeat for every argument. The library uses Maybe monads (Success/Failure instead of exceptions) so you can chain parsers and validators: # Try it: pip install valid8r from valid8r.core import parsers, validators # Parse and validate in one pipeline result = ( parsers.parse_int(user_input) .bind(validators.minimum(1)) .bind(validators.maximum(65535)) ) match result: case Success(port): print(f"Using…

  1. 1V1

    A simple, fast, extensible python library for data validation. New features: * union validator * dynamic dict validator * timedelta validator * enum validator * slug validator * fqdn validator * nested model class GitHub: https://github.com/guyskk/validr Document: https://github.com/guyskk/validr/wiki Usage: https://github.com/guyskk/validr/wiki/Scenario-&-Example

    2020

  2. 2VJ
  3. 3RB
  4. 4PB
  5. 5KA
  6. 6RM
  7. 7PA
  8. 8TA
  9. 9AT

    I spent the past few weeks working on arguably. It uses your function signatures and docstrings to create a CLI. I built it to have the most common features of other libraries (and a few extra) in a much more concise syntax - no need for @click.option or typer.Option. It succeeds when you barely notice it's there. For most cases, you decorate a function with @arguably.command, and it just does what you'd expect: * Positional args for the function become positional CLI args * Keyword-only args become --options * Type hints set up parsing * Docstrings provide help messages for each command and…

    2023 · github.com

  10. 10FV
  11. 11VD
  12. 12FJ
  13. 13RT
  14. 14RL
  15. 15EA
  16. 16VJ
  17. 17VB
  18. 18AE
  19. 19TA
  20. 20FT

    Hi, this is a Python framework I have created to make my life a little easier when creating custom linting rules. Key features: - Quick to use (~20 LOC to create a functioning linter/checker) - Works with different file formats (as in the description) - Supports multiple ignore/noqa directives (per-line ignores, range ignores, whole file, rules choice during runs) - Single check can span all elements of the file or even all files - Works directly with Python's AST - Tutorials and API reference to make users life easier All in all seems to be quite functional for my private (yet)…

    2025 · github.com

  21. 21AP
  22. 22CG
  23. 23OS

    I’ve been working on Code2Docs, an open-source CLI tool that helps developers automatically generate inline documentation (docstrings + comments) for Python code using AI. It’s built to solve a common problem I’ve faced (and seen often in teams): We code by "vibe" — fast iterations, minimal docs, and then forget what the logic was months later. Code2Docs helps bridge that gap by documenting as you go — without breaking your flow. Right now it supports function-level documentation. Planned features include: - README.md generation for projects - API endpoint docs - Database schema…

    2025 · code2docs-open-source.netlify.app

  24. 24VA

Ranked by how close each launch is in meaning, then by votes. Refine with a description →