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/your-username/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.1.0.tar.gz (91.0 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.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wareflow_analysis-0.1.0.tar.gz
  • Upload date:
  • Size: 91.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 1f0a0bfb2bd36265a5af4fddb38b5039ccd3188366ceceaf607f9b9ef2f36a76
MD5 81c0e25e437cb628b36b2878dd355043
BLAKE2b-256 94014739b8d67067e36dab852ca922d11d8b9bfbc18d5d6dbb6cff6fa767aa84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wareflow_analysis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a98b17fd6dfe531d9f1f2f41d13099a69243e64d6d80c5cf3bb2336f763e2736
MD5 fe2fd23a9235e57096d9f5b5ea7962e1
BLAKE2b-256 e949d479429a64936516d4240a1c9ef7cfbef989f32dc42da890aa5d1835ad02

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