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.1.1.tar.gz
(91.1 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.1.1.tar.gz.
File metadata
- Download URL: wareflow_analysis-0.1.1.tar.gz
- Upload date:
- Size: 91.1 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 |
6523327eac0b298f3e66170471259045ab91d759ef69adc0bdd8d093db5a8ac5
|
|
| MD5 |
c686f0a1f6fd735ae417745fcad78c87
|
|
| BLAKE2b-256 |
1a7afc4fbbca8425836d4d09b765c78e95b5628bb6a5c3395da7c14c64491b06
|
File details
Details for the file wareflow_analysis-0.1.1-py3-none-any.whl.
File metadata
- Download URL: wareflow_analysis-0.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da73721988b99b31bd31d303fbe85412e0741f0fa746473d9ef9bab7b95c9e12
|
|
| MD5 |
7e20d22ae8d76088a5a6da699d363fbe
|
|
| BLAKE2b-256 |
8080fe5def06f6c752d9d3487d92740296901ad3548c76715d5e1677d37d3e10
|