chile-hub 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chile_hub-1.0.0/.gitignore +48 -0
- chile_hub-1.0.0/CHANGELOG.md +19 -0
- chile_hub-1.0.0/DATA_LICENSES.md +27 -0
- chile_hub-1.0.0/LICENSE +21 -0
- chile_hub-1.0.0/PKG-INFO +596 -0
- chile_hub-1.0.0/README.md +550 -0
- chile_hub-1.0.0/pyproject.toml +127 -0
- chile_hub-1.0.0/src/chile_hub/__init__.py +7 -0
- chile_hub-1.0.0/src/chile_hub/__main__.py +4 -0
- chile_hub-1.0.0/src/chile_hub/cli.py +5 -0
- chile_hub-1.0.0/src/chile_hub/core.py +1541 -0
- chile_hub-1.0.0/src/chile_hub/data_manager.py +202 -0
- chile_hub-1.0.0/src/chile_hub/pipeline_status_utils.py +764 -0
- chile_hub-1.0.0/src/chile_hub.py +21 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Datos locales
|
|
2
|
+
# Ocultamos por defecto todo `data/` y reabrimos solo artefactos livianos
|
|
3
|
+
# de `data/normalized` que sirven para publicar el estado real del hub.
|
|
4
|
+
data/*
|
|
5
|
+
!data/normalized/
|
|
6
|
+
data/normalized/*
|
|
7
|
+
!data/normalized/*.json
|
|
8
|
+
!data/normalized/*.md
|
|
9
|
+
!data/normalized/*.parquet
|
|
10
|
+
!data/normalized/*.zip
|
|
11
|
+
!data/normalized/*.sha256
|
|
12
|
+
|
|
13
|
+
# Entornos virtuales de Python
|
|
14
|
+
.venv/
|
|
15
|
+
venv/
|
|
16
|
+
ENV/
|
|
17
|
+
env/
|
|
18
|
+
|
|
19
|
+
# Python cache y compilaciones
|
|
20
|
+
__pycache__/
|
|
21
|
+
*.pyc
|
|
22
|
+
*.pyo
|
|
23
|
+
*.pyd
|
|
24
|
+
.pytest_cache/
|
|
25
|
+
.coverage
|
|
26
|
+
coverage.xml
|
|
27
|
+
htmlcov/
|
|
28
|
+
.mypy_cache/
|
|
29
|
+
.ruff_cache/
|
|
30
|
+
.ipynb_checkpoints/
|
|
31
|
+
|
|
32
|
+
# IDEs
|
|
33
|
+
.vscode/
|
|
34
|
+
.idea/
|
|
35
|
+
*.swp
|
|
36
|
+
*.swo
|
|
37
|
+
|
|
38
|
+
# Sistema
|
|
39
|
+
.DS_Store
|
|
40
|
+
Thumbs.db
|
|
41
|
+
|
|
42
|
+
# Gestores de paquetes alternativos
|
|
43
|
+
uv.lock
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
#Ignore vscode AI rules
|
|
47
|
+
.github/instructions/codacy.instructions.md
|
|
48
|
+
.claude/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
This project uses Conventional Commits and `python-semantic-release` to generate
|
|
4
|
+
release notes for PyPI releases.
|
|
5
|
+
|
|
6
|
+
Data-only refresh commits such as `chore(data): daily refresh [skip ci]` do not
|
|
7
|
+
represent software releases and are intentionally excluded from release notes.
|
|
8
|
+
|
|
9
|
+
## Unreleased
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Added `pytest-cov` to the development toolchain, with local `make coverage`
|
|
14
|
+
support and CI coverage reporting for the `src/` package.
|
|
15
|
+
- Updated development and release tooling pins to their latest compatible stable
|
|
16
|
+
versions, including `build`, `pre-commit`, `pytest-cov`, and
|
|
17
|
+
`python-semantic-release`.
|
|
18
|
+
- Fixed the PyPI release workflow so `python-semantic-release` skips its
|
|
19
|
+
internal build step and the pinned job environment performs the package build.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Data Licensing And Attribution
|
|
2
|
+
|
|
3
|
+
`chile-hub` code is distributed under the MIT License.
|
|
4
|
+
|
|
5
|
+
The datasets published by `chile-hub` keep their source-specific reuse terms,
|
|
6
|
+
licenses, and attribution requirements. The canonical machine-readable source
|
|
7
|
+
of truth is the generated metadata in:
|
|
8
|
+
|
|
9
|
+
- `data/normalized/dataset_catalog.json`
|
|
10
|
+
- `data/normalized/redistribution_report.json`
|
|
11
|
+
- `data/normalized/provenance_report.json`
|
|
12
|
+
|
|
13
|
+
The PyPI package does not bundle generated datasets in the wheel. It downloads
|
|
14
|
+
verified GitHub Release assets and uses the metadata above to expose source,
|
|
15
|
+
license, provenance, redistribution, and attribution information.
|
|
16
|
+
|
|
17
|
+
Current source families include BCN ArcGIS, Banco Central de Chile via
|
|
18
|
+
`mindicador.cl`, INE, MINSAL/datos.gob.cl, BCN/SERVEL legal mappings, and
|
|
19
|
+
MINEDUC. Before redistributing derived artifacts, inspect:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
chile-hub redistribution
|
|
23
|
+
chile-hub provenance
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
If a source has ambiguous or restricted terms, the project policy is to exclude
|
|
27
|
+
it from public bundles until the redistribution status is resolved.
|
chile_hub-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Carlos Ortega
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|