pkg.soopen package index

brew / 排名 6786

使用 Homebrew, apk, apt, Nix, pacman 安装 hy

查看 hy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hy

local Homebrew formula metadata

概览

软件包摘要

Dialect of Lisp that's embedded in Python

命令和别名

  • hy
  • hy2py
  • hyc

历史

项目历史与用法

Hy is a Lisp dialect embedded in Python. It reads Lisp syntax and transforms it into Python abstract syntax tree objects, giving users macros and Lisp syntax while keeping access to Python built-ins, libraries, packaging, and runtime behavior.

项目历史

The public repository was created in December 2012. Hy's README frames the project with the line that Lisp and Python should love each other, and explains the core technical idea: Hy code becomes Python AST, so Python's ecosystem remains available.

The 1.0.0 announcement in September 2024 described that release as arriving after nearly 12 years of on-and-off development and real-world use. The NEWS file states that Hy follows semantic versioning since 1.0.0, marking a stabilization point after the long 0.x period.

采用历史

Hy is distributed through Python packaging and also appears in system package managers such as Homebrew, Debian, Ubuntu, Arch, Alpine, and Nix. Its community surfaces include GitHub Discussions, Stack Overflow's `hy` tag, documentation on hylang.org, and a browser console for trying the language.

使用方式

Users run `hy` for a REPL, execute `.hy` programs with `hy myprogram.hy`, translate with `hy2py`, and compile with `hyc`. The homepage examples show Python-equivalent forms for assignment, sorting, functions, context managers, comprehensions, and macros.

为什么软件包爱好者会关心

Hy is interesting to package nerds because it is not a separate virtual machine or runtime island. It packages as a Python-hosted language that can import Python modules directly, which makes it easier to install experimentally while still offering Lisp macros and syntax.

时间线

  • 2012: Public GitHub repository created.
  • 2024: 1.0.0 released after nearly 12 years of development.
  • 2024: NEWS states semantic versioning begins with 1.0.0.
  • 2026: 1.3.0 release notes list support for Python 3.9 through Python 3.15.

Related projects

  • Hy is related to Python, Lisp-family languages, macro systems, Python AST tooling, PyPI packaging, and editor/REPL workflows for experimental languages.

来源

  • Hy homepage, README, NEWS, 1.0.0 announcement, repository metadata, and Homebrew package metadata were used.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hycli全局可执行文件
hy2pycli全局可执行文件
hyccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本1.3.1
管理器更新时间2026-08-01
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/hylang/hy

安装元数据

软件包元数据

软件包键brew:hy
版本1.3.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/hy
主页https://github.com/hylang/hy
仓库https://github.com/hylang/hy
许可证MIT
源码归档https://files.pythonhosted.org/packages/91/1e/de3ff93dcb16de04b12b570742e03e4d741106e9721c1a5a0bb53d450e08/hy-1.3.1.tar.gz
最后更新2026-08-01T18:08:24Z
Pulseupdated
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehy
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

hy 1.0.0-1

Lisp (s-expression) based frontend to Python (cmdline)

http://hylang.org/

sudo apt install hy
  • Section: python
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Hy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

hy-doc 1.0.0-1

Lisp (s-expression) based frontend to Python (documentation)

http://hylang.org/

sudo apt install hy-doc
  • Section: doc
  • Architecture: all
  • Source Package: hy
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Hy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-hy 1.0.0-1

Lisp (s-expression) based frontend to Python 3

http://hylang.org/

sudo apt install python3-hy
  • Section: python
  • Architecture: all
  • Source Package: hy
  • 5 依赖
  • normalized package name match
  • 匹配方式:Hy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-hy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hy

nix profile install nixpkgs#hy
  • normalized package name match
  • 匹配方式:Hy
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: hy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

hy 0.28.0-1

Lisp (s-expression) based frontend to Python (cmdline)

http://hylang.org/

sudo apt install hy
  • Section: universe/devel
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Hy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

hy-doc 0.28.0-1

Lisp (s-expression) based frontend to Python (documentation)

http://hylang.org/

sudo apt install hy-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: hy
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Hy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hy-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-hy 0.28.0-1

Lisp (s-expression) based frontend to Python 3

http://hylang.org/

sudo apt install python3-hy
  • Section: universe/python
  • Architecture: all
  • Source Package: hy
  • 5 依赖
  • normalized package name match
  • 匹配方式:Hy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-hy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

hy 1.1.0-r1

Dialect of Lisp that's embedded in Python

http://hylang.org/

sudo apk add hy
  • License: MIT
  • Architecture: x86_64
  • Source Package: hy
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hy-pyc 1.1.0-r1

Precompiled Python bytecode for hy

http://hylang.org/

sudo apk add hy-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: hy
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hy-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

hy 1:1.3.0-1

A dialect of Lisp that's embedded in Python

http://hylang.org/

sudo pacman -S hy
  • License: MIT
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Hy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: hy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

Combined YAML source

View the package source record on GitHub.

combined/hy.yml

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation