Socket
Book a DemoInstallSign in
Socket

openframe-criteria-set-protocol

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openframe-criteria-set-protocol

A protocol and tools for defining and working with criteria sets

2.3.1
pipPyPI
Maintainers
1
Openframe ApS

Criteria Set Protocol

Python library

This is a Python library with types and implementations of the Criteria Set Protocol. It is published publicly on PyPI as openframe-criteria-set-protocol.

Installation

pip install openframe-criteria-set-protocol

Contents

Protocol v1

The library contains the types defined in the protocol v1 specification.

Types
TypeRemarks
Metadata types
Metadata
Theme
ThemeStyle
Color
RgbColor
Task tree types
CriteriaTree
Criterion
TaskGroup
Task
TaskItem
TaskItem value types
SelectSingleType
SelectMultipleType
NumberType
BooleanType
PointOptionUsed by SelectSingleType and SelectMultipleType
TaskItemValueThe raw value of a TaskItem, which can be an array
TaskItemScalarValueThe raw value of a TaskItem
REST types
MetadataResponseMetadata endpoint response body
StreamCriteriaSetMatrixBodyRequest body for the matrix streaming endpoints
StreamMatrixResponseMatrix streaming endpoints response body
Schemas

Validation schemas are provided for validating the endpoints of the protocol v1 specification.

SchemaRemarks
criteria_set_idRegular expression for the criteria_set_id parameter for endpoints which use it
versionRegular expression for the version parameter for endpoints which use it
marshmallow schemas
TreeAndMatrixBodySchemaSchema for validating the request body for tree and matrix endpoints

Deployment

Deploy using the following commands:

python3 -m build
python3 -m twine upload dist/*

License

Openframe Criteria Set Protocol by Openframe ApS is licensed under CC BY-ND 4.0

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.