Skip to main content

Herramientas para Servextex

Project description

ServexTools

Herramientas para Servextex: utilidades para manejo de datos, logs, fechas, sockets y replicación MongoDB.

PyPI version License: MIT

Instalación

pip install servextools

Uso básico

from ServexTools import Tools
from decimal import Decimal

# Formatear un valor decimal
dato = Tools.FormatearValor(Decimal('123.45'))
print(dato)

# Manejo de fechas
fecha = Tools.StrToDate("19/04/2025")
print(fecha)

# Escribir un log
from ServexTools import EscribirLog
EscribirLog.EscribirLog("Mensaje de prueba")

# Conexión a MongoDB (requiere configuración previa)
# from ServexTools import conexion
# collection, client = conexion.Get("mi_coleccion")

Módulos principales

  • Tools.py: Funciones generales (formateo, fechas, utilidades varias).
  • Enumerable.py: Enumeraciones útiles.
  • EscribirLog.py: Sistema de logs y consola.
  • GetTime.py: Manejo de fechas y horas.
  • socket_manager.py: Gestión de websockets (requiere Flask y Flask-SocketIO).
  • ReplicaDb.py: Replicación y utilidades para MongoDB.
  • Table.py: Utilidades para manejo y formateo de tablas de datos.

Dependencias principales

  • flask, pymongo, pytz, PyJWT, httpx, eventlet, flask-socketio, tqdm, bson

Licencia

MIT - Ver archivo LICENSE

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

servextools-0.1.1.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

servextools-0.1.1-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file servextools-0.1.1.tar.gz.

File metadata

  • Download URL: servextools-0.1.1.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for servextools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a878c5bb735a36263a1d6c0cbfd5b15804e1258214d7ae622637c6812cee4766
MD5 bd5b4c298edff473ddf705a31a3576e7
BLAKE2b-256 000e008bf4e3d935e73d817b1b33fafbd8daca8100bb6f16761f4573c334fcaf

See more details on using hashes here.

File details

Details for the file servextools-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: servextools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for servextools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8dcf4823420a79e6644a7e07b31d85b7d91dd89331031e2b7344c533efd987e7
MD5 ae7b2814e18c1c82398d7d1344c5e3a1
BLAKE2b-256 6d3682282dc6825e3927a1db9398509067b6986b76c76986c405477122d24e73

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