sumry
A fast and user-friendly CLI tool for summarizing various data file formats with rich terminal output.
Features
- Multiple Format Support: CSV, Excel, GeoJSON, and Shapefiles
- Rich Terminal Output: Beautiful, colorful summaries using Rich library
- Quick Insights: Get file statistics, column types, and sample data
- Geospatial Support: Special handling for GeoJSON and Shapefile formats with geometry information
Installation
pip install sumry
Usage
Basic Summary
sumry path/to/your/file.csv
Show Sample Records
# Show 5 sample records (default)
sumry path/to/your/file.xlsx --show-sample
# Show specific number of samples
sumry path/to/your/file.geojson --sample 10
Verbose Output
sumry path/to/your/file.shp --verbose
Supported File Types
- CSV (
.csv) - Excel (
.xlsx,.xls) - GeoJSON (
.geojson,.json) - Shapefile (
.shp)
Requirements
- Python >= 3.12
- Dependencies are automatically installed with the package
Development
# Clone the repository
git clone https://github.com/yourusername/sumry.git
cd sumry
# Install with development dependencies
pip install -e ".[dev]"
# Run tests
pytest
License
MIT License - see LICENSE file for details
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Metadata
Release files for sumry 0.4.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 | |
|---|---|---|---|
| sumry-0.4.0.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sumry-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.2 kB
Release files / sumry-0.4.0.tar.gz
| Download URL | sumry-0.4.0.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8638a66ff672cfe5c0d7001069072a481ca0ca9f920dd26a114c7972e615f16
|
|
BLAKE2b-256 checksum How to use checksums |
988c8d582f2d6b366357e78c976e5d551d1e21a6589eb01d66a4cb237cfc08d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.0
|
Release files / sumry-0.4.0-py3-none-any.whl
| Download URL | sumry-0.4.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd9a8a06df30cae267870c12223b2f22bc6fe05e3fb2d22cb11cfb8975dde2c3
|
|
BLAKE2b-256 checksum How to use checksums |
5de7b2216d922a677de80c50a9eb73fb2ecc96cf96b9accec77368923419707a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.0
|