Skip to main content

GDPR, PII and Data Flow Compliance Tool

Project description

Levox - GDPR Compliance Tool

A comprehensive tool for scanning, fixing, and reporting GDPR compliance issues in code.

Features

  • GDPR Compliance Scanning: Detect potential GDPR violations in your codebase
  • PII Detection: Identify personally identifiable information in your code
  • Data Flow Analysis: Track how data moves through your application
  • Automated Remediation: Get suggestions for fixing compliance issues
  • Detailed Reporting: Generate reports in multiple formats

Installation

Install the package using pip:

pip install levox

Additional Requirements

For the AI-powered fix suggestions to work, you'll need:

  1. Install Ollama from https://ollama.com
  2. Pull the required model:
    ollama pull deepseek-r1:1.5b
    

Ollama must be running when you use the fix functionality. If you're on Windows, make sure to start Ollama before running Levox.

Usage

Command Line Interface

# Scan a directory for GDPR compliance issues
levox scan [directory]

# Fix GDPR compliance issues in a directory
levox fix [directory]

# Show benchmarks and information
levox about

# Run benchmarks
levox benchmark --run

As a Library

from levox.scanner import Scanner
from levox.fixer import Fixer

# Scan a directory
scanner = Scanner("path/to/your/code")
issues = scanner.scan_directory()

# Get suggestions for fixing issues
fixer = Fixer()
for issue in issues:
    fix = fixer.generate_fix(issue)
    print(fix)

Configuration

Levox can be configured using a levox_config.json file in your project directory or in the user's home directory (~/.levox/config.json).

Example configuration:

{
  "exclude": [
    "**/test/**",
    "**/node_modules/**",
    "**/__pycache__/**"
  ],
  "severity_threshold": "medium"
}

Path Handling

Levox supports both relative and absolute paths on all platforms. If you encounter "Directory not found" errors:

  1. Make sure the directory exists and is readable
  2. Try using absolute paths instead of relative paths
  3. Check file system permissions
  4. For Windows paths with spaces, enclose the path in quotes

License

This is proprietary software. All rights reserved.

Usage is permitted according to the terms in the LICENSE file. This software is licensed, not sold, and may only be used in accordance with the license terms provided.

For licensing inquiries, please contact: info@levox.io

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

levox-1.5.1.tar.gz (92.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

levox-1.5.1-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

Details for the file levox-1.5.1.tar.gz.

File metadata

  • Download URL: levox-1.5.1.tar.gz
  • Upload date:
  • Size: 92.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for levox-1.5.1.tar.gz
Algorithm Hash digest
SHA256 cc0721a825a70bbc372fad61f975e00f63d1f19c117ae22d796d440b7a8a542c
MD5 bf5cf4ceec96adbdbc6b330be80b1931
BLAKE2b-256 96b751b82fb47060305f3863dc1734d9fa2c9ef51e1bee6bb1c1824802f9f00c

See more details on using hashes here.

File details

Details for the file levox-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: levox-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 90.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for levox-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e99af3ac4721f93a3972b7fd5c9614fa89fa199551a952edfca22125b087d891
MD5 5daba98d17db4d5715f2d8028db83a73
BLAKE2b-256 eb2870cce9c9a447188c6d2aac745ef79d7dbeda2cf5e11c3f2bc723e1052c9c

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