Vault_Lens lets you run private datasets locally and gives Ollama a lens to see in the vault. Raw data is never touched by the llm.
Project description
Privacy-First Automated Data Observability Pipeline
The Business Value
In modern data environments, companies face two major hurdles: Data Privacy (GDPR/HIPAA) and Data Integrity.
Most "AI Data Assistants" require uploading sensitive raw data to a third-party cloud, risking privacy breaches. Furthermore, LLMs often "hallucinate" mathematical statistics.
Validation
Tested against the same 10K insurance dataset used in my Insurance Claims Prediction project. The auditor correctly identified the same 982 null values in credit_score and 957 in annual_mileage that I found through manual EDA—confirming the pipeline replicates expert-level data quality checks automatically.
This project solves these issues by:
- Local-First Auditing: All statistical analysis (null detection, type inconsistency checks, date validation) happens locally using Pandas—raw data never leaves your machine.
- Hybrid Intelligence: Deterministic Python logic ensures 100% mathematical accuracy. AI is used only to interpret the pre-computed findings and suggest remediation plans.
- Automation: Built as a modular pipeline that can be integrated into automated workflows, rather than a manual "chat" interface.
- Flexible AI Providers: Choose between OpenAI (cloud) or Ollama (fully local)—enabling 100% offline operation for maximum privacy.
Installation
git clone https://github.com/CharSiu8/data_auditor.git
cd data_auditor
pip install -r requirements.txt
Quick Start
Option A: Fully Local (No API Key Needed)
- Install Ollama
- Pull a model:
ollama pull llama3.2 - Run:
python main.py --model ollama
Option B: Cloud (OpenAI)
- Create
.envfile:OPENAI_API_KEY=your-key-here - Run:
python main.py --model openai
Command Line Options
python main.py --model ollama --file your_data.csv
| Argument | Options | Default | Description |
|---|---|---|---|
--model |
openai, ollama |
openai |
AI provider to use |
--file |
any CSV path | test_data.csv |
File to audit |
Tech Stack & Architecture
- Language: Python 3.x
- Data Engineering: Pandas
- AI Integration: OpenAI API (GPT-4o-mini) or Ollama (Llama 3.2, local)
- Security: python-dotenv (Environment Variable Management)
- Version Control: Git/GitHub
Project Structure
| File | Purpose |
|---|---|
main.py |
Application entry point and pipeline coordinator |
auditor.py |
Statistical engine—performs all data quality checks locally |
reporter.py |
Serializes audit results to JSON |
analyzer.py |
Routes to OpenAI or Ollama for AI interpretation |
feedback.py |
Sends user feedback to developer via Discord webhook |
.env |
Secure storage for API keys (ignored by Git) |
Data Flow
CSV File → auditor.py (local analysis) → reporter.py (JSON) → analyzer.py (AI interpretation) → Summary
Privacy Architecture
- What stays local: Raw data, all statistical computations
- What is sent to AI: Only audit metadata (column names, data types, row indices with issues)—no actual data values are transmitted
- With Ollama: Everything stays local—zero data leaves your machine
Impact
By automating the Exploratory Data Analysis (EDA) phase, this tool reduces the "Data Cleaning" bottleneck—which typically takes up 80% of a Data Scientist's time—allowing for faster, safer insights.
Feedback
Built-in feedback system lets users send comments directly to the developer. Help improve VaultLens by sharing your experience after running an audit.
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
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 vault_lens-0.1.0.tar.gz.
File metadata
- Download URL: vault_lens-0.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a0cd60d92ee888c5f60c295d02e7bab2a94e647f5aceaed64506be8f8105a55
|
|
| MD5 |
a705c4d538ba319b6ea5f0ff1b2c56e1
|
|
| BLAKE2b-256 |
91ef8d7858fe1dc163ec38efb60d23f867215cc0d129fea38495cceb41fa3870
|
File details
Details for the file vault_lens-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vault_lens-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc1b28064103a0b5c6433ae8faebfa02c2b8bdb96ff43b61907039951212fbc2
|
|
| MD5 |
59319abd4bab1e5b4b7331b479644571
|
|
| BLAKE2b-256 |
104415a4ec5a8c9ad6c236638e74267a5fb964092be0429730a9fd26b9a4b899
|