{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Generates realistic fake JSON data from JSON Schema definitions, using pluggable data providers like faker to populate fields with consistent, meaningful test data.","skillfed_tags":["test-data","schema-driven","fastapi-integration"],"use_cases":["Generate realistic test fixtures for unit and integration tests without hand-crafting mock data","Populate FastAPI endpoints with auto-generated example responses and interactive schema documentation","Create synthetic datasets for development and staging environments that match your data contracts","Prototype APIs and data pipelines before real data is available or during schema design","Validate JSON schemas by generating and verifying conformant fake data"],"what_it_does":"jsf is a Python port of json-schema-faker that turns JSON Schema definitions into streams of realistic fake data. You define a schema with optional $provider directives (pointing to faker methods or custom functions), and jsf generates valid JSON objects matching that schema. It validates output against the schema, supports multi-level state for dependent fields (e.g., siblings sharing a surname), and can convert schemas to Pydantic models with generated examples.\n\nThe package is designed for test-data generation, rapid prototyping, and API mocking. It integrates with FastAPI to auto-generate example responses and schemas in OpenAPI docs. You can use it as a library in Python code, load schemas from JSON files, or run it from the command line or Docker. Six runtime dependencies (faker, jsonschema, pydantic, rstr, smart-open, typing-extensions) handle schema validation, data generation, and file I/O.","worth_installing":"Yes, if you need test-data generation from JSON schemas. The package is stable, permissively licensed, and has low install friction. Maintenance is aging (last release March 2024, no commits for 871 days), so it's best suited for established schemas that don't require frequent updates. No known vulnerabilities. Good fit for testing, mocking, and prototyping workflows."},"id":"jsf","links":{"html":"https://skillfed.io/packages/jsf","md":"https://skillfed.io/packages/jsf.md","pypi":"https://pypi.org/project/jsf/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-03-26","license_spdx":null,"license_treatment":"permissive","name":"jsf","python_support":"supports_current","summary":"Creates fake JSON files from a JSON schema"},"popularity":{"monthly_downloads":748829,"position":5164,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.11.2"}
