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-sqlschema.sql- Database schemascripts/- Analysis and export scriptsdata/- Place your Excel files hereoutput/- Generated reportswarehouse.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 projectwareflow import- Import Excel data to SQLitewareflow analyze- Run database analyseswareflow export- Generate Excel reportswareflow 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
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
wareflow_analysis-0.2.0.tar.gz
(229.4 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e0c759c2075a4c3d67b2615a2b8c3c5a1d1b9a542af38862f6599cc20e6292e
|
|
| MD5 |
ac2049f43aef33c34eb5adcd252184e2
|
|
| BLAKE2b-256 |
7b1ba02921d339a7c68b5faa07194c2fdfa206eea3b97800363b2af0d6330d32
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72d6d4ca4d0b13f0b60e04bcc4330b5afcb56ac43c2368f0c025ba95972a6eff
|
|
| MD5 |
711c29e6708dc4efe9c869270265f13b
|
|
| BLAKE2b-256 |
e7a66c2889b3a99a692c7418086a19b67617aa98e5532295d58b49030c4012ce
|