{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/9"}],"enrichment":{"capability":"Generates REST APIs dynamically from declarative JSON entity schemas without requiring imperative code, using Flask as the web framework.","skillfed_tags":["api-generation","declarative-schema","flask-framework"],"use_cases":["Rapidly prototype and deploy CRUD APIs for business entities without writing endpoint handlers.","Build multi-tenant platforms where each tenant's data model is defined declaratively in JSON.","Enable non-developers to define new API endpoints by editing JSON schemas.","Manage versioned entity definitions in Git and automatically compile them during CI/CD pipelines.","Deploy entity definitions dynamically at runtime via the control API without restarting the application."],"what_it_does":"RestLib2 is a Flask-based framework that generates REST APIs from declarative JSON entity definitions (called EDLs) without requiring traditional imperative programming. You describe your business entities and their relationships in JSON, and the framework automatically exposes them as REST endpoints with standard operations.\n\nThe package supports two deployment modes: versioning EDL files in a Git repository for CI/CD-driven compilation, or posting entity definitions directly to a control API for immediate dynamic compilation. It can load EDLs from disk, redis, or both. Configuration is minimal\u2014set an environment variable for scope identification, call setup_dynamic_routes() in your Flask app's initialization, and the framework handles route registration, validation, and request handling.","worth_installing":"Yes, with conditions. Install if you are building Flask applications that need rapid, declarative API generation from entity schemas and can accept an Alpha-stage library. The low install friction and active maintenance are favorable. However, verify the license terms in the GitHub repository first, and confirm that the dependency chain (redis, pydantic, nsj-rest-lib, nsj-multi-database-lib, black, pyyaml) aligns with your infrastructure. Not suitable for production use without thorough testing."},"id":"nsj-rest-lib2","links":{"html":"https://skillfed.io/packages/nsj-rest-lib2","md":"https://skillfed.io/packages/nsj-rest-lib2.md","pypi":"https://pypi.org/project/nsj-rest-lib2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-13","license_spdx":null,"license_treatment":"unclear","name":"nsj-rest-lib2","python_support":"supports_current","summary":"Biblioteca para permitir a distribui\u00e7\u00e3o de rotas din\u00e2micas numa API, configuradas por meio de EDLs declarativos (em formato JSON)."},"popularity":{"monthly_downloads":133469,"position":11512,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.41"}
