Data Loss Prevention plugin for LiteLLM: Block and mask PII in LLM requests with zero infrastructure overhead.
Project description
ceil-dlp
DLP plugin for LiteLLM for seamlessly managing PII in LLM interactions.
ceil-dlp is a Data Loss Prevention (DLP) plugin for LiteLLM that automatically detects and protects Personally Identifiable Information (PII) in LLM requests. This includes PII in both text and images (pdf support is on the way). It blocks, masks, or logs sensitive data before it reaches your LLM provider. This helps prevent you from leaking your secrets, API keys, and other sensitive information. It also helps you ensure compliance with data privacy regulations like HIPAA, PCI-DSS, GDPR, and CCPA.
Usage
See QUICKSTART.md for detailed installation and usage instructions.
The setup is as simple as installing:
uv pip install ceil-dlp
and enabling in LiteLLM:
from litellm import proxy
from ceil_dlp import setup_litellm
litellm_config = setup_litellm()
proxy(host="0.0.0.0", port=4000, **litellm_config)
And you're done!
Documentation
- See the Quick Start Guide for installation and basic usage
- Take a look at the example configuration file.
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 ceil_dlp-1.1.2.tar.gz.
File metadata
- Download URL: ceil_dlp-1.1.2.tar.gz
- Upload date:
- Size: 30.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
056a51869a499511ff7b245c8564a921e16d958b397936a5f78285533406f66c
|
|
| MD5 |
a8d689fcbcff301380a34bcb099c34eb
|
|
| BLAKE2b-256 |
55d296237bcc736e28b250dbbfecfd46f6bf57137110fc10b4d9fb679a7a20bf
|
File details
Details for the file ceil_dlp-1.1.2-py3-none-any.whl.
File metadata
- Download URL: ceil_dlp-1.1.2-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c1b3cf29e581324a5aa572abdbe718454b3fc77f0ae49003d02ae22bcf172d1
|
|
| MD5 |
54d1e8adaaad2cf5ba45ebf652ee4b3f
|
|
| BLAKE2b-256 |
a2f9659fb4ca90ecf797b4206bfb9e5a2f4ca170c10fdf366d99ce985f40223e
|