虚谷数据库 Python 开发

Manage XuguDB connections, CRUD operations, transactions, and LOBs in Python.

4|4|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/kourou25/xugudb-dev-skills --skill python-kourou25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 虚谷数据库 Python 开发
Source: https://github.com/kourou25/xugudb-dev-skills/tree/main/skills/xugudb-python
Command: npx skills add https://github.com/kourou25/xugudb-dev-skills --skill python-kourou25

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers often struggle to integrate XuguDB with Python, handling driver installation, connection setup, and database operations manually.

Core Features & Use Cases

  • Driver Installation & Environment Setup: Guides for installing the xgcondb driver on Windows and Linux.
  • Connection Management: Simple APIs for basic, SSL, and multi‑IP high‑availability connections.
  • CRUD Operations & Parameter Binding: Supports execute, executemany, and executebatch with both positional and named parameters.
  • Transaction Control: Manual and autocommit modes, with explicit begin, commit, and rollback.
  • LOB Handling & Stored Procedures: Methods for BLOB/CLOB operations and calling procedures with in/out parameters.
  • Use Case Example: Rapidly develop a Python script that connects to XuguDB, creates a table, inserts data, and queries results.

Quick Start

Use the XuguDB Python skill to connect to a database, create a table, insert a row, and fetch the data in a single natural‑language command.

Frequently Asked Questions about 虚谷数据库 Python 开发

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect Python to XuguDB and perform CRUD operations?

To connect Python to XuguDB and perform CRUD operations, install the xgcondb driver and use its APIs for basic, SSL, or high-availability connections to execute SQL queries and fetch results.

Does the XuguDB Python driver support Windows and Linux environments?

Yes, the XuguDB Python driver supports both Windows and Linux environments. It requires Python 2.7+ and appropriate native libraries to function correctly across these operating systems.

How do I handle transactions and parameter binding in XuguDB using Python?

You can handle transactions in XuguDB using Python through manual or autocommit modes with explicit begin, commit, and rollback. Parameter binding supports positional and named parameters via execute, executemany, and executebatch.

Can I manage BLOB and CLOB data in XuguDB from a Python application?

Yes, you can manage BLOB and CLOB data in XuguDB from a Python application. The driver provides specific LOB handling methods to read and write large objects directly within your Python scripts.

How do I call stored procedures with in and out parameters in XuguDB using Python?

To call stored procedures with in and out parameters in XuguDB using Python, use the xgcondb driver's stored procedure execution methods, which support passing input values and retrieving output parameters directly.