Validation helpers for SENPAI YAML rules, profiles, and connectors.
Project description
senpai-validators
Validation helpers for SENPAI YAML snippets.
Installation
pip install senpai-validators
Usage
from validator import validate_rule
result = validate_rule(
"""
name: Sample rule
description: Demo
conversations: all
oracle: "some predicate"
"""
)
print(result.is_valid)
print(result.errors)
print(result.warnings)
Also available:
validate_profilevalidate_connector
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
senpai_validators-0.1.2.tar.gz
(32.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file senpai_validators-0.1.2.tar.gz.
File metadata
- Download URL: senpai_validators-0.1.2.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63b0b5f4df8b5b0bb949f3054c78df22df9d47b5eedc1108b9d6bb0f87861ace
|
|
| MD5 |
99b4bbe847178aab5f745080c01d20b4
|
|
| BLAKE2b-256 |
cfdff2c321ea8e8c4c6c6dfd81609e8d5ff72ff77fb52f1e1d048b8fb11091b0
|
File details
Details for the file senpai_validators-0.1.2-py3-none-any.whl.
File metadata
- Download URL: senpai_validators-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b99320dda690b132366579611a087a9f11e030eb8b67081129293e66067786f
|
|
| MD5 |
c328fe16e8da52b26f559c9557d550d0
|
|
| BLAKE2b-256 |
aa8ed239bf33fc2c09149ce7507dd82990b10d6a76f885b796c0ebf881da64dd
|