Skip to content

BT Python SDK v1.0.0

Choose a tag to compare

@adamzhang1987 adamzhang1987 released this 13 May 17:42
· 10 commits to main since this release

Release v1.0.0

Overview

BT Python SDK is a comprehensive Python library for interacting with the BaoTa Panel API. This release provides a robust set of tools for managing websites, system resources, and various web server configurations.

Key Features

System Management

  • System status monitoring (CPU, memory, network, load)
  • Disk information and usage tracking
  • Task management and panel updates

Website Management

  • Complete website lifecycle management (create, list, delete)
  • Website status control (start/stop)
  • PHP version management
  • Website backup operations
  • Domain management
  • Directory and path configuration
  • Default document settings

Security Features

  • Password access control
  • Traffic limiting capabilities
  • Cross-site protection
  • SSL certificate management

Configuration Management

  • URL rewrite rules
  • Directory access controls
  • Runtime path configuration
  • Access log management

Technical Details

  • Python 3.8+ support
  • Comprehensive error handling
  • Environment-based configuration
  • Detailed logging
  • Type hints for better IDE support

Dependencies

  • requests >= 2.31.0
  • python-dotenv >= 1.0.0

Installation

pip install bt-python-sdk

Documentation

  • Full API documentation available at ReadTheDocs
  • Example code provided in the examples/ directory
  • Both English and Chinese documentation available

Examples

The SDK includes comprehensive examples for:

  • Basic website operations
  • Backup management
  • Domain configuration
  • Security settings
  • Directory management
  • Traffic control

Development Status

  • Beta release
  • MIT License
  • Cross-platform support