Safelyx Python SDK is now available in PyPI
Safelyx Python SDK is now available in PyPI. You can now install Safelyx in your Python project using pip.
We're excited to announce the release of our Python SDK for automated content moderation! The safelyx
package is now available on PyPI, making it easier than ever to integrate Safelyx's powerful platform moderation tools into your Python projects. You can also find its source code on GitHub (it's Open Source!).
Simplicity for Python Developers
At Safelyx, we believe in making content moderation simple and accessible. After the success of our JavaScript SDK, we're now bringing the same powerful capabilities to Python developers. Our Python SDK works seamlessly across all Python environments and versions >= 3.11:
- Django
- Flask
- FastAPI
- Any Python web framework
- Command-line tools
- Scripts and automation
Quick Start with pip
Getting started with our automated content moderation SDK is as simple as running:
pip install safelyx
Then in your code:
import safelyx
async def check_content_safety():
check_result = await safelyx.check_link('https://example.com')
if check_result.result >= 8:
print('Link is safe!')
elif check_result.result >= 4:
print('Link needs review')
elif check_result.result >= 0:
print('Link is unsafe!')
Comprehensive Platform Moderation Features
Our Python SDK provides access to all of Safelyx's content moderation endpoints:
- Link Safety Verification: Protect users from malicious URLs and phishing attempts
- Message Content Analysis: Detect inappropriate content, sentiment, and potential threats
- Email Legitimacy Validation: Verify email addresses and prevent abuse
- Image Safety Analysis: Ensure uploaded images meet your platform's standards
Real-world Implementation Examples
Looking at our documentation and use cases, you can see how the SDK helps with various content moderation scenarios:
- Platform content moderation
- User-generated content protection
- Community safety enforcement
- Real-time threat detection
Simple Integration, Powerful Results
The SDK returns detailed analysis results while maintaining a simple API interface. Each check returns a comprehensive result object that includes:
- Safety score (0-10)
- Detailed analysis
- Content sentiment
- Threat assessment
- Recommended actions
Getting Started
- Install the package from PyPI
- Buy a key code
- Start protecting your platform with just a few lines of code
Our SDK is designed to grow with your platform, offering:
- Detailed safety analysis
- Real-time threat detection
- Comprehensive reporting
- Flexible integration options
- Cross-platform compatibility
Try It Today
Ready to enhance your platform's content moderation? Get started with our SDK today:
- PyPI:
pip install safelyx
- Documentation: Safe API Documentation
Join the growing number of platforms using Safelyx for automated content moderation. Our SDK makes it easier than ever to protect your users while maintaining a positive user experience.
Questions or need help? Contact our support team at help@safelyx.com.