$npx skillfedfor your agent

nsj-rest-lib

Biblioteca para construção de APIs Rest Python, de acordo com o guidelines interno, e com paradigma declarativo.

SkipPyPI LibrariesReleased Mar 2026137.7K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — nsj_rest_lib-6.4.1-py3-none-any.whl
v6.4.1 · released 2026-03-11 · Python >=3.4 · 10 runtime deps: Flask, SQLAlchemy, pg8000, nsj_gcf_utils, PyMySQL, py-healthcheck, unidecode, opentelemetry-exporter-otlp

No—with 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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Flask and SQLAlchemy as runtime dependencies; also depends on internal Nasajon libraries (nsj_gcf_utils, nsj-audit-lib) that may not be publicly available.
  • Low install friction; pure Python wheel.
  • Maintenance is a concern: the repository is archived and abandoned as of the latest commit, with no active development despite recent version releases.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or copyleft-sensitive projects.

last release 2026-03-11 (156 days) · last repo commit 2026-04-01 · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 137,658 downloads/mo, #11,362 on PyPI

Verify before relying

pip install nsj-rest-lib

from nsj_rest_lib import DTO, DTOField, Entity, Controller

@DTO
class MyDTO:
    id: int = DTOField()
    name: str = DTOField()

# Define Entity, then Controller with @ListRoute, @PostRoute, etc.
  • Whether internal dependencies (nsj_gcf_utils, nsj-audit-lib) are publicly installable or restricted to Nasajon environments.
  • Actual license terms, given the unclear license_treatment in metadata.
  • Whether the archived repository status means no security patches or maintenance will be provided going forward.
Same gist for agents: .md · .json

What it is and 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—multi-tenant data partitioning, multi-database routing by tenant, audit logging, and telemetry integration—and is intentionally kept lightweight so it can be mixed with manual Flask code rather than dominating the request lifecycle.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—with 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.

Install

nsj-rest-lib on PyPI

Before you install

Low install friction; pure Python wheel. Maintenance is a concern: the repository is archived and abandoned as of the latest commit, with no active development despite recent version releases.

Requires Flask and SQLAlchemy as runtime dependencies; also depends on internal Nasajon libraries (nsj_gcf_utils, nsj-audit-lib) that may not be publicly available.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use in proprietary or copyleft-sensitive projects.

Quickstart

pip install nsj-rest-lib

from nsj_rest_lib import DTO, DTOField, Entity, Controller

@DTO
class MyDTO:
    id: int = DTOField()
    name: str = DTOField()

# Define Entity, then Controller with @ListRoute, @PostRoute, etc.

Verify before relying

  • Whether internal dependencies (nsj_gcf_utils, nsj-audit-lib) are publicly installable or restricted to Nasajon environments.
  • Actual license terms, given the unclear license_treatment in metadata.
  • Whether the archived repository status means no security patches or maintenance will be provided going forward.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.4
Install frictionLow. Pure-Python wheel
Runtime dependencies
10 packages
FlaskSQLAlchemypg8000nsj_gcf_utilsPyMySQLpy-healthcheckunidecodeopentelemetry-exporter-otlppyyamlnsj-audit-lib
MaintenanceAbandoned 156 days since the last release
Last repo commit repository archived
First released
Downloads137,658 / month, #11,362 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersProgramming Language :: Python :: 3Topic :: Software Development :: Libraries

Evidence: nsj_rest_lib-6.4.1-py3-none-any.whl

Tags

Capabilities
declarative REST API frameworkCRUD API builder PythonFlask REST libraryDTO entity mappingREST API scaffolding
Topics
rest-apideclarativemulti-tenant

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “declarative REST API framework”

  • nsj-rest-libnsj-rest-lib builds declarative REST APIs for CRUD operations (GET,…
  • nsj-rest-lib2Generates REST APIs dynamically from declarative JSON entity schemas…
  • airbyte-cdkA framework for building Airbyte connectors that extract data from…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also nsj-rest-lib2 · nsj-sql-utils-lib · nsj-queue-lib · nsj-gcf-utils · flask-restplus · flask-appbuilder · flask-restx · Flask-RESTful · fastapi-restful · fastapi-utils