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 senpai_validators 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.2.0.tar.gz
(63.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.2.0.tar.gz.
File metadata
- Download URL: senpai_validators-0.2.0.tar.gz
- Upload date:
- Size: 63.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 |
47e22383262915c6cd77fcd76a6070b67564b3f5e23801f0585953e616a3e5e5
|
|
| MD5 |
1906a490eabf189c68eb0afe8b306299
|
|
| BLAKE2b-256 |
79d74a5baf6a6b75d5aaf04d19dd72c96550bc0dd9c8ee5869548d243ea7799f
|
File details
Details for the file senpai_validators-0.2.0-py3-none-any.whl.
File metadata
- Download URL: senpai_validators-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.3 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 |
378e9db5afde0c14a75427029824dbca32fe3be349b4e1c91f6621871b5d44c8
|
|
| MD5 |
1df606a461706d7c6b30d866dae21b1f
|
|
| BLAKE2b-256 |
adeb525f5694292696e6969045c2f297c72a68f41af168d0d20c09f493f71640
|