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.12.tar.gz (86.7 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.12-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gss_bi_udfs-0.1.12.tar.gz
  • Upload date:
  • Size: 86.7 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.12.tar.gz
Algorithm Hash digest
SHA256 b18c4bee6be223676d23e31341415ba9d00d21259f176fccd4b104a03c070904
MD5 bdc648967afbf1244f2b3f0268c3f375
BLAKE2b-256 d3877cd983c5a9c76f3bccce3892fb584b74ef55950143c48c75c74c644480b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gss_bi_udfs-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 31.2 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 fbc501b5199e62e0cec0fdc0ec195e20d9c8e5f00ce45d6fefe1e6b4552c2906
MD5 54ca644bf52b86296958f7f587e55ae1
BLAKE2b-256 a8d87fa12912f05afa2149239e724e14675860a37a76f928e78e2aed5424e605

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