
**argsv** is a library for **validating arguments passed to callables**. With this library, you can validate arguments sent to callables in a **simpler**, more **readable**, and **well-defined** context.
python
from argsv import argsval
argsval(b=lambda x: x != 0)
def div(a, b):
return a / b
Features
- **Lightweight**: It doesn't rely on any external modules or libraries.
- **Readable**: It separates the validation process from the main code, improving clarity.
- **Simplifies Validation**: Makes the argument validation process easier.
- **Precise Error Reporting**: Accurately displays errors in the validation process.
- **Universal Compatibility**: Works with all types of callables.
- **Custom Validators**: Allows you to implement your own customized validators.
- **Built-in Validators**: Provides common and useful built-in validators.
- **Extensible**: Designed to be flexible and expandable.