Wheelfile
🔪🧀 API for creating and inspecting Python .whl files (wheels)
Install / Use
/learn @MrMino/WheelfileREADME
This library aims to make it dead simple to create a format-compliant .whl file (wheel). It provides an API comparable to zipfile. Use this if you wish to inspect or create wheels in your code.
For a quick look, see the example on the right, which packages the wheelfile module itself into a wheel 🤸.
What's the difference between this and wheel?
"Wheel" tries to provide a reference implementation for the standard. It is used by setuptools and has its own CLI, but no stable API. The goal of Wheelfile is to provide a simple API.
Wheelfile does not depend on Wheel.
Acknowledgements
Thanks to Paul Moore for providing his gist of basic metadata parsing logic, which helped to avoid many foolish mistakes in the initial implementation.
</td> <td style="border: none"> <br/> <a href="https://pypi.org/project/wheelfile/#history"> <img src="https://img.shields.io/pypi/v/wheelfile?style=for-the-badge"/> </a> <a href="https://wheelfile.readthedocs.io/en/latest/"> <img src="https://readthedocs.org/projects/wheelfile/badge/?version=latest&style=for-the-badge"/> </a> <br/> <br/>pip install wheelfile
from wheelfile import WheelFile, __version__
spec = {
'distname': 'wheelfile',
'version': __version__
}
requirements = [
'packaging >= 20.8',
]
with WheelFile(mode='w', **spec) as wf:
wf.metadata.requires_dists = requirements
wf.write('./wheelfile.py')
# 🧀
<br/>
<b> More examples:
<a href="https://wheelfile.readthedocs.io/en/latest/examples/buildscript.html"> buildscript </a> |
<a href="https://wheelfile.readthedocs.io/en/latest/examples/pep-517-builder.html"> PEP-517 builder </a>
</b>
<br/>
</td>
</tr>Related Skills
claude-opus-4-5-migration
106.4kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
345.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
50.6k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
