macOS
brew install flitlocal Homebrew formula metadata
brew
Simplified packaging of Python modules. Version 3.12.0 via Homebrew; verified 2026-05-21.
install
brew install flitlocal Homebrew formula metadata
sudo apt install flitDebian stable package indexes · flit · source: deb.debian.org
sudo dnf install flitFedora Rawhide package metadata · flit · source: dl.fedoraproject.org
overview
Simplified packaging of Python modules
history
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.
security posture
No matching local secret-handling manifest was found for flit. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
pyproject.tomlCredential-bearing paths to review before unattended agent runs.
~/.pypircexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
flit | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:flit |
|---|---|
| Version | 3.12.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/flit |
| Homepage | https://github.com/pypa/flit |
| Repository | https://github.com/pypa/flit |
| Upstream docs | https://flit.pypa.io/en/stable |
| License | BSD-3-Clause |
| Source archive | https://files.pythonhosted.org/packages/50/9c/0608c91a5b6c013c63548515ae31cff6399cd9ce891bd9daee8c103da09b/flit-3.12.0.tar.gz |
| Last updated | 2026-05-21T11:31:14Z |
| Pulse | updated |
| Dependencies | certifi, python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | flit |
| Version Scheme | 0 |
| Revision | 7 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 flitflit 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 flitflit 3.12.0-8.fc45
Simplified packaging of Python modules
sudo dnf install flitsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.