A clean, simple, and production-ready license key management system with automatic HWID binding and API endpoints.
pip install -r requirements.txtpython auth_system.py- Select option
5from the menu - The API automatically starts on
0.0.0.0:5000(best for all network access) - No configuration needed!
python license_checker.py- Auto-Configuration: API automatically selects optimal host/port
- HWID Auto-Detection: Automatically generates device IDs from client IP/User-Agent
- License Validation: Real-time license checking with expiration dates
- Admin Panel: Generate, list, and manage licenses
- Client Script: Ready-to-use license validation tool
- Production Ready: Clean code, error handling, and proper API responses
GET /api/health- Server health checkPOST /api/license/validate- Validate license keysGET /api/admin/licenses- List all licenses (admin only)
The license_checker.py script provides a user-friendly interface:
- Enter license key to proceed
- Automatic server connection checking
- Clear validation results with expiration info
- HWID binding information
- Database: Automatically created and initialized
- API Server: Ready to start with optimal settings
- License System: Full validation and binding capabilities
- Client Tools: Ready-to-use validation script
- Admin Interface: Complete license management system
- Password:
admin123 - Used for accessing admin functions and listing licenses
No configuration files, no complex setup - just run and go! The system automatically handles everything needed for production use.