Skip to main content

GDPR, PII and Data Flow Compliance Tool

Project description

Levox - GDPR Compliance Assistant

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

Installation

pip install levox

Quick Start

After installation, you can run Levox in two ways:

  1. As a command line tool:
levox
  1. In your Python code:
from levox import main
main()

Troubleshooting

Command Not Found

If you get a "command not found" error when trying to run levox, it might be because Python's Scripts directory is not in your PATH. Here's how to fix it:

Windows

  1. Open Command Prompt or PowerShell
  2. Add Python Scripts to PATH:
set PATH=%PATH%;C:\Users\<username>\AppData\Local\Programs\Python\Python3x\Scripts

Or permanently add it through System Properties > Environment Variables

Unix/Linux/Mac

  1. Open terminal
  2. Add Python bin to PATH:
export PATH=$PATH:$(python3 -m site --user-base)/bin

Add this line to your ~/.bashrc or ~/.zshrc to make it permanent

Verifying Installation

To verify that Levox is properly installed:

pip show levox

This should show the package details including version and installation location.

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

Configuration

Install the package using pip:

pip install 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"
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.5.tar.gz (138.9 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.5-py3-none-any.whl (134.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: levox-1.5.5.tar.gz
  • Upload date:
  • Size: 138.9 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.5.tar.gz
Algorithm Hash digest
SHA256 9737edb68e63b487addc8ab13847f28684f83b007f4a0bbc563e39751de6f709
MD5 604e62264f781f047a3783ec456fb8ad
BLAKE2b-256 95a2a0945ba26bf76176e6972cb41bbca6eebca4caf6fe3664482d1446055978

See more details on using hashes here.

File details

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

File metadata

  • Download URL: levox-1.5.5-py3-none-any.whl
  • Upload date:
  • Size: 134.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 df11d0256beffe6e549f89533feb65c4e5a354e9698c822b4c7a7aa1e230b037
MD5 132d402a82164e6ea08a34879f209e56
BLAKE2b-256 050db47d0ecefc19a95bef5ab5ad043740c4b929137d81cee76718f4ea6de1cb

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