Skip to main content

扫描源码、提取代码块、大模型分析并生成 README.md

Project description

Devops Analyzer

扫描项目源码 → Tree-sitter 提取代码块 → 大模型分析 → 生成 README.md

安装

cd /path/to/Devops
conda activate devops
pip install -e .

# 使用智谱 AI 时额外安装
pip install zhipuai

首次使用:配置模型 API

必须先配置你自己的 API Key,再分析项目:

devops config

按提示选择提供商、输入 API Key 和模型名称。配置保存在 ~/.devops/config.json(仅当前用户可读)。

查看当前配置(Key 脱敏显示):

devops config --show

支持的模型提供商

提供商 provider 默认模型 说明
OpenAI openai gpt-4o-mini 官方或自定义 Base URL
智谱 AI zhipuai glm-4-flash pip install zhipuai
DeepSeek deepseek deepseek-chat OpenAI 兼容协议
Moonshot moonshot moonshot-v1-8k OpenAI 兼容协议

也可用环境变量覆盖(优先级低于配置文件):

export DEVOPS_PROVIDER=openai
export DEVOPS_API_KEY=sk-...
export DEVOPS_MODEL=gpt-4o-mini
export DEVOPS_BASE_URL=https://api.openai.com/v1   # 可选

分析项目

devops /path/to/your/project

# 或显式子命令
devops analyze /path/to/your/project

# 指定输出文件
devops /path/to/project -o README.md

# 临时覆盖模型(不改配置文件)
devops /path/to/project --provider deepseek --model deepseek-chat

命令一览

devops config              # 交互式配置 API
devops config --show       # 查看配置
devops <项目路径>          # 分析并生成 README.md
devops analyze <项目路径>
devops --help
devops --version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devops_analyzer-0.1.3.tar.gz (19.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

devops_analyzer-0.1.3-cp313-cp313-win_amd64.whl (107.6 kB view details)

Uploaded CPython 3.13Windows x86-64

devops_analyzer-0.1.3-cp313-cp313-manylinux_2_34_x86_64.whl (113.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.3-cp313-cp313-macosx_10_15_universal2.whl (167.8 kB view details)

Uploaded CPython 3.13macOS 10.15+ universal2 (ARM64, x86-64)

devops_analyzer-0.1.3-cp312-cp312-win_amd64.whl (107.6 kB view details)

Uploaded CPython 3.12Windows x86-64

devops_analyzer-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl (113.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.3-cp312-cp312-macosx_10_15_universal2.whl (167.7 kB view details)

Uploaded CPython 3.12macOS 10.15+ universal2 (ARM64, x86-64)

devops_analyzer-0.1.3-cp311-cp311-win_amd64.whl (107.2 kB view details)

Uploaded CPython 3.11Windows x86-64

devops_analyzer-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl (112.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.3-cp311-cp311-macosx_10_15_universal2.whl (166.0 kB view details)

Uploaded CPython 3.11macOS 10.15+ universal2 (ARM64, x86-64)

File details

Details for the file devops_analyzer-0.1.3.tar.gz.

File metadata

  • Download URL: devops_analyzer-0.1.3.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for devops_analyzer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 145b227327fac2d1613300c094954c2e58767f92d5072e001a679f768d5cb1e7
MD5 381dec52278c1504a8e2a1c78f84e973
BLAKE2b-256 ac6e5e17f7a65bacc57543e9f258330bcfa2de1672cfe5bd152cea15aab8c28c

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3.tar.gz:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 78e8be4f46e95cc7160cb77d933efa6d9cd5af611ff0008e5b3f68e5daefcbe4
MD5 2a3e80783b36254ff129b2995abdf187
BLAKE2b-256 58dc63a3746432f8b100309ac2d95bc6429a9f55ac856274d330208105e6efbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp313-cp313-win_amd64.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2118140704426ff6da5a15360c227c3e9f686ac589984807ff624f410d2dce4f
MD5 f6c986518b8614940dac755f0cbcd5d3
BLAKE2b-256 907f222ca24efb553e0b4c2fa6bb803fb4a7365d3bca6a4e7cce840b11db148b

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp313-cp313-manylinux_2_34_x86_64.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp313-cp313-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp313-cp313-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 f95284ac3a003e6713c8d6a14f578dfdeae34f95aef114fb93945ff94a97124f
MD5 41e7e5291eb7398fdba9d3c7807a1179
BLAKE2b-256 76db839e437959934244059f01d7e3b3d19bb2494b42f755720d544450c15125

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp313-cp313-macosx_10_15_universal2.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1aed540c57669167ddec8f6312bb4fb1303632a8a4fcc8e80fe25982b3d781a0
MD5 10fbbada736cd2c130bdf5f60b3ae837
BLAKE2b-256 b645d19a999c1375f905e88469dc7add7cfc75ec6c3161b0b17286ac3ebd798c

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp312-cp312-win_amd64.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9e6bd03311abd3ded191fc7772ce9e276b973227d8e7ee4f822b214276fa7720
MD5 4eb5ef93eca5f02725983863fa47b4d0
BLAKE2b-256 bf90bf5598e6f2371c652e214b3d3a72af0b7bcf819a437ada5acaa5b06c97f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp312-cp312-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 6e441e71dab50a55e02e21ac2bfc8b2cc5b2b2fc4aac1979a9d734edfe3ec337
MD5 4825e1f45a7ca1257b7295b7584bacde
BLAKE2b-256 d921b70bab4d020cf875134eb2d600ac965fdcfe53bf137e8d62f18b45c12403

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp312-cp312-macosx_10_15_universal2.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5884233fe6b175c71bbeb956261f3275bd3b8fcb00ef6c3320f4d1bfe19d293d
MD5 060aba0f8f79f95ef55714f281ce9c28
BLAKE2b-256 716d8d1616c2a23c9c77d9d094ad0f9f1b0b424fbaa78c4a853f6ed97838cee3

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp311-cp311-win_amd64.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4552d5f907286d877ed1805fc282b12c392cfdfc642c3388a2f701b2be444695
MD5 d5ed039c97d1e203ffd81de2fdaa4ab1
BLAKE2b-256 c190d47629694739fe18ca556ce8a696bd5c3c108b9f078db764b9115855c4ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devops_analyzer-0.1.3-cp311-cp311-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.3-cp311-cp311-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 328060e33d03aa0def703e896f3a5d1243ec3818c7b8f7ec815c4ddfcd16377c
MD5 3f75cfaf5bb0487c14b1dd885ec53330
BLAKE2b-256 9f072cdb0168251a2a3d774ae7e40cc163c263911adbde8442d1bc202407c54d

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.3-cp311-cp311-macosx_10_15_universal2.whl:

Publisher: release.yml on dadaozhichen/OpenDevOps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page