{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/9"}],"enrichment":{"capability":"nsj-rest-lib builds declarative REST APIs for CRUD operations (GET, POST, PUT, DELETE) on top of Flask, using DTO and Entity classes to minimize boilerplate while remaining composable with manual implementations.","skillfed_tags":["rest-api","declarative","multi-tenant"],"use_cases":["Rapid prototyping of multi-tenant REST APIs that partition data by tenant and route to different databases per request.","Building lean CRUD endpoints for internal Nasajon services without writing repetitive route and data-access boilerplate.","Integrating audit logging and OpenTelemetry telemetry into REST APIs with minimal configuration.","Combining declarative route scaffolding with custom Flask logic in the same application.","Generating DTO and Entity classes from database DDL using the companion CLI tool to accelerate API development."],"what_it_does":"nsj-rest-lib is a declarative REST API library built on Flask that automates CRUD endpoint generation from DTO (data transfer object) and Entity class definitions. Instead of writing route handlers and database access logic, you define the shape of your data in classes and annotate routes; the library handles GET, POST, PUT, and DELETE operations, field filtering, pagination, and basic data validation. It is designed for Nasajon's internal development patterns\u2014multi-tenant data partitioning, multi-database routing by tenant, audit logging, and telemetry integration\u2014and is intentionally kept lightweight so it can be mixed with manual Flask code rather than dominating the request lifecycle.\n\nThe library depends on Flask, SQLAlchemy, database drivers (pg8000, PyMySQL), and several internal Nasajon packages (nsj_gcf_utils, nsj-audit-lib). It supports modern Python versions and is distributed as a pure Python wheel with low install friction. However, the repository is now archived and abandoned, meaning no active maintenance or security updates are expected.","worth_installing":"No\u2014with conditions only if you are already within a Nasajon environment. The repository is archived and abandoned, meaning no security patches or maintenance will be provided. The license is unclear, internal dependencies may not be publicly available, and the package appears designed for internal use. Install only if you have direct access to Nasajon's internal infrastructure and can verify that all dependencies are available in your environment."},"id":"nsj-rest-lib","links":{"html":"https://skillfed.io/packages/nsj-rest-lib","md":"https://skillfed.io/packages/nsj-rest-lib.md","pypi":"https://pypi.org/project/nsj-rest-lib/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2026-03-11","license_spdx":null,"license_treatment":"unclear","name":"nsj-rest-lib","python_support":"supports_current","summary":"Biblioteca para constru\u00e7\u00e3o de APIs Rest Python, de acordo com o guidelines interno, e com paradigma declarativo."},"popularity":{"monthly_downloads":137658,"position":11362,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.4.1"}
