Skip to main content

Warehouse data analysis CLI tool

Project description

Wareflow Analysis CLI

CLI tool for warehouse data analysis automation.

Installation

# Clone repository
git clone https://github.com/wareflowx/wareflow-analysis
cd wareflow-analysis

# Install with uv
uv sync

Usage

Create a new project

uv run wareflow init my-warehouse

This creates a complete project structure:

  • config.yaml - Configuration for excel-to-sql
  • schema.sql - Database schema
  • scripts/ - Analysis and export scripts
  • data/ - Place your Excel files here
  • output/ - Generated reports
  • warehouse.db - SQLite database (empty)

Use the project

cd my-warehouse

# Place your Excel files in data/
# - produits.xlsx
# - mouvements.xlsx
# - commandes.xlsx

# Import data
wareflow import

# Run analyses
wareflow analyze

# Generate reports
wareflow export

Full pipeline

# Run everything at once
wareflow run

Commands

  • wareflow init <name> - Initialize new project
  • wareflow import - Import Excel data to SQLite
  • wareflow analyze - Run database analyses
  • wareflow export - Generate Excel reports
  • wareflow run - Run full pipeline (import -> analyze -> export)
  • wareflow status - Show database status

Development

# Run tests
uv run pytest

# Run with coverage
uv run pytest --cov

# Format code
uv run ruff format .

# Lint code
uv run ruff check .

Tech Stack

  • uv: Modern Python package manager
  • Typer: CLI framework
  • pandas: Data manipulation
  • openpyxl: Excel file handling
  • pytest: Testing framework

License

MIT License

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

wareflow_analysis-0.2.0.tar.gz (229.4 kB view details)

Uploaded Source

Built Distribution

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

wareflow_analysis-0.2.0-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file wareflow_analysis-0.2.0.tar.gz.

File metadata

  • Download URL: wareflow_analysis-0.2.0.tar.gz
  • Upload date:
  • Size: 229.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for wareflow_analysis-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8e0c759c2075a4c3d67b2615a2b8c3c5a1d1b9a542af38862f6599cc20e6292e
MD5 ac2049f43aef33c34eb5adcd252184e2
BLAKE2b-256 7b1ba02921d339a7c68b5faa07194c2fdfa206eea3b97800363b2af0d6330d32

See more details on using hashes here.

File details

Details for the file wareflow_analysis-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wareflow_analysis-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for wareflow_analysis-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72d6d4ca4d0b13f0b60e04bcc4330b5afcb56ac43c2368f0c025ba95972a6eff
MD5 711c29e6708dc4efe9c869270265f13b
BLAKE2b-256 e7a66c2889b3a99a692c7418086a19b67617aa98e5532295d58b49030c4012ce

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