Skip to content

Releases: adamzhang1987/bt-python-sdk

BT Python SDK v1.0.1

13 May 18:09

Choose a tag to compare

Update version to 1.0.1 and adjust documentation

- Incremented version number in `pyproject.toml`, `uv.lock`, and `__version__.py`.
- Updated copyright year in documentation to 2025.
- Changed documentation index reference from `pyqt` to `pybt`.
- Removed deprecated `pyqt` module documentation files.

BT Python SDK v1.0.0

13 May 17:42

Choose a tag to compare

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

0.2.0

25 Dec 04:35

Choose a tag to compare

0.2.0