pypi-server

Create Python packages and serve them via a local PyPI-compatible HTTP server.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Zurybr/lefarma-skills --skill pypi-server
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pypi-server
Source: https://github.com/Zurybr/lefarma-skills/tree/main/letta/benchmarks/trajectory-only/pypi-server
Command: npx skills add https://github.com/Zurybr/lefarma-skills --skill pypi-server

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a streamlined process for creating Python packages and serving them locally via a simple HTTP server, enabling offline or controlled package installation.

Core Features & Use Cases

  • Package Creation: Guides through building distributable Python packages (.tar.gz, .whl) using pyproject.toml.
  • Local PyPI Server: Facilitates setting up a local HTTP server to host these packages for pip install --index-url.
  • Use Case: Develop and test Python libraries in an environment without internet access, or manage internal company packages without relying on public repositories.

Quick Start

Build your Python package and then start a local HTTP server in the directory containing the package files.

Frequently Asked Questions about pypi-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I serve Python packages locally for pip install?▼

To serve Python packages locally, build your package into `.tar.gz` or `.whl` files, then start a local HTTP server in that directory and use `pip install --index-url` pointing to the server address.

Can I use pip to install packages from a local server without internet access?▼

Yes, you can use `pip install --index-url` to install packages from a local HTTP server. This creates an offline development environment where you host built package files locally for controlled access.

How do I build a Python package for local distribution?▼

You build a Python package for local distribution by configuring `pyproject.toml` and running build commands to generate distributable `.tar.gz` and `.whl` files in your output directory.

What is the best way to manage internal company Python packages without public repositories?▼

The best way to manage internal Python packages without public repositories is to build them locally and serve them via a local PyPI-compatible HTTP server. This enables controlled package distribution using standard `pip` commands.

Do I need any external dependencies to set up a local PyPI server?▼

No external dependencies are required. You can set up a local PyPI server using Python's built-in `http.server` module to host your built package files for local network distribution.

How do I verify that my local Python package server is working correctly?▼

You verify your local Python package server is working by running `pip install --index-url` with your server's address to test fetching and installing the hosted package files from the local HTTP server.