Flit

Use this skill when the user wants to build or publish Python packages to PyPI, or initialize a new Python project with modern packaging.

javimosch 78acca8 817 B Updated

File contents

flit Plugin

Simple way to build and publish Python packages to PyPI.

Commands

Build

  • flit build run — Build a Python package

Publish

  • flit publish run — Build and publish to PyPI

Init

  • flit init run — Initialize a new Python package

Usage Examples

  • "Build this Python package"
  • "Publish to PyPI"
  • "Initialize a new Python project"

Installation

pip install flit

Examples

# Build package
flit build

# Publish to PyPI
flit publish

# Publish to test PyPI
flit publish --repository testpypi

# Initialize new project
flit init

# Install in development mode
flit install

javimosch/supercli/tree/main/plugins/flit/skills/quickstart commit 78acca823b

Frequently asked questions

npx skillmds@latest add javimosch/flit