> ## Documentation Index
> Fetch the complete documentation index at: https://base.bangwu.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Python

> Python 后端开发技术栈导航入口页，系统涵盖 FastAPI 现代高性能 Web 框架的路由定义与依赖注入用法、爬虫开发基础与反爬应对策略，以及 httpx 异步请求、matplotlib 可视化绑图、PyTorch 深度学习等常用第三方库的安装配置与使用指南快速索引。

![Python](https://cdn.bangwu.top/img/Python.png)

Python 是一门简洁优雅的编程语言，广泛应用于 Web 开发、数据分析、人工智能等领域。

## 后端框架

### FastAPI

现代、高性能的 Python Web 意见框架，支持异步处理和自动生成 API 文档。

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
async def root():
    return {"message": "Hello World"}
```

<Card title="FastAPI 详解" icon="bolt" href="/zh/backend/Python/fastapi">
  路由参数、请求体、依赖注入、中间件与认证等核心用法。
</Card>

### Flask

轻量级 Web 框架，适合快速开发小型应用。

### Django

全功能 Web 框架，内置 ORM、后台管理等。

## 爬虫开发

<Card title="爬虫专栏" icon="spider" href="/zh/backend/Python/spider/index">
  从基础到进阶，反爬策略与实战案例。
</Card>

## 常用库

<Card title="常用库索引" icon="cubes" href="/zh/backend/Python/libs/index">
  httpx、matplotlib、wordcloud、PyTorch 等库的使用笔记。
</Card>

## 学习资源

* [Python 官方文档](https://docs.python.org/zh-cn/3/)
* [PyPI 包索引](https://pypi.org/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.