Skip to main content

Utilitários para construção de Google Cloud Functions.

Project description

nsj_gcf_utils

Utilitários para construção de Google Cloud Functions.

Features disponíveis

Segue breve descrição das features disponiveis, identificando os respectivos módulos:

  • nsj_gcf_utils.app_logger: Configuração padrão de logger para aplicações GCF.
  • nsj_gcf_utils.authentication_service: Validação de chaves recebidas no cabeçalho X-API-Key.
  • nsj_gcf_utils.db_adapter: Adapter de comunicação com o banco.
  • nsj_gcf_utils.http_util: Realiza requisições HTTP, com suporte a tentativas seguidas em caso de falha.
  • nsj_gcf_utils.iban: Utilitário para manipulação de International Bank Account Number (IBAN)
  • nsj_gcf_utils.json_util: Serialização e desserialização em JSON, com manipulação nativa de datas no formato "yyyy-mm-ddThh:mm:ss". Decimal é traduzido para string ao serializar para JSON.
  • nsj_gcf_utils.keycloak_service: Autenticação para aplicação enquanto cliente Oauth.
  • nsj_gcf_utils.nsj_authentication_service: Validação de access_token recebido no cabeçalho Authorization (Bearer token), por meio do padrão Token Instrospection (RFC 7662).
  • nsj_gcf_utils.router: Utilitário para controler de rotas por meio decorators, fazendo com que uma fucntion-framework se comporte de modo similar a outros frameworks web como Spring ou Symfony.

Testes Automatizados

Sempre rode o comando abaixo, antes de dar push neste repositório:

make tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nsj_gcf_utils-1.1.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nsj_gcf_utils-1.1.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file nsj_gcf_utils-1.1.0.tar.gz.

File metadata

  • Download URL: nsj_gcf_utils-1.1.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for nsj_gcf_utils-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d362c8b203f07bff82e216de4420b72892dd506e527f18b4e782fecbd3182dda
MD5 8d26703eac1b3c9e75270f4dfe5bcf86
BLAKE2b-256 b36846b9b00a359866d29f52c165e714de13349ccb44d833f1e24a4307602ee5

See more details on using hashes here.

File details

Details for the file nsj_gcf_utils-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: nsj_gcf_utils-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for nsj_gcf_utils-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ba9bc1bee7ab27b08f6802c380e4404802d8844165ec8073be9534b8f303cd2
MD5 df4474a63c8462c8d29ba3ec8eac1910
BLAKE2b-256 7359969f6f4bebb0f138213c6678c2f1aec8b1a25186eb9dd1e44f81bbead5e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page