Metadata-Version: 2.1
Name: htyy
Version: 0.1.6
Summary: htyy - All-in-one productivity tools
Author: huang yi yi
Author-email: 363766687@qq.com
Project-URL: Source, https://github.com/hyy-PROG/htyy
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt

***Some tool.***

# Install
>>> pip install htyy

# request
>>> from htyy import request
>>> response = request.get('https://www.example.com', timeout=5)
>>> print(response.text)

Print out the content you get and decode.

# message
>>> from htyy import message
>>> message.showinfo("title","message")

A tooltip box appears.

# path
About the content of the path.

KMS Activation Module for htyy Toolkit
Overview
The KMS Activation module provides a comprehensive solution for activating Windows and Microsoft Office products using the Key Management Service (KMS) protocol. Integrated within the htyy productivity toolkit, this module allows users to easily set up a local KMS server and activate VL (Volume License) editions of Microsoft products.

Key Features
🚀 Automatic KMS Server Setup: One-command deployment of a local KMS server

⚡ Single-Command Activation: Activate Windows and Office with one command

📊 Activation Status Monitoring: Check current activation status for Windows and Office

🔧 Self-Healing Design: Automatically downloads required components

🌐 Cross-Platform Support: Works on Windows, Linux, and macOS

⚙️ Centralized Configuration: Easy configuration management

Installation
The KMS module is included in the htyy package. Install using pip:

bash
pip install htyy
After installation, the KMS commands will be available through the htyy-kms command-line interface.

Command Reference
Basic Commands
Command	Description
htyy-kms install	Install/update vlmcsd binary
htyy-kms server start	Start KMS server
htyy-kms server stop	Stop KMS server
htyy-kms server status	Check server status
htyy-kms activate windows	Activate Windows
htyy-kms activate office	Activate Microsoft Office
htyy-kms activate all	Activate both Windows and Office
htyy-kms status	Check activation status
Advanced Commands
Command	Description
htyy-kms config set <key> <value>	Set configuration parameter
htyy-kms config get <key>	Get configuration value
htyy-kms config list	List all configuration settings
htyy-kms server test	Test KMS server functionality
htyy-kms diagnose	Run diagnostic checks
Usage Examples
1. Setting up a KMS Server
bash
# Install vlmcsd binary
htyy-kms install

# Start KMS server in background
htyy-kms server start --background

# Verify server status
htyy-kms server status
2. Activating Products
bash
# Activate Windows
htyy-kms activate windows

# Activate Microsoft Office
htyy-kms activate office

# Activate both Windows and Office
htyy-kms activate all
3. Checking Activation Status
bash
# Check activation status
htyy-kms status
Sample output:

text
=== Activation Status ===
Windows: Activated (Expiration: 2024-06-15)

Office:
  16.0: Activated
  15.0: Grace period
4. Configuration Management
bash
# Set custom KMS server address
htyy-kms config set kms_server 192.168.1.100

# Change KMS port
htyy-kms config set kms_port 1700

# List all configurations
htyy-kms config list
Technical Details
System Requirements
Operating Systems: Windows 7+, Linux, macOS

Python: Version 3.6 or higher

Microsoft Products:

Windows VL editions (7/8/10/11)

Office VL editions (2010/2013/2016/2019/2021)

Dependencies
The KMS module requires these additional packages:

requests (for downloading components)

tqdm (for download progress display)

colorama (for colored terminal output)

These are automatically installed with the htyy package.

File Locations
Configuration: ~/.kms_activator/config.json

Logs: ~/.kms_activator/kms.log

vlmcsd Binaries: htyy/kms_activator/bin/

Troubleshooting
Common Issues
Activation fails:

Ensure you're using a Volume License edition

Verify network connectivity to KMS server

Check firewall settings (port 1688 TCP)

Server doesn't start:

Run htyy-kms install to ensure binaries are present

Check for port conflicts with netstat -ano | findstr :1688

Office not detected:

Verify Office is installed

Use htyy-kms activate office --version <version> to specify version

Diagnostic Command
Run comprehensive checks:

bash
htyy-kms diagnose
This will check:

Network connectivity

Firewall settings

Server status

System activation status

Office installations

Binary file integrity

Legal Disclaimer
⚠️ Important Legal Notice:

The KMS Activation module is designed for educational purposes and to demonstrate the KMS protocol. Users must comply with Microsoft's licensing terms:

Only activate properly licensed Microsoft products

Volume License activation requires a valid Volume Licensing Agreement

Unauthorized activation of Microsoft software may violate copyright laws

The developers of htyy do not condone or support software piracy. Users are solely responsible for ensuring they have proper licensing for any software they activate with this tool.

Support
For assistance with the KMS module:

Submit issues on GitHub: https://www.github.com/hyy-PROG/htyy/issues

Note: The KMS Activation module is part of the htyy productivity toolkit. Always ensure you have appropriate licenses before activating Microsoft products.
