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.1.tar.gz (15.6 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.1-cp313-cp313-win_amd64.whl (103.3 kB view details)

Uploaded CPython 3.13Windows x86-64

devops_analyzer-0.1.1-cp313-cp313-manylinux_2_34_x86_64.whl (109.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.1-cp313-cp313-macosx_10_15_universal2.whl (163.7 kB view details)

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

devops_analyzer-0.1.1-cp312-cp312-win_amd64.whl (103.3 kB view details)

Uploaded CPython 3.12Windows x86-64

devops_analyzer-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl (109.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.1-cp312-cp312-macosx_10_15_universal2.whl (163.7 kB view details)

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

devops_analyzer-0.1.1-cp311-cp311-win_amd64.whl (103.0 kB view details)

Uploaded CPython 3.11Windows x86-64

devops_analyzer-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl (108.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

devops_analyzer-0.1.1-cp311-cp311-macosx_10_15_universal2.whl (161.9 kB view details)

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

File details

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

File metadata

  • Download URL: devops_analyzer-0.1.1.tar.gz
  • Upload date:
  • Size: 15.6 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.1.tar.gz
Algorithm Hash digest
SHA256 c435781a0b21a29ced721f5602f4718ac4afec19d3dc317041b229745560cddc
MD5 6bdac2f8298eaa84dba1e62987e71f03
BLAKE2b-256 3675f48bea13c4383ed35a5a4b359a308dace9fb7d7f196541b8cfa56d551a48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a91bdc57718dcfcb92e85d155a0e42b18b344b628c21bb2713bd527fcac735f8
MD5 b6f5a45ca556aef263ebb51cc3cb4b37
BLAKE2b-256 046fb92d94fd35a354e926a37abca5c0a7da3e5b9daa3c8c9c71a3e635bf60be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4a1111ece2173f780ca3166d41cae6bcdf5429434cf4709a9ca89d8b9be397ef
MD5 69afafee9f500a8cf95b313659633296
BLAKE2b-256 e800d16fb6d74e0882e1bde8a45113faa241176951290b772596f8a09f63cf7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp313-cp313-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 164f0d6b52eacad8f75bc370b0d5399f9efc5e0f6ea0fcf9ff38c0e7fba77aa2
MD5 5c3ae8babf2520e90287a222f2b79c7d
BLAKE2b-256 8125ea6d339bfb3f13787830ddf2dd1f7780a35010fb2cac0888e57a8d3d97db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 849edfd0bbdbbcfa02203a1ec63702741c062ca15c83f1701943e846c8a92ddb
MD5 5d87da6d742c2595e710612083ff0fc3
BLAKE2b-256 13bc1fefb03664bf4708d2e8b38738eb24b8331c373c2ee600d989d7151c68a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7706cbe9adbcfac1a37510fa2a4ac4084bfab92e0e21b7cc9b2ec7155de82603
MD5 1ee7d9b819ad4af8834d4e59969fcb2a
BLAKE2b-256 1e92c245012ce683832dc5b4d81b0bef88907441ae458c76e8e957b70aa0f188

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 47397a05fe16894af333a0a727407686a4a12ea92f1cecfea6ada970d0c541e3
MD5 d5c41d727984c1e54ae6d064fc34f803
BLAKE2b-256 ac2e056d3792befe34f86a2912ea2002ea3e5c82d6aac034e958ce3652abdf0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3d086d5372ec8642167b3c6f8d57055eae4c80d5d6f858d7e622cb5082c1fdf2
MD5 240cc8d5e457b48611ec70fa126ec631
BLAKE2b-256 1d1ade5c60df1321953b55182b060415ff98b3be7f634c7328d8ac0b6c55319f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e8708a568b20889d5a483d4e73a10521adc014471538bb5559d15ccf0033767e
MD5 a34481ade906742082bcd9b587cb1a5a
BLAKE2b-256 c31a5545054f24ba140dec15a18dc900e00efb09d4b294f33eb9f3f7d0c0b272

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for devops_analyzer-0.1.1-cp311-cp311-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 60f5ba6cd8366881291091d82293527ca94cf5eb8766f8af31212a4daf65369c
MD5 62fd0b32e1c77e58df56878e0bb7475a
BLAKE2b-256 7f2b02688e687982d9237bdd8f90d8e84b4d517b07cd50d28e4b359497b54eb6

See more details on using hashes here.

Provenance

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