Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf 安装 flit

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install flit

local Homebrew formula metadata

概览

软件包摘要

Simplified packaging of Python modules

命令和别名

  • flit

历史

项目历史与用法

Flit is a Python packaging tool for publishing modules and packages to PyPI with a small amount of project metadata. It became notable in Python packaging culture as an early, opinionated tool built around pyproject.toml and the PEP 517 build-backend model rather than the older setup.py workflow.

项目历史

The project appeared on PyPI in 2015 and describes itself as a simple way to put Python packages and modules on PyPI while avoiding common packaging mistakes. Its workflow centers on running flit init to create pyproject.toml, then using flit publish or flit install for distribution and local development.

Flit's documentation records the evolution from the very old flit.ini format, to the older [tool.flit.metadata] table, and then to the standard [project] table. The same documentation identifies flit_core as the build backend used by pip and other build frontends.

采用历史

Flit was adopted by Python projects that wanted a low-boilerplate packaging path for single import packages and modules. Its role grew with standard pyproject.toml metadata, because it offered a compact implementation of the modern build-backend approach.

The package is distributed through PyPI and is also curated by operating-system package managers, including Homebrew and several Linux distributions in the supplied package facts.

使用方式

Typical use starts with python3 -m pip install flit, then flit init in a project directory to create pyproject.toml. Publishing is done with flit publish, and development installs use flit install with optional symlink and interpreter flags.

Flit is intentionally narrow: it packages one importable module or package at a time, reads common metadata from pyproject.toml and the module, and delegates standard wheel installation behavior to pip.

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

Flit is significant to package maintainers because it made pyproject.toml-first packaging feel practical before that workflow became routine. It is also a useful reference point for the division between a frontend CLI, flit, and a backend package, flit_core.

For package-index and distribution maintainers, Flit is a clean example of PEP 517-era packaging: projects can declare flit_core.buildapi in [build-system], allowing build tools to construct wheels without executing setup.py.

时间线

  • 2015: Flit 0.1 is uploaded to PyPI.
  • 2016: Early 0.x releases continue the simple PyPI publishing workflow.
  • 2020: Flit 3.x era documentation supports the standard [project] metadata table.
  • 2026: PyPI metadata reports Flit 3.12.0 as the current release during this enrichment run.

Related projects

  • flit_core is the build backend used in pyproject.toml for Flit-built packages.
  • pip consumes Flit-built wheels and can invoke Flit in an isolated build environment for source distributions.
  • setuptools and other Python packaging tools are the broader ecosystem that Flit is commonly compared against.

安全态势

尚未找到受保护工具覆盖

没有找到 flit 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
pyproject.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.pypirc

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/pypa/flit

安装元数据

软件包元数据

软件包键brew:flit
版本3.12.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/flit
主页https://github.com/pypa/flit
仓库https://github.com/pypa/flit
上游文档https://flit.pypa.io/en/stable
许可证BSD-3-Clause
源码归档https://files.pythonhosted.org/packages/50/9c/0608c91a5b6c013c63548515ae31cff6399cd9ce891bd9daee8c103da09b/flit-3.12.0.tar.gz
最后更新2026-05-21T11:31:14Z
Pulseupdated
依赖certifi, python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

flit 3.12.0-1

simple way to put Python packages and modules on PyPI (PEP 517)

https://flit.readthedocs.io/en/latest/

sudo apt install flit
  • Section: python
  • Architecture: all
  • 6 依赖
  • normalized package name match
  • 匹配方式:Flit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: flit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

flit 3.9.0-2

simple way to put Python packages and modules on PyPI (PEP 517)

https://flit.readthedocs.io/en/latest/

sudo apt install flit
  • Section: universe/python
  • Architecture: all
  • 5 依赖
  • normalized package name match
  • 匹配方式:Flit
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: flit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

flit 3.12.0-8.fc45

Simplified packaging of Python modules

https://flit.pypa.io/

sudo dnf install flit
  • License: BSD-3-Clause AND Apache-2.0 AND PSF-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-flit
  • 3 依赖
  • 7 提供
  • normalized package name match
  • 匹配方式:Flit
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment