Skip to main content

SDK oficial para Geo-Engine: Rastreo y Geofencing

Project description

🐍 Geo-Engine Python SDK

Cliente oficial en Python para interactuar con la plataforma Geo-Engine. Permite enviar ubicaciones en tiempo real, gestionar geocercas y consumir la API de Geo-Engine desde aplicaciones Django, Flask, scripts o entornos de Data Science.

Diseñado para ser simple, rápido y fácil de integrar.


🚀 Instalación

Instala el SDK usando pip:

pip install geo-engine-python

⚡ Uso Rápido

Envía la ubicación de un dispositivo en pocos pasos:

from geo_engine import GeoEngine

# 1. Inicializar el cliente
# Por defecto se conecta al entorno de producción
client = GeoEngine(api_key="sk_live_123456")

# 2. Enviar ubicación
try:
    res = client.send_location(
        device_id="camion-01",
        lat=19.4326,
        lng=-99.1332
    )
    print(f"✅ Enviado: {res}")
except Exception as e:
    print(f"❌ Error: {e}")

🔧 Configuración Avanzada

Puedes personalizar la configuración para conectarte a otros entornos (por ejemplo, local o staging) o modificar URLs internas:

client = GeoEngine(
    api_key="sk_test_...",
    ingest_url="http://localhost:8080",
    management_url="http://localhost:8081"
)

🧩 Casos de Uso Comunes

  • 📍 Tracking en tiempo real de vehículos o dispositivos IoT
  • 🚚 Logística y última milla
  • 🗺️ Geocercas y eventos por entrada/salida
  • 📊 Análisis de datos geoespaciales en notebooks o pipelines

🔐 Autenticación

El SDK utiliza API Keys para autenticarse. Asegúrate de mantenerlas seguras y no exponerlas en el frontend.

GeoEngine(api_key="sk_live_...")

🧪 Compatibilidad

  • Python 3.8+

  • Funciona con:

    • Django
    • Flask
    • FastAPI
    • Scripts CLI
    • Jupyter / Data Science

📄 Licencia

MIT © Geo-Engine


🤝 Soporte

¿Tienes dudas o sugerencias? Abre un issue o contáctanos en support@geoengine.dev


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

geo_engine_python-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geo_engine_python-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file geo_engine_python-0.1.2.tar.gz.

File metadata

  • Download URL: geo_engine_python-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for geo_engine_python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 78d44acf22b10f115d78d92c5618f4ccab36e406c907c2de5804f3be2cfe8032
MD5 1b2fd0b00fef1aa95bdc67c632fdd4de
BLAKE2b-256 9b5168d886c08de61bfbf8791258bb116cede3bd78b052cdfe161e9e5ddc0b53

See more details on using hashes here.

File details

Details for the file geo_engine_python-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for geo_engine_python-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 399e11d5948cfa23f55436b19c209f8c0bf52b99ad7d8ec0e161a64891a85485
MD5 c5fc79ba36005ec8ae9e38542612c0ca
BLAKE2b-256 03c856c47ead7cb4e853626f231655b1c6a42e8037eba3c4adeacccc0f321eaa

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