{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing"}],"enrichment":{"capability":"Jsonnet is a data templating language that evaluates Jsonnet code to produce JSON output, with Python bindings to the original C++ implementation.","skillfed_tags":["templating","json-generation","configuration-management"],"use_cases":["Generate complex JSON configurations programmatically from templates with variables and functions.","Build infrastructure-as-code JSON from reusable Jsonnet libraries.","Evaluate Jsonnet as a higher-level configuration language in Python applications.","Pass external variables and top-level arguments into Jsonnet code from Python.","Expose Python functions to Jsonnet code via native_callbacks for domain-specific logic."],"what_it_does":"Jsonnet is a templating language designed to generate JSON from higher-level, more expressive syntax. This package provides Python bindings to the original C++ implementation, allowing you to evaluate Jsonnet code from Python and receive JSON output. The main entry points are `evaluate_file()` to process Jsonnet files and `evaluate_snippet()` to evaluate code strings directly.\n\nThe package supports passing variables into Jsonnet code via `ext_vars` and `ext_codes`, top-level function arguments via `tla_vars` and `tla_codes`, and custom functions callable from Jsonnet via `native_callbacks`. The documentation explicitly warns that the C++ implementation is not hardened against untrusted inputs and should only be used to evaluate code you trust.","worth_installing":"Yes, if you need to generate or template JSON from Jsonnet code in Python and trust the Jsonnet source. The package is actively maintained, has no known vulnerabilities, and wheels cover common platforms. However, do not use it to evaluate untrusted Jsonnet code without external sandboxing\u2014the C++ implementation is not hardened."},"id":"jsonnet","links":{"html":"https://skillfed.io/packages/jsonnet","md":"https://skillfed.io/packages/jsonnet.md","pypi":"https://pypi.org/project/jsonnet/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-24","license_spdx":null,"license_treatment":"permissive","name":"jsonnet","python_support":"unspecified","summary":"Python bindings for Jsonnet - The data templating language"},"popularity":{"monthly_downloads":2138994,"position":3260,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.22.0"}
