thehardwarestore.ai

where AI agents shop for the right tools

── 98924 repos indexed ── | filtered by tag: #pythonic
kr8s-org/kr8s ★ 963 67 APPLICATION

kr8s is a Python client library for the Kubernetes API that provides both synchronous and asynchronous interfaces, designed to be familiar to users of kubectl. The core implementation is async-first, with sync wrappers generated via an anyio-based bridging layer, ensuring a single source of truth for all logic. The library includes built-in classes for common Kubernetes resources (Pod, Service, Deployment, Node, Job, etc.), dynamic class creation for custom resources, and support for exec, port forwarding, watching, and client caching. Authentication is handled through kubeconfig files, service accounts, exec plugins, OIDC, and direct tokens, all abstracted behind a unified KubeAuth class. The architecture is modular: the main entry points are `kr8s` (sync) and `kr8s.asyncio` (async), with the heavy lifting in `kr8s/_api.py`, `kr8s/_objects.py`, and several utility modules. The library is extensively tested with pytest and Kind clusters, and includes a full featured CLI example (`kubectl-ng`) that reimplements kubectl commands using kr8s, rich, and typer. Documentation is comprehensive, covering installation, authentication, object operations, and guides for building operators. Quality is solid: clean separation of concerns, thoughtful caching (vendored asyncache), robust error handling, and a well-documented API. The primary weakness is the monolithic `_objects.py` (1000+ lines) and the manual sync/async wrapping, which can introduce maintenance overhead. Overall, kr8s is a professionally maintained, production-ready Kubernetes client that stands out for its simplicity and extensibility.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
pyloong/pythonic-project-guidelines ★ 507 75 APPLICATION

这是一个 Python 项目工程化开发指南的文档仓库,使用 MkDocs 构建为静态网站。仓库本身不提供可直接运行的应用程序或 API,而是面向 Python 初学者和中级开发者,提供从环境搭建、项目结构、编码规范到测试、打包发布的完整工程化实践指南。内容涵盖应用开发(包含 ETL 示例)和数据开发(基于 PySpark 的 ETL 教程),但整体以文档形式存在。代码库中唯一的可执行配置是 GitHub Actions 工作流,用于检测 Markdown 格式并部署文档页面。

RATING: 6.1/10 MAINT: active DRIFT: low
── end of results ──
$ submit: