TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Griffe, load Python APIs, find breaking changes

3 点作者 Pawamoy10 个月前
Hey all, Griffe was already submitted two years ago on HN, but it nicely evolved since then so I figured I&#x27;d submit it again myself, especially since I just finished rewriting its documentation and reworking its API :)<p>Griffe is a Python tool and library to load Python APIs as whole program signatures, kinda. With this data, static site generators can generate API docs. Griffe itself can use the data to compare two versions of your API and find breaking changes. No excuses for not bumping your major semver version now!<p>Griffe is used by mkdocstrings (I&#x27;m the author too), and therefore indirectly used by FastAPI, Pydantic, and many other cool projects :)<p>The docs provide a lot of hints, advice, recommendations for public APIs, deprecations, and Python code generally. They somewhat come from my own experience, and not everyone might share my opinions: happy to discuss about all this!

暂无评论

暂无评论