Skip to main content

Presentacion

DataValue es una libreria de Python ligera pero potente para la especificacion de datos estrictos usando valores simples.

Instalacion

Para instalar la libreria unicamente ejecuta en un terminal:

$ pip install datavalue

Objetivos

El objetivo de esta libreria es implementar una forma basica y especifica para la descripcion de datos, y su validacion estricta. Ya que en mas de una ocasion, se validan criterios como:

  • Tipo de dato:
    • Simple (primitivo): int, str, bool, float, None, bytes
    • Compuesto (complejo): list, dict, tuple, range
  • Tamaño:
    • Minimo: int / float
    • Maximo: int / float
  • Posibles valores: None / list / tuple
  • Patron: regex

Implementando interfaces de serializacion, y deserializacion para la presentacion, y transporte.

Uso

Para utilizar la libreria, se deben importar las clases definidas:

python

from datavalue import *

Lease mas en la documentacion de cada clase.

Utilidades

Permite especificar el dato deseado, describiendo las caracteristicas que el valor proporcionado debe cumplir, para:

  • Funciones/metodos
  • Objetos
  • Parametros/Retorno
  • Entrada de datos
  • Transporte de datos: serializacion/deserializacion

Para la validacion de datos de ingreso, y normalizacion de datos de egreso.

Dependencias

La libreria no cuenta con ninguna dependencia. Es 100% instalable y utilizable de forma directa.

Metadata

Release files for datavalue 0.1.21

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

Source distribution (sdist)

Source distribution for datavalue 0.1.21
File Size Uploaded Provenance
datavalue-0.1.21.tar.gz 10.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for datavalue 0.1.21
File Interpreter ABI Platform
datavalue-0.1.21-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 kB

Release files / datavalue-0.1.21.tar.gz

Download URL datavalue-0.1.21.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d24e555991eaee81bf4b5e6111d78de384c7fc4ba712e75e7271be43458d0728
BLAKE2b-256 checksum
How to use checksums
e9f9c549a3aa5d55e2d84bc24941f7ce537831d8b96d2c1c8e16231c82682aea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / datavalue-0.1.21-py3-none-any.whl

Download URL datavalue-0.1.21-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
737f4041ad028dc5b2a8acee92bb381e36a95a600a454f6747e851da25e6fbca
BLAKE2b-256 checksum
How to use checksums
a6b883b14e6e29d160530933584c70358e1f5350fd8f3bdc91147b8cf423aaaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for datavalue 0.1.21

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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