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:
- Asegurate de tener los cambios listos en
main.git checkout main git pull git status
- Defini la nueva version semantica (
X.Y.Z) y crea el tagvX.Y.Z.git tag -a v0.1.5 -m "Release v0.1.5"
- Publica rama y tag en GitHub.
git push origin main git push origin v0.1.5
- Crea el release asociado al tag.
- GitHub ->
Releases->Draft a new release - Seleccionar tag
v0.1.5 - Publicar (
Publish release)
- GitHub ->
- Verifica la corrida del workflow.
- GitHub ->
Actions->Publish Python Package to PyPI - Debe finalizar en verde.
- GitHub ->
- 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
ActionsconRun workflowy el inputtag(ejemplo:v0.1.5).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gss_bi_udfs-0.1.15.tar.gz.
File metadata
- Download URL: gss_bi_udfs-0.1.15.tar.gz
- Upload date:
- Size: 86.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fddab30fc827089a363126681bad7aeccb94e7039b21bf9baf19a589515af6bb
|
|
| MD5 |
14934289756efcff8f54dbdb648b51c9
|
|
| BLAKE2b-256 |
5dd625b65e0a0acb632f42b35cebaf5f8d3c675767c142f5cdc70abb5b7c6d78
|
File details
Details for the file gss_bi_udfs-0.1.15-py3-none-any.whl.
File metadata
- Download URL: gss_bi_udfs-0.1.15-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84af40ef391bd268198163df8d15043971246d9a109ec7b1461c60a224059766
|
|
| MD5 |
62aee0e1ffdd094f6f1c0450a843cb67
|
|
| BLAKE2b-256 |
664b815f54d31dcd1ff1e9989431722bbd18f9790b8d84f009a1835e493492b2
|