macOS
brew install coconutlocal Homebrew formula metadata
安装
brew install coconutlocal Homebrew formula metadata
nix profile install nixpkgs#coconutnixpkgs package indexes · coconut · 来源: raw.githubusercontent.com
概览
Simple, elegant, Pythonic functional programming
历史
Coconut is a Python-family functional programming language and compiler. Its official documentation describes it as a strict superset of Python syntax that compiles to Python, adding functional features while remaining close to the Python ecosystem.
The public GitHub repository was created in 2014, and the project positions itself as a language variant rather than a standalone runtime: Coconut source is compiled into Python code. The README and documentation emphasize GitHub development, PyPI hosting, and a language design centered on functional programming constructs such as pipes, pattern matching, partial application, and enhanced lambdas.
Coconut's adoption has been strongest in Python package and language-experiment circles rather than as a mainstream application runtime. Official install guidance leads with pip, while the Homebrew input records distribution through Homebrew and Nix, showing that it also reached system package-manager catalogs used by CLI-oriented developers.
Users install Coconut as a command-line compiler and run it to compile or execute Coconut source files. The official docs cover installation through pip, conda, and Homebrew, plus integrations for IPython/Jupyter, type checking, numpy, and xonsh.
For package nerds, Coconut is interesting as a small language toolchain that rides on Python packaging while also appearing in OS package managers. It shows the common pattern where an experimental language compiler starts with PyPI distribution and later becomes convenient to install through Homebrew or Nix for shell-first workflows.
安全态势
没有找到 coconut 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
coconut | cli | 全局可执行文件 | |
coconut-py3 | cli | 全局可执行文件 | |
coconut-py3-run | cli | 全局可执行文件 | |
coconut-py3.14 | cli | 全局可执行文件 | |
coconut-py3.14-run | cli | 全局可执行文件 | |
coconut-release | cli | 全局可执行文件 | |
coconut-release-run | cli | 全局可执行文件 | |
coconut-run | cli | 全局可执行文件 | |
coconut-v3 | cli | 全局可执行文件 | |
coconut-v3-run | cli | 全局可执行文件 | |
coconut-v3.2 | cli | 全局可执行文件 | |
coconut-v3.2-run | cli | 全局可执行文件 | |
coconut-v3.2.0 | cli | 全局可执行文件 | |
coconut-v3.2.0-run | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:coconut |
|---|---|
| 版本 | 3.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/coconut |
| 主页 | https://coconut-lang.org/ |
| 仓库 | https://github.com/evhub/coconut |
| 上游文档 | https://coconut-lang.org/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/06/f4/38f315a1d8568257a74fe482e925368a2ef4bccc9b1d5751f003570bccc5/coconut-3.2.0.tar.gz |
| 最后更新 | 2026-07-15T10:34:45Z |
| Pulse | updated |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | coconut |
| Version Scheme | 0 |
| Revision | 3 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
coconut
nix profile install nixpkgs#coconut来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.