9 个仓库
Constraints ensuring a string or array meets a minimum number of elements.
Distinct from Array Schema Validation: Focuses specifically on the lower bound of a collection's size.
Explore 9 awesome GitHub repositories matching software engineering & architecture · Minimum Length Validations. Refine with filters or upvote what's useful.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Ensures strings or arrays contain at least a specified number of elements.
Go Package of validators and sanitizers for strings, numerics, slices and structs
Verifies that string length in bytes or runes falls within specified minimum and maximum bounds.
MaterialEditText 是一个 Android UI 组件库和移动端表单输入框架,用于创建符合 Material Design 标准的文本字段。它提供了一系列具有浮动标签、错误状态和主题化视觉样式的输入组件。 该库支持渲染带有动画标签和集成辅助文本的文本字段。它支持添加设计图标,并允许自定义主要文本、错误文本和辅助文本的颜色与字体。 该框架包含移动端输入验证功能,例如强制执行文本输入的最小和最大字符数限制。
Provides a character counter that updates in real-time based on minimum and maximum length constraints.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Validates that a string or collection attribute has at least a minimum length.
Bard-API 是一个用于与 Google Gemini 交互的异步 Python 封装库和客户端。它作为一个有状态的对话管理器和多模态接口,允许用户向语言模型发送文本和图像提示并获取响应。 该库利用基于 Cookie 的身份验证系统,从本地浏览器存储中提取会话令牌来授权请求。为了管理访问和连接,它包括基于代理的请求路由,以绕过区域限制并避免 IP 封锁。 该项目涵盖了多模态 AI 分析功能,并维护会话历史以实现连续的多轮对话。它还提供了从响应中提取图像链接、文本转语音以及在本地环境中自动执行生成的代码片段的实用工具。
Limits generated output by setting a maximum number of tokens or sentences.
ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l
Verifies the number of Unicode code points in a string to ensure length requirements.
MoreLINQ is a functional programming toolkit and extension library for .NET that augments LINQ to Objects with advanced operators for sequence manipulation and analysis. It provides a set of tools for declarative data transformation, leveraging lazy evaluation and composition to handle complex object sequences. The library is distinguished by its specialized capabilities for combinatorial generation, including the production of permutations, subsets, and Cartesian products. It also provides advanced sequence joining options, such as full, left, and right outer joins, and supports complex data
Ensures a sequence contains a specific number of elements, verifying minimums or maximums.
bcrypt.js is a portable JavaScript implementation of the bcrypt algorithm used for securely hashing and verifying user passwords. It functions as a credential security utility that protects stored passwords against brute-force attacks through the use of salts and configurable work factors. The library is designed as a pure JavaScript cryptographic module, allowing it to run in any JavaScript environment, including both server-side Node.js and client-side web browsers, without requiring native system binaries or C++ bindings. It is a zero-dependency standalone module to minimize security risks
Detects passwords exceeding the bcrypt byte limit to prevent data loss through silent truncation.
This library is a Java-based tool for enforcing data structure constraints and verifying technical formats against defined schema specifications. It functions as a processing utility that parses complex data structures while managing external schema references and circular dependencies. The engine distinguishes itself through an immutable processor design that enables thread-safe, concurrent validation without requiring external synchronization. It employs arbitrary-precision arithmetic to evaluate numeric constraints, preventing common floating-point rounding errors, and utilizes character-l
Evaluates string constraints using character-level processing to correctly handle complex Unicode symbols.