safety-schemas
Schemas for Safety tools
Decision gist · record as of 2026-08-14
Yes, if you are building or extending Safety tools or need to work with Safety policy files in a type-safe manner. The low install friction, active maintenance, permissive MIT license, and zero known vulnerabilities make it a safe dependency. If you are not directly using Safety tools or policy schemas, this package is unlikely to be relevant.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later.
- Low install friction with a pure Python wheel distribution.
- Active maintenance with a release 24 days ago.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-07-21 (24 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,855,430 downloads/mo, #2,475 on PyPI
Alternatives
Verify before relying
pip install safety-schemas
from safety_schemas import SomeModel
# Use Pydantic models for validation- Whether this package is intended for direct use by application developers or primarily as an internal dependency.
- What specific schema domains or policy file formats are covered by the models provided.
What it is and what it does
safety-schemas is a collection of Pydantic models and schemas designed to support Safety's ecosystem of security and dependency-checking tools. It provides structured data models for validating and serializing safety policy files and related configuration, allowing tools built on Safety to work with consistent, type-safe data structures.
The package depends on pydantic for model definition, ruamel-yaml for YAML handling, packaging for version parsing, dparse for dependency file parsing, and typing-extensions for enhanced type hints. It is classified as production-stable and actively maintained, with recent releases and broad Python version support.
Use it for
- Building Safety-compatible tools that need to parse and validate policy configuration files.
- Integrating with Safety's ecosystem to ensure schema compatibility across security scanning workflows.
- Defining and enforcing structured safety policies in dependency management pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or extending Safety tools or need to work with Safety policy files in a type-safe manner.
The low install friction, active maintenance, permissive MIT license, and zero known vulnerabilities make it a safe dependency. If you are not directly using Safety tools or policy schemas, this package is unlikely to be relevant.
Install
safety-schemas on PyPI
Before you install
Low install friction with a pure Python wheel distribution. Active maintenance with a release 24 days ago. Supports Python 3.8 through 3.12.
Requires Python 3.8 or later.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install safety-schemas
from safety_schemas import SomeModel
# Use Pydantic models for validation
Verify before relying
- Whether this package is intended for direct use by application developers or primarily as an internal dependency.
- What specific schema domains or policy file formats are covered by the models provided.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesdparsepackagingpydanticruamel-yamltyping-extensions |
| Maintenance | Actively maintained 24 days since the last release |
| First released | |
| Downloads | 3,855,430 / month, #2,475 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: safety_schemas-0.0.19-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pydantic models for safety”
- safety-schemasProvides Pydantic models and schemas for Safety tools, enabling…
- guardrails-aiGuardrails is a Python framework that validates and constrains LLM…
- json-schema-to-pydanticAutomatically generates Pydantic v2 models from JSON Schema…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.
Install only if maintaining existing code that already depends on it, and plan a migration.
See also django-pydantic-field · py-avro-schema · ibm-quantum-schemas · jsonschema-pydantic-converter · jsonschema-pydantic · dydantic · aiohomematic-config · pydantic-avro · pydantic-scim · vlmrun-hub