Automic VaultAutomic Vault

brew

使用 Homebrew, apt 安装 sqlparse

查看 sqlparse 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sqlparse

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install python-sqlparse-doc

Debian stable package indexes · python-sqlparse-doc · 来源: deb.debian.org

概览

软件包摘要

Non-validating SQL parser

命令和别名

  • sqlformat

历史

项目历史与用法

sqlparse is a Python package and companion sqlformat command for non-validating SQL parsing, statement splitting, and SQL formatting.

项目历史

The official documentation describes sqlparse as a non-validating SQL parser for Python with support for parsing, splitting, and formatting SQL statements. The official changelog records release 0.1.0 on April 8, 2009, making it one of the older small SQL tooling packages in the Python ecosystem.

The changelog shows steady maintenance across Python packaging eras: Python 3 compatibility work in release 0.1.6 on January 1, 2013, Python 2.7 and Python 3.3+ support boundaries in release 0.2.0 on July 20, 2016, and modern security and runtime updates such as 0.4.4 in 2023 and 0.5.0 in 2024.

采用历史

sqlparse has remained useful because many tools need SQL tokenization and pretty-printing without connecting to a database or validating against a specific dialect. The supplied package-manager facts show it packaged by Homebrew and Debian/Ubuntu documentation packages, in addition to its Python packaging identity.

使用方式

Developers use sqlparse as a library for parse, split, and format operations, and use the installed sqlformat executable for command-line formatting. Its non-validating design is important: it handles SQL text as tooling input rather than acting as a database-specific compiler.

为什么软件包爱好者会关心

Package nerds care about sqlparse because it is a small, durable dependency behind SQL-aware developer tooling. It also has the classic shape of a package-manager-friendly utility: a library, a CLI, a permissive license, documentation, and no need for a running database.

时间线

  • 2009: Release 0.1.0 published.
  • 2013: Release 0.1.6 added Python 3 compatibility work.
  • 2016: Release 0.2.0 set Python 2.7 and Python 3.3+ support boundaries.
  • 2023: Release 0.4.4 fixed a parser regular-expression security issue.
  • 2024: Release 0.5.0 added Python 3.12 support and fixed a recursion denial-of-service issue.

Related projects

  • The official docs and repository tie sqlparse to Python developer tooling and the sqlformat command rather than to a single database server.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:sql

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sqlformatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.5.5
管理器更新时间2026-06-14
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/andialbrecht/sqlparse

安装元数据

软件包元数据

软件包键brew:sqlparse
版本0.5.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/sqlparse
主页https://github.com/andialbrecht/sqlparse
仓库https://github.com/andialbrecht/sqlparse
上游文档https://sqlparse.readthedocs.io/
许可证BSD-3-Clause
源码归档https://files.pythonhosted.org/packages/90/76/437d71068094df0726366574cf3432a4ed754217b436eb7429415cf2d480/sqlparse-0.5.5.tar.gz
最后更新2026-06-14T15:13:50+02:00
Pulseupdated
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesqlparse
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

python-sqlparse-doc 0.5.3-1

documentation for non-validating SQL parser in Python

https://github.com/andialbrecht/sqlparse

sudo apt install python-sqlparse-doc
  • Section: doc
  • Architecture: all
  • Source Package: sqlparse
  • 1 依赖
  • normalized package name match
  • 匹配方式:Sqlparse
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python-sqlparse-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-sqlparse 0.5.3-1

non-validating SQL parser for Python 3

https://github.com/andialbrecht/sqlparse

sudo apt install python3-sqlparse
  • Section: python
  • Architecture: all
  • Source Package: sqlparse
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Sqlparse
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-sqlparse from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

sqlformat 0.5.3-1

SQL formatting utility

https://github.com/andialbrecht/sqlparse

sudo apt install sqlformat
  • Section: text
  • Architecture: all
  • Source Package: sqlparse
  • 2 依赖
  • normalized package name match
  • 匹配方式:Sqlparse
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sqlformat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python-sqlparse-doc 0.4.4-1

documentation for non-validating SQL parser in Python

https://github.com/andialbrecht/sqlparse

sudo apt install python-sqlparse-doc
  • Section: doc
  • Architecture: all
  • Source Package: sqlparse
  • 1 依赖
  • normalized package name match
  • 匹配方式:Sqlparse
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python-sqlparse-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

python3-sqlparse 0.4.4-1

non-validating SQL parser for Python 3

https://github.com/andialbrecht/sqlparse

sudo apt install python3-sqlparse
  • Section: python
  • Architecture: all
  • Source Package: sqlparse
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Sqlparse
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-sqlparse from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

sqlformat 0.4.4-1

SQL formatting utility

https://github.com/andialbrecht/sqlparse

sudo apt install sqlformat
  • Section: universe/text
  • Architecture: all
  • Source Package: sqlparse
  • 2 依赖
  • normalized package name match
  • 匹配方式:Sqlparse
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sqlformat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment