Skip to main content

pkg-tui

一个用于管理本地包管理器的 Textual TUI 工具。

功能

  • 列出已安装的全局包
  • 查看可更新的包
  • 选中一个或多个包进行批量更新
  • 搜索包
  • 卸载包
  • 查看包详情

架构

pkg_tui/
├── models.py          # 跨管理器通用的数据模型
├── managers/
│   ├── base.py        # PackageManager 抽象基类 + 注册表
│   ├── npm.py         # npm 后端实现
│   └── __init__.py    # 自动注册所有管理器
├── screens/
│   ├── detail_screen.py   # 包详情模态框
│   └── confirm_screen.py  # 确认对话框
├── app.py             # 主 TUI 应用
└── app.tcss           # 样式

后端通过 PackageManager 抽象接口与 TUI 解耦, 新增包管理器只需实现该接口并通过 @register_manager 注册。

使用

pkg
# 或
python -m pkg_tui

Metadata

Release files for pkg-tui 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pkg-tui 0.0.1
File Size Uploaded Provenance Actions
pkg_tui-0.0.1.tar.gz 29.4 kB Without provenance Details for pkg_tui-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pkg-tui 0.0.1
File Interpreter ABI Platform Actions
pkg_tui-0.0.1-py3-none-any.whl Python 3 none any Details for pkg_tui-0.0.1-py3-none-any.whl

Total release size: 69.2 kB

Release files / pkg_tui-0.0.1.tar.gz

Download URL pkg_tui-0.0.1.tar.gz
Size 29.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ec740b9c2376be14de911377a2273721cf471eb3caf35df46f18cf5da8110348
BLAKE2b-256 checksum
How to use checksums
bc419fedc0883985a593f2975c547bb375eb04ebdcb2df2b1a80e7c20c3de5b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / pkg_tui-0.0.1-py3-none-any.whl

Download URL pkg_tui-0.0.1-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faf0de2ccd020f0daf0fec60aeda976157c627ef5f8d353a88b82ef2518ec4aa
BLAKE2b-256 checksum
How to use checksums
1cd4b88b60d34505a852c8548116f518e9cdf7a050b5e4bcebeb09b3c43026e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Security for pkg-tui 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page