mirror of
https://github.com/zenlm/claude-collector.git
synced 2026-07-26 22:30:45 +00:00
- 70+ tests covering regex-based sanitization - API keys: OpenAI, Anthropic, GitHub, HuggingFace, Stripe, SendGrid, Google, AWS - Crypto: Private keys, ETH/BTC addresses, seed phrases - Financial: Credit cards, SSN - PII: Email addresses - Context preservation tests - Edge cases and JSONL processing Security: All test secrets generated at runtime to avoid GitHub secret scanning - No hardcoded secrets in test files - Uses random generators for realistic test patterns - Follows security best practices CI: GitHub Actions workflow for multi-OS/Python testing with coverage
52 lines
1.3 KiB
TOML
52 lines
1.3 KiB
TOML
[project]
|
|
name = "claude-collector"
|
|
version = "0.1.0"
|
|
description = "Extract and sanitize Claude Code conversation data for training datasets"
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Hanzo AI", email = "hello@hanzo.ai"}
|
|
]
|
|
keywords = ["claude", "ai", "dataset", "training", "llm"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
|
|
dependencies = [
|
|
"rich>=13.0.0",
|
|
"click>=8.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
claude-collector = "claude_collector.cli:main"
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/zenlm/claude-collector"
|
|
Repository = "https://github.com/zenlm/claude-collector"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --cov=claude_collector --cov-report=term-missing"
|