Skip to main content

Chile INE Python SDK (chile_ine_sdk)

PyPI version Python Versions License: MIT

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:

  1. Classifiers API (rapps.ine.cl): Machine Learning classification models for CIUO (Occupations) and CAENES (Economic Activities).
  2. 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.

Metadata

Release files for chile-ine-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chile-ine-sdk 0.1.0
File Size Uploaded Provenance Actions
chile_ine_sdk-0.1.0.tar.gz 8.4 kB With provenance Details for chile_ine_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chile-ine-sdk 0.1.0
File Interpreter ABI Platform Actions
chile_ine_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for chile_ine_sdk-0.1.0-py3-none-any.whl

Total release size: 19.5 kB

Release files / chile_ine_sdk-0.1.0.tar.gz

Download URL chile_ine_sdk-0.1.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
36946ac5cdb6a776b386bbd52606771825b1877b20d31cc3daeab3cb83be2b3b
BLAKE2b-256 checksum
How to use checksums
cacf092543ec8c4c260fde52f2951431dfd94046ea33247be45c83b2f96a731d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / chile_ine_sdk-0.1.0-py3-none-any.whl

Download URL chile_ine_sdk-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de45d5c5260abc444dd6b1a3661a68dc03f58d4051a36540aedf31c3defd4966
BLAKE2b-256 checksum
How to use checksums
9606c3c043ef89842c431896db18d7c4c0e0a05a994f80bc61fcdc5870845318
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Security for chile-ine-sdk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chile_ine_sdk-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page