Metadata-Version: 2.4
Name: hclone
Version: 0.1.0
Summary: Restore Git repositories from Software Heritage snapshots
Author: hclone contributors
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: build>=1.4.0

# hclone

从 Software Heritage 的永久链接或 snapshot SWHID 恢复 Git 仓库。

## 安装（本地构建后）

```bash
pip install dist/hclone-0.1.0-py3-none-any.whl
```

## 使用

```bash
hclone "https://archive.softwareheritage.org/swh:1:snp:1930ecd7bcc8c8666c721c4def3944c98d650abf/" sqlite-s3vfs
# 或
hclone "swh:1:snp:1930ecd7bcc8c8666c721c4def3944c98d650abf" sqlite-s3vfs
```

## 参数

- `--wait`：等待打包完成的最长秒数（默认 300）
- `--interval`：轮询间隔秒数（默认 5）

## 依赖

- git
- Python 3.10+
