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.2.tar.gz (16.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.2-cp313-cp313-win_amd64.whl (104.1 kB view details)

Uploaded CPython 3.13Windows x86-64

devops_analyzer-0.1.2-cp313-cp313-manylinux_2_34_x86_64.whl (110.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.2-cp313-cp313-macosx_10_15_universal2.whl (164.5 kB view details)

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

devops_analyzer-0.1.2-cp312-cp312-win_amd64.whl (104.1 kB view details)

Uploaded CPython 3.12Windows x86-64

devops_analyzer-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl (109.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.2-cp312-cp312-macosx_10_15_universal2.whl (164.4 kB view details)

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

devops_analyzer-0.1.2-cp311-cp311-win_amd64.whl (103.7 kB view details)

Uploaded CPython 3.11Windows x86-64

devops_analyzer-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl (109.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.2-cp311-cp311-macosx_10_15_universal2.whl (162.7 kB view details)

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

File details

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

File metadata

  • Download URL: devops_analyzer-0.1.2.tar.gz
  • Upload date:
  • Size: 16.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.2.tar.gz
Algorithm Hash digest
SHA256 d0a05c2bf876f1b69f913270a920ea295887459ebe0773361837888d429b252e
MD5 1c9239ee920be535820a5f4ca6ce39b8
BLAKE2b-256 c693dfa81cb44a5b2899c070ffdec72e6f0edbe82614e7e9947079d6a1b296e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2.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.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9a4a810b59465f2ea6ff38f2039cded5131f8a2fd1808cdcf0cbb80d96ffa66f
MD5 39049b7e70b4db048c2b6d2f2b31015a
BLAKE2b-256 789888fe50bb8be4bb662351393895d9f7e02bfcc259a0e29057e6db80bc21ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6a1356f0b9c073a0466409102ded20f9f29e9ef92c1642ea777485aec610ca27
MD5 50ffe8ff126a24bd472a5b8306a46957
BLAKE2b-256 d4f1fbeb8ee8e51574f0ba1e863f37c80d594c4cf07b5399e48ab007a5e68500

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp313-cp313-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp313-cp313-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 0ce78fa9d3f60310c3a87ba5b34538e66c81b06a31c5b7fc7d31bf1b09938506
MD5 5416ceaceaf1352005e4dd6c2896ed1f
BLAKE2b-256 50661551e49ac39b92badee66125421c2d4caff84d32db69f822fba51d5da709

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 895264b8cf21abf996c9f8f881657f6586fedc0d42eed0ff711d8b39bac4437f
MD5 ce8dd2d5415fa7af55999c1796f633e5
BLAKE2b-256 7eb0d7c2ea42b97a4d0f7b234fae73c874fa1f6d82d56b82bb672848c4290aad

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c7bdbf995b2c4c87a64c5c4524ff4c0c8468533267850ec551373e329c1cbfc9
MD5 4651546d81534ddbd7f3b7fd2e93fa40
BLAKE2b-256 f0207161b0d763866370d6a2dd388c509062de4847d939db801e3587faa23f11

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp312-cp312-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 7553507dfc4b90463c0538e68bd7b65516ce3f92ce055aedd0a8280702888ef8
MD5 d9e1e8067f6479776fd1c4e80fda88bf
BLAKE2b-256 dd8018b3b5a7eb53d1d65f7baea67662d5a4cff5c7b1685ddf14476bd8f40370

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d0f8aa6baca917f7652aaaf9c7f4254285af937eeafd5b0b02e507bb689e4781
MD5 207d703138ac1cd86a15b485e0a6534d
BLAKE2b-256 c0c68c982ce1769345e6dc782eb3ebec8aa9919de854fdde1eb76f3730483e62

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 699acad56a887ce109ee98c0abc7926e23b89916282529227cdcdf6219129d79
MD5 b2ed12d0bfb19a684a6b3ac552e77946
BLAKE2b-256 75e3f39a1e2c607872871752a9bbd604ddd215b729f11cafe441591f8adbc9b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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.2-cp311-cp311-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for devops_analyzer-0.1.2-cp311-cp311-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 5e17b2f0ef5ef1652340c7a3092cabd0404709c10e347e400b98fa5b15fa54fb
MD5 e935e78b6e53562d29f29591b5c41bc1
BLAKE2b-256 5d5e7b12c7a6c29c1d663dede8e3139620eec00005aac188a21d81e5fae9d618

See more details on using hashes here.

Provenance

The following attestation bundles were made for devops_analyzer-0.1.2-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