Flit
The facts below are what the maker publishes about Flit, checked and dated. Our editors have not written about it yet.
The facts
Each one read from Flit's own pages, with the date it was checked.
What it does
- 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.checked 9 Oct 2026
- Build
- The `flit build` command builds wheel and source distribution files.checked 8 Oct 2026
- Builds
- The `flit build` command builds a wheel and source distribution, with an option to build either format alone.checked 9 Oct 2026
- Credential handling
- Flit tries to store upload passwords securely using the keyring library; without keyring, it prompts for a password for each upload.checked 9 Oct 2026
- Integrations
- Flit uses pip for installation and supports uploading to PyPI, TestPyPI, or another configured package index.checked 9 Oct 2026
- Intended use
- Flit focuses on pure Python packages with no build steps, such as compiling C code or bundling JavaScript.checked 9 Oct 2026
- Limit: build steps
- Flit cannot be used for packages that require a build step.checked 8 Oct 2026
- Limit: dependencies
- Flit does not manage dependencies, which must be added to `pyproject.toml` by hand.checked 8 Oct 2026
- 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.checked 9 Oct 2026
- Package contents
- Flit automatically includes subpackages and data files within a package.checked 8 Oct 2026
- Packaging
- Flit packages one importable module or package at a time and automatically includes its subpackages and package data files.checked 9 Oct 2026
- Publishing
- The `flit publish` command builds and uploads packages to PyPI or another configured package repository.checked 9 Oct 2026
- Purpose
- Flit is a simple way to put Python packages and modules on PyPI, aiming to reduce packaging effort and common mistakes.checked 9 Oct 2026
- Python requirement
- The Flit command line tool requires Python 3.checked 9 Oct 2026
- 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`.checked 9 Oct 2026
- Setup
- The `flit init` command helps set up package information in a `pyproject.toml` file.checked 9 Oct 2026
- Target packages
- Flit focuses on pure Python packages that have no build steps.checked 8 Oct 2026
- Version metadata
- Flit can obtain a package’s version from its `__version__` attribute.checked 9 Oct 2026
Where it runs
- Windows support
- The `--pth-file` install option works on Windows, where symlinks typically are not allowed.checked 8 Oct 2026


