pkg.soopen package index

brew / 排名 5539

使用 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。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
flit可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本3.12.0
管理器更新时间2026-05-21
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:flit
版本3.12.0
软件包管理器Homebrew
主页https://github.com/pypa/flit
仓库https://github.com/pypa/flit
最后更新2026-05-21T11:31:14Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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-9.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation