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-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.0.tar.gz
(91.0 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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f0a0bfb2bd36265a5af4fddb38b5039ccd3188366ceceaf607f9b9ef2f36a76
|
|
| MD5 |
81c0e25e437cb628b36b2878dd355043
|
|
| BLAKE2b-256 |
94014739b8d67067e36dab852ca922d11d8b9bfbc18d5d6dbb6cff6fa767aa84
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a98b17fd6dfe531d9f1f2f41d13099a69243e64d6d80c5cf3bb2336f763e2736
|
|
| MD5 |
fe2fd23a9235e57096d9f5b5ea7962e1
|
|
| BLAKE2b-256 |
e949d479429a64936516d4240a1c9ef7cfbef989f32dc42da890aa5d1835ad02
|