Skip to main content

Peek at local datafiles fast!

Project description

sleepydatapeek

sleepydatapeek is a small Typer-based CLI for quickly inspecting tabular data files and generating markdown + PDF reports with summary charts.

Supported files

  • Data files: csv, parquet, json, pkl, xlsx
  • Metadata files: pdf, png, jpg, jpeg

Deploy

PDF report generation uses WeasyPrint, which depends on native libraries (pango, cairo, gdk-pixbuf). On macOS install them with Homebrew first:

brew install pango

On Debian/Ubuntu the equivalent is apt install libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf-2.0-0. See the WeasyPrint install docs for other platforms.

Then set up the project:

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Usage

sleepydatapeek summary path/to/data.csv
sleepydatapeek summary path/to/resume.pdf
sleepydatapeek report path/to/data.csv path/to/output_dir --groupby ProductName
sleepydatapeek report path/to/data.csv  # output folder defaults to ./<file>_report

The report command writes the markdown, rendered PDF, and chart images into the output folder, and copies the generated PDF onto the clipboard (macOS) so it is ready to paste. The output folder is optional; when omitted it defaults to <file>_report in the current working directory.

Teardown

deactivate
rm -rf .venv

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sleepydatapeek-2.0.0.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sleepydatapeek-2.0.0-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file sleepydatapeek-2.0.0.tar.gz.

File metadata

  • Download URL: sleepydatapeek-2.0.0.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.5 Darwin/25.5.0

File hashes

Hashes for sleepydatapeek-2.0.0.tar.gz
Algorithm Hash digest
SHA256 fa357d65bd0ddbd2acbb63170317c52b073f483313fce672445c0a64b89df317
MD5 9fc6b73d6965239fe51f623861aa943e
BLAKE2b-256 f0cac24771afe8cf80eb2dc51ccd0abeee126e81901fda2adcff8eaaef31d97a

See more details on using hashes here.

File details

Details for the file sleepydatapeek-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: sleepydatapeek-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.5 Darwin/25.5.0

File hashes

Hashes for sleepydatapeek-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9fe6c6ab1ed0d655a88b409065866e5f839055f3cac9947ceea70b8112ad9de
MD5 fec15caeba53341b8a2c306e5437dc59
BLAKE2b-256 47f20e1f98b01625fb8382e8b85431bbb0711a893cddc5807ba2e3565c224611

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page