像素表 是 AI Skill Hub 本期精选AI工具之一。已获得 1.6k 颗 GitHub Star,综合评分 8.5 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
像素表 是一款基于 Python 开发的开源工具,专注于 ai、artificial-intelligence、chatbot 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
像素表 是一款基于 Python 开发的开源工具,专注于 ai、artificial-intelligence、chatbot 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install pixeltable
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install pixeltable
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/pixeltable/pixeltable
cd pixeltable
pip install -e .
# 验证安装
python -c "import pixeltable; print('安装成功')"
# 命令行使用
pixeltable --help
# 基本用法
pixeltable input_file -o output_file
# Python 代码中调用
import pixeltable
# 示例
result = pixeltable.process("input")
print(result)
# pixeltable 配置文件示例(config.yml) app: name: "pixeltable" debug: false log_level: "INFO" # 运行时指定配置文件 pixeltable --config config.yml # 或通过环境变量配置 export PIXELTABLE_API_KEY="your-key" export PIXELTABLE_OUTPUT_DIR="./output"
<picture class="github-only"> <source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/e9bf82b2-cace-4bd8-9523-b65495eb8131"> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/c5ab123e-806c-49bf-93e7-151353719b16"> <img alt="Pixeltable Logo" src="https://github.com/user-attachments/assets/e9bf82b2-cace-4bd8-9523-b65495eb8131" width="40%"> </picture>
Quick Start | Documentation | CLI | Dashboard | llms-full.txt | Starter Kit | AI Coding Skill | Discord
Expand any row for what Pixeltable replaces, a quick example, and doc links. Examples assume import pixeltable as pxt.
<details> <summary><b>Store:</b> unified multimodal interface</summary> <br>
pxt.Image, pxt.Video, pxt.Audio, pxt.Document, pxt.Json: one table for structured and media data with destination= for S3, GCS, Azure, R2, and more. Not S3 + Postgres + boto3 sync.
t = pxt.create_table(
'media',
{
'img': pxt.Image,
'video': pxt.Video,
'audio': pxt.Audio,
'document': pxt.Document,
'metadata': pxt.Json,
},
)
Type system · Tables & data · Cloud storage </details>
<details> <summary><b>Import / export:</b> I/O without glue scripts</summary> <br>
create_table(source=...), path/URL insert(), Hugging Face, export_parquet(), PyTorch, COCO, and more. Not per-format ETL scripts.
```python
Pixeltable is the unified multimodal backend for AI data apps. One Python API: store media, run models, index embeddings, serve endpoints, and version everything in a single system instead of gluing together blob storage, a vector DB, an orchestrator, and edge functions. Chunking, embeddings, agents, and serving run from computed columns on insert, not glue scripts you maintain separately. Transactions, caching, retries, and observability are built in. Extend with @pxt.udf, @pxt.uda, and @pxt.query.
pip install pixeltable # SDK + CLI (pxt ls, rows, errors, …)
Define schema in Python, routes in TOML: a pxt.Video table, frame view, one computed column on the frame view, and a single insert endpoint.
```python
results = ( t.where(t.score > 0.8) .order_by(t.timestamp) .select(t.image, score=t.score) .limit(10) .collect() )
t.sample(5).select(t.text, summary=summarize(t.text)).collect()
import pixeltable as pxt from pixeltable.functions.video import frame_iterator
videos = pxt.create_table('videos', {'video': pxt.Video, 'title': pxt.String}, if_exists='ignore') frames = pxt.create_view('frames', videos, iterator=frame_iterator(videos.video, fps=1), if_exists='ignore') frames.add_computed_column(thumb=frames.frame.thumbnail((320, 320)), if_exists='ignore')
toml
See Pixeltable in action: table creation, computed columns, multimodal processing, and querying in a single workflow.
https://github.com/user-attachments/assets/b50fd6df-5169-4881-9dbe-1b6e5d06cede
Pixeltable 是一个专为 AI 开发设计的多模态数据管理平台,旨在简化从数据处理到 AI 工作流构建的全过程。它通过统一的接口,让开发者能够像操作传统数据库一样高效地管理图像、视频、音频及文档等复杂的多模态数据。
Pixeltable 提供统一的多模态接口,支持 pxt.Image、pxt.Video、pxt.Audio、pxt.Document 和 pxt.Json 等多种数据类型,实现一致的数据管理。此外,它具备强大的 I/O 集成能力,支持数据的导入与导出,并内置了直观的本地 Dashboard,可进行媒体预览、数据血缘可视化及 Pipeline 图形化展示。
若需发布自定义数据集至云端,用户需要注册并拥有一个免费的 Pixeltable 账户,通过 pxt.publish 方法即可轻松实现从本地表到远程 URI 的数据迁移。
您可以通过 pip 直接安装:`pip install pixeltable`,或者使用 uv 工具进行管理:`uv add pixeltable`。Pixeltable 内置了事务型数据库、编排引擎和本地 Dashboard,无需配置 Docker 或其他外部服务,实现开箱即用,所有数据均通过 Python SDK 在本地目录管理。
通过声明式的方式在 Table 上定义 computed columns,您可以轻松构建数据处理与 AI 工作流。开发者只需专注于业务逻辑,无需处理底层的数据管道(Data Plumbing)。在开始之前,请确保已安装必要的库(如 google-genai, torch 等)并通过环境变量配置好相应的 API keys。
Pixeltable 默认会自动启动本地 Dashboard 供用户交互。如果需要关闭该功能,可以通过设置环境变量 `PIXELTABLE_START_DASHBOARD=false` 来进行配置。Dashboard 支持排序、过滤、媒体预览及错误追踪等功能,无需额外依赖。
Pixeltable 提供了简洁的 API 调用方式,支持将 LLM(如 OpenAI 的 gpt-4o-mini)集成到表中。通过 add_computed_column 方法,您可以直接在表中创建基于模型推理的列,实现自动化文本生成或多模态分析。
Pixeltable 深度集成了多种 ML 工具,支持与 Label Studio 进行标注项目联动,并能将数据导出为 FiftyOne 或 PyTorch 等主流框架所需的格式,实现了从数据标注、模型训练到数据导出的完整机器学习工作流。
高质量的开源AI工具,支持多模态AI应用开发
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,像素表 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | pixeltable |
| 原始描述 | 开源AI工具:Declarative and Incremental Backend for Multimodal AI Applications。⭐1.6k · Python |
| Topics | aiartificial-intelligencechatbotcomputer-visiondata-science |
| GitHub | https://github.com/pixeltable/pixeltable |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-27 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。