DataProperty
Python library for extract property from data.
What it is and what it does
DataProperty is a Python library that analyzes individual values and tabular data to extract structural and formatting properties. For a single value, it determines its type (integer, float, string, boolean, datetime, NaN, infinity) and computes metadata like display width, alignment, digit counts, and decimal places. For matrices, it can extract properties for each cell or aggregate properties by column, returning objects that describe the characteristics of each column's data.
The library is designed for data inspection and formatting tasks—useful when you need to understand how data should be displayed, validate type consistency across columns, or prepare metadata for table rendering. It handles multi-byte strings, special numeric values, and mixed-type columns, making it practical for data cleaning, validation, and presentation workflows.
Use it for:
- Inspect and classify the type and formatting properties of individual values before processing or display.
- Analyze tabular data to determine column types and optimal display widths for formatted output.
- Validate data consistency by extracting type information from each cell in a matrix.
- Generate metadata for table rendering systems that need alignment, width, and type hints.
- Detect and handle edge cases like NaN, infinity, and mixed-type columns in data validation pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extracts and classifies properties from individual data values and matrices—type, alignment, width, digit counts, and formatting metadata for integers, floats, strings, booleans, datetimes, and special values like NaN and infinity.
Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a specific problem—extracting data properties for inspection and formatting. It's appropriate for data processing, validation, and table rendering tasks. The MIT license poses no restrictions.
Install
dataproperty on PyPI
pip
pip install datapropertyuv
uv add datapropertypoetry
poetry add datapropertyInstalling DataProperty
Before you install
Low friction: pure Python wheel with only two runtime dependencies (mbstrdecoder, typepy). Active maintenance with a recent release (97 days ago) and current commit history.
License in practice
MIT License permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
pip install DataProperty
from dataproperty import DataProperty
result = DataProperty(-1.1)
print(result) # data=-1.1, type=REAL_NUMBER, align=right, ascii_width=4, ...
Requires Python 3.9 or later.
Verify before relying
- Performance characteristics when processing large matrices or high-cardinality datasets.
- Whether the package handles edge cases like very large numbers or unusual string encodings beyond the documented examples.
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — mbstrdecoder, typepy |
| Maintenance | actively maintained — 97 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,610,310/month — #1,272 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dataproperty-1.1.1-py3-none-any.whl
Keywords: data, library, property
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
typepyTypepy checks, validates, and converts Python…
permissive · top 5,000 on PyPI
lovely-numpyProvides a human-readable summary of NumPy…
permissive · top 15,000 on PyPI
sql-metadataParses SQL queries using sqlglot and extracts…
permissive · top 5,000 on PyPI
tabledatatabledata provides a Python library for…
permissive · top 5,000 on PyPI
ml-dtypesml_dtypes provides NumPy-compatible data types…
permissive · top 1,000 on PyPI
datefinderDatefinder extracts date and time expressions…
permissive · top 5,000 on PyPI
parseParse strings using format-string-like patterns…
permissive · top 5,000 on PyPI
pbixrayParse and extract metadata, tables, DAX…
permissive · top 15,000 on PyPI
pdfplumberExtract detailed information about text…
permissive · top 1,000 on PyPI
pandas-schemaValidates pandas DataFrames against…
permissive · top 15,000 on PyPI