Skip to main content

hello-world-pro-max 😈

一个只会打印 Hello, world 的包,却带着 65 个依赖的行李。

这是什么

这是世界上最诚实的"大型"项目:

  • 代码:5 行。
  • 功能:1 个。
  • 依赖:65 个(不含 [extras] 里的 9 个开发工具)。
  • 数据库迁移:有 alembic,但没有数据库。
  • Web 框架:有 fastapi、flask、django,但没有 Web 服务。
  • 动画引擎:有 manim,但没有动画。
  • AI:有 openai 和 g4f,但没有智能。
  • Jupyter 全家桶:有,但没人知道为什么。

安装

pip install hello-world-pro-max

如果你的机器上还没有这 65 个依赖,pip 会非常热情地帮你把半个 PyPI 搬回家。 如果你只是想看看这个包,而不想真的下载半个互联网:

pip install --no-deps hello-world-pro-max

(装完之后你会发现,--no-deps 才是这个包的正确打开方式。)

想要更多依赖?还有一层可选依赖:

pip install "hello-world-pro-max[extras]"

使用

import hello_world_pro_max

hello_world_pro_max.hello()

或者:

python -m hello_world_pro_max
hello-world-pro-max

输出:

Hello, world

全部源代码

MESSAGE = "Hello, world"


def hello() -> None:
    print(MESSAGE)

真的,就这些。pyproject.toml 比源代码长 20 倍。

依赖用途说明(声称)

依赖 用途
numpy 为 "Hello" 和 ", world" 之间的空格提供数值稳定性
pandas 将单行输出组织为 DataFrame,以便不查看它
manim 如果 hello world 需要 3D 动画,我们已就绪
django 为未来可能出现的第 2 个函数预留的 Web 框架
openai 自动生成 "Hello, world" 的替代文案(暂未启用)
hypothesis 对 MESSAGE == "Hello, world" 做属性测试,以防它哪天变了
yt-dlp 下载关于 Hello, world 的教程视频(暂未启用)
kivy 为移动端 Hello, world 布局做好准备

(以上用途均为虚构。真实的用途是:让 pip install 的进度条显得物超所值。)

为什么?

因为可以。

License

MIT

Metadata

Release files for hello-world-pro-max 0.1.0

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

Source distribution (sdist)

Source distribution for hello-world-pro-max 0.1.0
File Size Uploaded Provenance Actions
hello_world_pro_max-0.1.0.tar.gz 5.5 kB Without provenance Details for hello_world_pro_max-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hello-world-pro-max 0.1.0
File Interpreter ABI Platform Actions
hello_world_pro_max-0.1.0-py3-none-any.whl Python 3 none any Details for hello_world_pro_max-0.1.0-py3-none-any.whl

Total release size: 10.6 kB

Release files / hello_world_pro_max-0.1.0.tar.gz

Download URL hello_world_pro_max-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6925b57400e9779bee791677ea729bf00eaca638145d570a106aec037adf60db
BLAKE2b-256 checksum
How to use checksums
7675ae588cf7f8673b9744d52e61448faaf48defd8e0d1760f991dc7565b50e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / hello_world_pro_max-0.1.0-py3-none-any.whl

Download URL hello_world_pro_max-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d97b9be749dafced9563ad431d96d33e2435e42e56debbb95ba0c340b639580
BLAKE2b-256 checksum
How to use checksums
581872822c473b470b85c9739cd8abe7f48d839ca368cea8ec78bc55789519d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for hello-world-pro-max 0.1.0

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.

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