TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

For Python packages, file structure != API

32 pointsby benhoytalmost 2 years ago

2 comments

michalcalmost 2 years ago
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)
seanthemonalmost 2 years ago
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 未加载