inspecty
Universal data inspector — one function to understand any dataset.
pip install inspecty
Instead of print(), type(), .info(), .describe() — just run ins.inspect(data) and get a high-density statistical report for any data type.
Supported data types
DataFrame, Series, NumPy array (1D/2D/3D), list, tuple, set, dictionary, JSON string, CSV file path, Excel file path — any Python object.
Quick example
import inspecty as ins
import pandas as pd
df = pd.DataFrame({
"price": [100.5, 101.2, 100.8, 102.1, 101.5],
"volume": [1000, 1500, 1200, 1800, 2000],
})
ins.inspect(df)
Output:
Data type: <class 'pandas.DataFrame'>
Total rows: 5. Total columns: 2. Summary:
column: price volume
dtype: float64 int64
- ----- -----
Row 0: 100.5 1000
Row 1: 101.2 1500
Row 2: 100.8 1200
---------- ----- -----
count: 5 5
max: 102.1 2000.0
min: 100.5 1000.0
mean: 101.22 1500.0
std: 0.622093 412.310563
median: 101.2 1500.0
mode: 100.5 1000.0
nan: 0 0
More examples
Pandas Series
series = pd.Series([10, 20, 30, 40, 50], name="RSI")
ins.inspect(series)
Dictionary pivot
data = {
"Ticker": ["BTC", "ETH", "SOL"],
"Price": [62000.5, 3400.2, 145.1],
"Signal": ["Buy", "Hold", "Buy"],
}
ins.inspect(data)
3D NumPy tensor
tensor = np.random.randn(2, 100, 5) # (Tickers, Days, Features)
ins.inspect(tensor)
Auto-load files
ins.inspect("historical_prices.csv")
ins.inspect("data.xlsx")
JSON string
json_resp = '{"Symbol": ["AAPL", "TSLA"], "Price": [150.2, 700.5]}'
ins.inspect(json_resp)
System info
ins.inspect("all_info")
Parameters
| Param | Type | Default | Description |
|---|---|---|---|
df |
Any | required | Data object, file path, or JSON string |
count |
int | 3 | Rows shown from top & bottom |
silent |
bool | False | Hide headers, show only table |
Why not df.describe()?
df.describe() works only on numeric columns, hides NaN counts, and needs multiple calls for basic stats. inspect() handles mixed types, shows NaN explicitly, and works on any data structure — not just DataFrames.
License
MIT
Metadata
Release files for inspecty 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inspecty-0.1.0.tar.gz | 6.4 kB | Without provenance | Details for inspecty-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inspecty-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for inspecty-0.1.0-py3-none-any.whl |
Total release size: 12.9 kB
Release files / inspecty-0.1.0.tar.gz
| Download URL | inspecty-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbdd0b3469fb5b715edcd15430d75e2175d1620eabfa608ae3c7fc02cc4f6b40
|
|
BLAKE2b-256 checksum How to use checksums |
8769b640946aeba21faeb2c752f475d4dca408d6060c1e840cc6ff17db282166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Release files / inspecty-0.1.0-py3-none-any.whl
| Download URL | inspecty-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69d848ea27abdd55f2977107e1a60d4b9a0b92006867c130a9dec57f6f9b75a9
|
|
BLAKE2b-256 checksum How to use checksums |
4b590a674eb03006972a7c17bca3d8b1025e01883b4a5e009796b4eb05d37374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Security for inspecty 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.
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.