Skip to main content

Utilidades reutilizables para Spark y Delta Lake en arquitecturas Lakehouse.

Project description

gss-bi-udfs

Creo modulo para guardar UDFs comunes a todas las areas de BI.

configuracion de catalog/schema para gss_spark_flow

PipelineOrchestrator permite definir defaults por entorno:

export GSS_SPARK_FLOW_CATALOG=operaciones_dev
export GSS_SPARK_FLOW_SCHEMA=metadata

Con eso, PipelineOrchestrator(spark) aplica USE CATALOG y USE <schema> automaticamente. Si se pasan catalog/schema en el constructor, esos valores tienen prioridad sobre las variables de entorno.

para compilar local

python3 -m build

para publicar local (manual)

python3 -m twine upload dist/*

publicar nueva version en pypi con github actions

Prerequisitos:

  • Secret del repo configurado: PYPI_API_TOKEN
  • Workflow: .github/workflows/python-publish.yml

Pasos:

  1. Asegurate de tener los cambios listos en main.
    git checkout main
    git pull
    git status
    
  2. Defini la nueva version semantica (X.Y.Z) y crea el tag vX.Y.Z.
    git tag -a v0.1.5 -m "Release v0.1.5"
    
  3. Publica rama y tag en GitHub.
    git push origin main
    git push origin v0.1.5
    
  4. Crea el release asociado al tag.
    • GitHub -> Releases -> Draft a new release
    • Seleccionar tag v0.1.5
    • Publicar (Publish release)
  5. Verifica la corrida del workflow.
    • GitHub -> Actions -> Publish Python Package to PyPI
    • Debe finalizar en verde.
  6. Verifica la version publicada en PyPI.
    • https://pypi.org/project/gss-bi-udfs/

Notas:

  • El workflow valida que el tag tenga formato vX.Y.Z.
  • La version del paquete se toma del tag (sin la v).
  • Si falla el release, podes reintentar desde Actions con Run workflow y el input tag (ejemplo: v0.1.5).

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

gss_bi_udfs-0.1.14.tar.gz (87.2 kB view details)

Uploaded Source

Built Distribution

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

gss_bi_udfs-0.1.14-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file gss_bi_udfs-0.1.14.tar.gz.

File metadata

  • Download URL: gss_bi_udfs-0.1.14.tar.gz
  • Upload date:
  • Size: 87.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gss_bi_udfs-0.1.14.tar.gz
Algorithm Hash digest
SHA256 c8fab952599616dd469fdb1d6003ceb8fa9756e11b99a38c99d1ed4671cd91b7
MD5 7e3b85c18c5f71c5e0ec7288d3154bf1
BLAKE2b-256 7d48bb768cff8eea0a636fe5c0fa38b1208ee73c9ffbc4bc0dfc2bc1daa84bea

See more details on using hashes here.

File details

Details for the file gss_bi_udfs-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: gss_bi_udfs-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gss_bi_udfs-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 d4f37f82fe03c748b70b934bc32aa3190d83f35184f947f87422ad791840be06
MD5 add79c4a13c5268378c16bacf2fdea01
BLAKE2b-256 db17a8f722bb2da02486f0940292f2db293cd1ef4dd123be86d4f2f0ffd77418

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