{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"}],"enrichment":{"capability":"Provides Python tools to compile, validate, compare, and work with OCSF (Open Cybersecurity Schema Framework) schemas, including CLI commands and programmatic APIs for schema manipulation.","skillfed_tags":["schema-validation","ocsf","cli-tool"],"use_cases":["Validate OCSF schema pull requests for breaking changes before merging.","Programmatically detect and report schema differences between two OCSF versions.","Compile an OCSF schema repository into a single JSON file for deployment.","Build adapters between different OCSF schema versions or flavors.","Fetch and cache OCSF schemas from the official API for local use."],"what_it_does":"ocsf-lib is a Python toolkit for working with the Open Cybersecurity Schema Framework. It provides both CLI commands and programmatic APIs to compile OCSF schemas from repository sources, validate them for backwards compatibility, compare different schema versions to detect breaking changes, and fetch schemas from the official OCSF API. The library is built around several discrete packages: ocsf.schema for data model representation, ocsf.repository for working with schema repositories on disk, ocsf.compile for schema compilation, ocsf.compare for detecting schema differences, and ocsf.validate.compatibility for breaking-change detection.\n\nThe package targets Python 3.11 and depends on dacite for dataclass deserialization, semver for version handling, and termcolor for CLI output formatting. It is designed as a namespace package so other OCSF-related tools can coexist in the same namespace. The library grew out of internal tooling and aims to make OCSF more hackable by providing reference implementations and composable utilities for the OCSF community.","worth_installing":"Yes, if you work with OCSF schemas and need validation, comparison, or compilation tooling. The low install friction and permissive license make it accessible. However, the aging maintenance status warrants caution for production deployments\u2014verify that the package still meets your schema version requirements and that the public API integration tests remain reliable."},"id":"ocsf-lib","links":{"html":"https://skillfed.io/packages/ocsf-lib","md":"https://skillfed.io/packages/ocsf-lib.md","pypi":"https://pypi.org/project/ocsf-lib/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-07-07","license_spdx":null,"license_treatment":"permissive","name":"ocsf-lib","python_support":"supports_current","summary":"Tools for working with the OCSF schema"},"popularity":{"monthly_downloads":554097,"position":6038,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.4"}
