Socket
Socket
Sign inDemoInstall

valid8

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

valid8

Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.


Maintainers
1

python-validate (valid8)

Python versions Build Status Tests Status codecov

Documentation PyPI Downloads Downloads per week GitHub stars

"valid8ing is not a crime" ;-)

valid8 provides user-friendly tools for 3 kind of "entry points":

  • general-purpose inline validation (=anywhere in your code),
  • function inputs/outputs validation
  • class fields validation.

All these entry points raise consistent ValidationError including user-friendly details, with inheritance of ValueError / TypeError as appropriate. You can customize this error so as to get unique error types convenient for i18n.

The documentation for users is available here: https://smarie.github.io/python-valid8/

A readme for developers is available here: https://github.com/smarie/python-valid8

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc