A simple Python utility to describe the structure, type, and stats of a variable - for sharing with LLMs and other people.
Project description
vardescribe
A simple Python utility to describe the structure, types, and summary statistics of a variable. The generated report is printed to the console and automatically copied to your clipboard. Intended usage includes sharing the variable description with an LLM or another person for easy collaboration. The function does not use or access an LLM to generate the description.
Details
Printed descriptions includes:
- variable name
- shape
- dtype
- summary statistics.
- Pandas DataFrame adds column names
Clipboard Integration: Automatically copies the description to the clipboard for easy pasting into documents, notes, or chat applications (currently supports Windows).
Tested on:
- Windows, VSCode
- Simple variables, Pandas DataFrames, Numpy arrays
Getting Started
Dependencies
Required
- numpy
pip install numpy
Optional
- Pandas: Required for describing DataFrame objects. If Pandas is not installed, vardescribe will function correctly for all other types.
pip install pandas
Installing
install vardescribe directly from GitHub using pip:
pip install git+https://github.com/IgorReidler/vardescribe.git
Usage
- Import vardescribe:
from vardescribe import vardescribe - Use it by passing a variable:
vardescribe(variable_name)
Author
Igor Reidler igormail@gmail.com
Version History
- 0.1
- Initial Release
License
This project is licensed under the [MIT] License - see the LICENSE.md file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vardescribe-0.1.1.tar.gz.
File metadata
- Download URL: vardescribe-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
550fac34b61b7a484a567ccdcf07021e2bc86255a56db20b04f6750d7bcb5f04
|
|
| MD5 |
b659a751d6b47babb567cb94012fa2a7
|
|
| BLAKE2b-256 |
7e83d031ea9fc2d5dfa4c52e9071de630ba269097aa7508121d736e1f7e25a41
|
File details
Details for the file vardescribe-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vardescribe-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
488c17e138790888d4ee20cdc969c77e0a45147f5d4dd7175e4b6eb5fb5f1af9
|
|
| MD5 |
74ba7b4ce9088af52b11d553a65d6360
|
|
| BLAKE2b-256 |
62e7dc5286fa381c1f0bbd263db53066504977a36abcf07fb40991cbbabc43e4
|