Chile INE Python SDK (chile_ine_sdk)
A modern, type-safe, synchronous and asynchronous Python SDK for interacting with the web APIs of the Chilean National Institute of Statistics (INE - Instituto Nacional de Estadísticas).
This unified SDK provides access to both INE API services:
- Classifiers API (
rapps.ine.cl): Machine Learning classification models for CIUO (Occupations) and CAENES (Economic Activities). - SIMEL API (
simel.gob.cl): Labor Market Information System statistics, indicators, dimensions, and time series data.
Features
- ⚡ Sync & Async Support: Seamless HTTP execution powered by
httpx. - 🔒 Strong Type Safety: Full Pydantic v2 schemas and strict MyPy typing.
- 🔁 Automatic Retries: Built-in exponential backoff for resilient API calls.
- 📊 DataFrame Support: Export statistical series directly to Pandas or Polars.
- 🌐 Multilingual Docs: Complete English documentation with Spanish translation support.
Installation
pip install chile-ine-sdk
Optional DataFrame support:
pip install "chile-ine-sdk[dataframe]"
Quickstart
from chile_ine_sdk import INEClient
# Initialize unified INE client
client = INEClient()
# 1. CIUO / CAENES Classification
prediction = client.classifiers.predict(
text="uber manejar pasajeros",
classification="ciuo",
digits=1
)
print("Classification:", prediction)
# 2. SIMEL Labor Market Indicators
indicators = client.simel.list_indicators()
print("Available Indicators:", len(indicators))
Documentation
For full documentation, tutorials, and API reference, visit https://ezer-mackenzie.github.io/chile-ine-sdk/.
License
Distributed under the MIT License.
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 chile_ine_sdk-0.1.0.tar.gz.
File metadata
- Download URL: chile_ine_sdk-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36946ac5cdb6a776b386bbd52606771825b1877b20d31cc3daeab3cb83be2b3b
|
|
| MD5 |
a4c250b5aead0dcd12ccef2b3e3c0f33
|
|
| BLAKE2b-256 |
cacf092543ec8c4c260fde52f2951431dfd94046ea33247be45c83b2f96a731d
|
Provenance
The following attestation bundles were made for chile_ine_sdk-0.1.0.tar.gz:
Publisher:
publish.yml on ezer-mackenzie/chile-ine-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chile_ine_sdk-0.1.0.tar.gz -
Subject digest:
36946ac5cdb6a776b386bbd52606771825b1877b20d31cc3daeab3cb83be2b3b - Sigstore transparency entry: 2684062485
- Sigstore integration time:
-
Permalink:
ezer-mackenzie/chile-ine-sdk@a1007e5e4dfe72ee290a4513a42a2dc5ac5435dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ezer-mackenzie
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1007e5e4dfe72ee290a4513a42a2dc5ac5435dc -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file chile_ine_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chile_ine_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de45d5c5260abc444dd6b1a3661a68dc03f58d4051a36540aedf31c3defd4966
|
|
| MD5 |
cbc8c16cc0b5eaeb2c6720c80b083b8c
|
|
| BLAKE2b-256 |
9606c3c043ef89842c431896db18d7c4c0e0a05a994f80bc61fcdc5870845318
|
Provenance
The following attestation bundles were made for chile_ine_sdk-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ezer-mackenzie/chile-ine-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chile_ine_sdk-0.1.0-py3-none-any.whl -
Subject digest:
de45d5c5260abc444dd6b1a3661a68dc03f58d4051a36540aedf31c3defd4966 - Sigstore transparency entry: 2684062541
- Sigstore integration time:
-
Permalink:
ezer-mackenzie/chile-ine-sdk@a1007e5e4dfe72ee290a4513a42a2dc5ac5435dc -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ezer-mackenzie
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a1007e5e4dfe72ee290a4513a42a2dc5ac5435dc -
Trigger Event:
workflow_dispatch
-
Statement type: