v0.1.0a3 - Alpha Release: PyPI Ready
Pre-release
Pre-release
·
222 commits
to main
since this release
π Stinger v0.1.0a3 - Alpha Release
This is the third alpha release of Stinger, now available on PyPI!
π¦ Installation
pip install stinger-guardrails-alpha⨠Key Features
- π‘οΈ Multiple guardrail types (PII, toxicity, prompt injection, etc.)
- π Simple/fast regex-based and AI-powered options
- π Real-time web demo with visual feedback
- π Management console for system monitoring
- π Comprehensive audit trail with PII redaction
- π― Conversation-aware prompt injection detection
π What's New in v0.1.0a3
- Enhanced documentation with prominent demo sections
- Clear separation of simple vs AI-powered guardrails
- Improved getting started experience
- Fixed CLI version command
- Simplified demo setup instructions
- Updated compliance messaging
π Quick Start
from stinger import GuardrailPipeline
from stinger.core import audit
# Enable audit trail
audit.enable()
# Create pipeline
pipeline = GuardrailPipeline.from_preset("customer_service")
# Check content
result = pipeline.check_input("My SSN is 123-45-6789")
if result['blocked']:
print(f"Blocked: {result['reasons']}")π§ Try the Demos
Web Demo
cd demos/web_demo
(cd backend && python main.py &) && (cd frontend && npm start)
# Open http://localhost:3000Management Console
cd management-console
(cd backend && python main.py &) && (cd frontend && npm start)
# Open http://localhost:3001π Documentation
β οΈ Alpha Release Note
This is an alpha release. APIs may change in future versions. Please report issues on our GitHub Issues page.
π€ Contributing
We welcome contributions! See our Contributing Guide for details.
This release will be automatically published to PyPI via GitHub Actions.