QuantumMeta License Server¶
๐ Universal Licensing for QuantumMeta Ecosystem
Secure, flexible, and developer-friendly licensing system
๐ Welcome¶
QuantumMeta License Server is a production-ready, universal licensing system designed specifically for the QuantumMeta ecosystem of PyPI packages in AI, quantum computing, and AGI. It provides a seamless balance between security and user experience.
โจ Key Features¶
๐ Secure License Management¶
- AES-256 Encryption: All license files (
.qkey
) are encrypted with military-grade encryption - Hardware Locking: Licenses are tied to unique machine fingerprints preventing unauthorized sharing
- Digital Signatures: Optional Ed25519 signatures for additional verification
โณ Grace Period System¶
- 1-Day Trial: Automatic grace period for new users without requiring upfront licensing
- Seamless Transition: Smooth progression from trial to licensed usage
- Smart Tracking: Usage patterns stored securely in
~/.quantummeta/usage_log.json
๐งช Developer-Friendly CLI¶
- Simple Commands:
quantum-license generate
,activate
,validate
- Rich Output: Beautiful terminal interface with tables and color coding
- Flexible Integration: Easy integration into any Python package
๐ก๏ธ Feature Gating¶
- Granular Control: Enable specific features like
["core", "pro", "enterprise"]
- Runtime Validation: Real-time feature availability checking
- License Tiers: Support for multiple licensing tiers per package
๐ง Development Mode¶
- Bypass for Developers: Set
QUANTUMMETA_DEV=1
to skip all license checks - Testing Support: Perfect for CI/CD and development environments
๐ Admin Dashboard¶
- Web Interface: Modern, responsive admin dashboard for license management
- Secure Login: Email and token-based authentication system
- Real-time Management: Generate, validate, expire, and delete licenses
- Usage Analytics: Track license usage and system statistics
- Batch Operations: Manage multiple licenses efficiently
๐ฆ Quick Example¶
from quantummeta_license import validate_or_grace
# Simple integration - handles grace period automatically
def my_ai_function():
validate_or_grace("quantum-metalearn")
# Your AI/quantum computing code here
return "Advanced AI computation completed!"
# Feature-gated functionality
def premium_feature():
validate_or_grace("quantum-metalearn", required_features=["pro"])
# Premium functionality only for licensed users
return "Premium AI model accessed!"
๐ฆ Package Structure¶
quantummeta_license/
โโโ core/ # Core licensing logic
โ โโโ validation.py # Main validation functions
โ โโโ license_manager.py # License CRUD operations
โ โโโ hardware.py # Hardware fingerprinting
โ โโโ encryption.py # AES-256 + Ed25519 crypto
โ โโโ usage_tracker.py # Grace period management
โโโ cli/ # Typer-based CLI interface
โ โโโ main.py # quantum-license command
โโโ utils/ # Logging and utilities
โโโ docs/ # Documentation and admin dashboard
โ โโโ admin-app.html # Web-based admin interface
โโโ tests/ # Comprehensive PyTest suite
๐ฏ Perfect For¶
- ๐ง AI/ML Packages: License complex machine learning models and algorithms
- โ๏ธ Quantum Computing: Secure quantum computing libraries and simulators
- ๐ค AGI Research: Protect advanced artificial general intelligence research
- ๐ Data Science: License premium data analysis and visualization tools
- ๐ฌ Scientific Computing: Secure access to specialized scientific libraries
๐ License Lifecycle¶
- ๐ Generate: Admin creates encrypted
.qkey
license files via CLI or dashboard - โก Activate: Users install licenses with
quantum-license activate
- โ Validate: Automatic validation on package import
- โฐ Grace: 1-day trial period for new users
- ๐ Renew: Seamless license renewal and updates
- ๐ Monitor: Track usage through admin dashboard
๐ Cross-Platform Support¶
- โ Windows (PowerShell, CMD)
- โ macOS (Terminal, iTerm2)
- โ Linux (All major distributions)
- โ Docker containers
- โ CI/CD environments
- โ Web Browsers (Admin dashboard)
๐ก Use Cases¶
For Package Publishers¶
- Monetize premium features and advanced algorithms
- Control access to proprietary AI models
- Track usage and prevent unauthorized distribution
- Implement tiered licensing (Basic/Pro/Enterprise)
For End Users¶
- Try packages risk-free with 7-day grace period
- Simple one-command license activation
- Transparent license status and feature availability
- Offline usage after initial activation
For Enterprises¶
- Secure deployment of licensed AI/quantum software
- Hardware-locked licenses prevent license sharing
- Centralized license management and tracking
- Development mode for internal testing
๐ Get Started¶
Ready to secure your QuantumMeta packages? Check out our Installation Guide and Quick Start Tutorial!
Built with โค๏ธ by the QuantumMeta Team
Empowering the future of AI, Quantum Computing, and AGI