$npx skillfedfor your agent

flit

A simple packaging tool for simple packages.

Worth itPyPI Python ModulesReleased Aug 202617.2M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flit-4.0.2-py3-none-any.whl
v4.0.2 · released 2026-08-04 · Python >=3.8 · 5 runtime deps: flit_core, requests, docutils, tomli-w, pip

Yes. Flit is actively maintained, has no known vulnerabilities, and is widely used (top 5000 on PyPI). Install it if you're publishing a straightforward Python package and want to avoid setuptools complexity; it's particularly valuable for single-module projects or when you prefer declarative metadata in pyproject.toml.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; your module's docstring must start with a one-line summary and include a __version__ attribute.
  • Low friction installation with a pure-Python wheel.
  • Actively maintained with a recent release (10 days old) and steady commit activity.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use Flit in commercial and proprietary projects without restriction, though you must include the license notice.

last release 2026-08-04 (10 days) · last repo commit 2026-08-11 · 2,252 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 17,196,538 downloads/mo, #1,128 on PyPI

Verify before relying

pip install flit

flit init  # in your module directory
flit publish  # upload to PyPI
  • Whether Flit supports building binary extensions or only pure-Python packages
  • Performance characteristics when packaging large projects with many subpackages
Same gist for agents: .md · .json

What it is and what it does

Flit is a packaging tool designed to reduce friction when publishing Python modules and packages to PyPI. It extracts package metadata—name, version, and description—directly from your module's docstring and __version__ attribute, eliminating the need to maintain that information in separate configuration files. You initialize a project with `flit init` to generate a minimal pyproject.toml, then use `flit publish` to upload to PyPI.

The tool is aimed at developers who want a straightforward path from a working module to a published package without wrestling with setuptools configuration. It handles wheel building automatically and can also install packages locally for development. Flit packages a single importable module or package at a time, automatically including all subpackages and data files within it.

Use it for

  • Publishing a simple single-file Python module to PyPI with minimal metadata boilerplate
  • Setting up a new package project quickly using flit init to generate pyproject.toml
  • Installing your own package locally in editable mode during development
  • Converting legacy flit.ini configurations to modern pyproject.toml format
  • Distributing Python 2 modules that remain importable on Python 3

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Flit is actively maintained, has no known vulnerabilities, and is widely used (top 5000 on PyPI). Install it if you're publishing a straightforward Python package and want to avoid setuptools complexity; it's particularly valuable for single-module projects or when you prefer declarative metadata in pyproject.toml.

Install

flit on PyPI

Before you install

Low friction installation with a pure-Python wheel. Actively maintained with a recent release (10 days old) and steady commit activity. Depends on flit_core, requests, docutils, tomli-w, and pip—all standard ecosystem tools.

Requires Python 3.8 or later; your module's docstring must start with a one-line summary and include a __version__ attribute.

License in practice

BSD-3-Clause is permissive; you can use Flit in commercial and proprietary projects without restriction, though you must include the license notice.

Quickstart

pip install flit

flit init  # in your module directory
flit publish  # upload to PyPI

Verify before relying

  • Whether Flit supports building binary extensions or only pure-Python packages
  • Performance characteristics when packaging large projects with many subpackages

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
flit_corerequestsdocutilstomli-wpip
MaintenanceActively maintained 10 days since the last release
Last repo commit
First released
Downloads17,196,538 / month, #1,128 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Evidence: flit-4.0.2-py3-none-any.whl

Tags

Capabilities
python package publishing toolpypi packaging simplifiedflit packagingpython module to pypiminimal packaging setuppython package distributionpyproject.toml builder
Topics
packagingpypi-publishingbuild-tool

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python package publishing tool”

  • flitFlit is a Python packaging tool that simplifies creating and…
  • hatchHatch is a modern Python project manager that handles building,…
  • rsconnect-pythonrsconnect-python is a command-line tool for deploying applications…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also flit-core · flit-scm · jupyter-packaging · poetry · sampleproject · hatchling · single-source · pkg-about · devpi-client · dprint-py