Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsonschema-default

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonschema-default

Create default objects from a JSON schema

  • 1.6.0
  • PyPI
  • Socket score

Maintainers
1

jsonschema-instance

A Python package that creates default objects from a JSON schema.

Note

This is not a validator. Inputs should be valid JSON schemas. For Python you can use the jsonschema package to validate schemas.

Installation

pip install jsonschema-default

Usage

import jsonschema_default

default_obj = jsonschema_default.create_from("<schema>")

Development

  • Install and configure Poetry
pip install --user poetry

See Installation for the official guide.

  • Install the dependencies using
# Configure poetry to create a local venv directory
poetry config virtualenvs.in-project true

poetry install

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc