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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

For Python packages, file structure != API

32 点作者 benhoyt将近 2 年前

2 条评论

michalc将近 2 年前
You can also make a single file Python package that achieves the same API.<p><a href="https:&#x2F;&#x2F;www.stefaanlippens.net&#x2F;single-python-module-packaging-hatch.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.stefaanlippens.net&#x2F;single-python-module-packagin...</a> has info on how to do this (not my page, but seems clear)
seanthemon将近 2 年前
Funny enough, i&#x27;m a new pythonista and I have found this SO frustrating, this solves a lot of problems for me. But i&#x27;m wondering, could this be an anti-pattern for large code bases?
评论 #36548170 未加载