Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Flit

flit.pypa.io

  • Free plan
  • Windows
  • Linux
7.1 Club score Visit flit.pypa.io

What the maker publishes

Automated publishing
Flit supports configuring upload servers and credentials through environment variables for automated releases, while warning that environment variables can expose passwords to other scripts and libraries in the environment. source
Build
The `flit build` command builds wheel and source distribution files. source
Builds
The `flit build` command builds a wheel and source distribution, with an option to build either format alone. source
Credential handling
Flit tries to store upload passwords securely using the keyring library; without keyring, it prompts for a password for each upload. source
Integrations
Flit uses pip for installation and supports uploading to PyPI, TestPyPI, or another configured package index. source
Intended use
Flit focuses on pure Python packages with no build steps, such as compiling C code or bundling JavaScript. source
Limit: build steps
Flit cannot be used for packages that require a build step. source
Limit: dependencies
Flit does not manage dependencies, which must be added to `pyproject.toml` by hand. source
Notable limitation
Flit cannot be used for packages that need a build step and does not manage dependencies automatically; dependencies must be added to `pyproject.toml` by hand. source
Package contents
Flit automatically includes subpackages and data files within a package. source
Packaging
Flit packages one importable module or package at a time and automatically includes its subpackages and package data files. source
Publishing
The `flit publish` command builds distributions and uploads them to PyPI or another repository. source
Publishing
The `flit publish` command builds and uploads packages to PyPI or another configured package repository. source
Purpose
Flit is a simple way to package Python modules and packages for PyPI. source
Purpose
Flit is a simple way to put Python packages and modules on PyPI, aiming to reduce packaging effort and common mistakes. source
Python requirement
Flit requires Python 3 and must be installed using Python 3's pip. source
Python requirement
The Flit command line tool requires Python 3. source
Reproducible builds
Wheels built from the same source code can be byte-for-byte identical, though file modification timestamps may differ unless overridden with `SOURCE_DATE_EPOCH`. source
Reproducible builds
Flit says wheels built from the same source code can be byte-for-byte identical, with file timestamps noted as a caveat that can be overridden using `SOURCE_DATE_EPOCH`. source
Setup
The `flit init` command creates a `pyproject.toml` file by prompting for module information. source
Setup
The `flit init` command helps set up package information in a `pyproject.toml` file. source
Target packages
Flit focuses on pure Python packages that have no build steps. source
Version metadata
Flit reads the package version from its `__version__` attribute. source
Version metadata
Flit can obtain a package’s version from its `__version__` attribute. source

Checked against the maker's pages on 9 Oct 2026.