nsj-gcf-utils
Utilitários para construção de Google Cloud Functions.
What it is and what it does
nsj-gcf-utils is a collection of utility modules designed to simplify building Google Cloud Functions. It provides pre-built components for common GCF patterns: structured logging, API key validation via X-API-Key headers, database communication adapters, HTTP clients with retry logic, OAuth/Keycloak authentication, Bearer token introspection, and a decorator-based router that mimics traditional web frameworks like Spring or Symfony.
The package bundles utilities for JSON serialization with native date handling, IBAN manipulation, and token validation using RFC 7662 token introspection. It depends on requests, sqlparams, pydantic, and python_dateutil, and is distributed as a pure-Python wheel with low install friction. The package is classified as Alpha and has not been updated in 270 days, though the repository remains active.
Use it for:
- Set up standardized logging in a Google Cloud Function without boilerplate configuration.
- Validate incoming API requests using X-API-Key headers or Bearer token introspection.
- Communicate with a database through a pre-built adapter layer in a GCF.
- Implement OAuth/Keycloak authentication for a GCF acting as an OAuth client.
- Route HTTP requests within a GCF using decorators similar to Flask or Spring.
- Handle JSON serialization with automatic date formatting and Decimal-to-string conversion.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides utility modules for building Google Cloud Functions, including logging, authentication, database adapters, HTTP clients, and routing decorators.
Yes, with conditions. The package offers genuine utility for Google Cloud Functions development and has low install friction. However, the unclear license status requires verification before use in proprietary contexts, and the Alpha classification plus 270-day maintenance gap suggest it may not be actively developed. Suitable for internal or experimental projects; verify license and maintenance expectations before adopting in production.
Install
nsj-gcf-utils on PyPI
pip
pip install nsj-gcf-utilsuv
uv add nsj-gcf-utilspoetry
poetry add nsj-gcf-utilsInstalling nsj-gcf-utils
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 270 days ago, though the repository remains active and the package supports current Python versions.
License in practice
License treatment is unclear; no SPDX identifier or raw license text is declared. Verify the actual license terms in the repository before using in proprietary or commercial projects.
Quickstart
pip install nsj-gcf-utils
from nsj_gcf_utils.app_logger import setup_logger
from nsj_gcf_utils.authentication_service import validate_api_key
logger = setup_logger()
logger.info('GCF utility loaded')
Requires Python 3.4 or later; runtime dependencies are requests, sqlparams, pydantic, and python_dateutil.
Verify before relying
- Whether the package is actively maintained or in maintenance-only mode given the 270-day gap since last release.
- Actual license terms, since license_treatment is marked unclear with no SPDX or raw text provided.
- Production readiness: Development Status classifier shows Alpha, but real-world usage signal is unclear.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.4) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — requests, sqlparams, pydantic, python_dateutil |
| Maintenance | aging — 270 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 135,454/month — #11,431 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nsj_gcf_utils-1.1.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
nsj-sql-utils-libProvides Python utilities for database access,…
unclear · top 15,000 on PyPI
nsj-queue-libImplements transactional queues and workers…
unclear · top 15,000 on PyPI
nsj-rest-libnsj-rest-lib builds declarative REST APIs for…
unclear · top 15,000 on PyPI
nsj-rest-lib2Generates REST APIs dynamically from…
unclear · top 15,000 on PyPI
gpsoauthImplements Google Play Services OAuth…
permissive · top 15,000 on PyPI
BrazilFiscalReportConverts Brazilian electronic invoice XML files…
agpl · top 15,000 on PyPI
allianceauth-app-utilsProvides reusable utility functions and classes…
permissive · top 15,000 on PyPI
workadaysCalculates working days, calendar days, and…
permissive · top 15,000 on PyPI
validate-docbrValidates and generates Brazilian identity and…
permissive · top 15,000 on PyPI
nr-utilnr.util provides general-purpose utility…
permissive · top 15,000 on PyPI