Skip to main content

crme

使用本工具即表示您已阅读、理解并同意以下条款:

  1. 本工具生成的代码由 AI 自动生成,可能存在错误、安全漏洞、恶意逻辑或版权问题。
  2. 您必须自行审查、测试、修改并确认代码安全后方可使用。
  3. 作者不对任何直接或间接的损失(包括但不限于数据丢失、系统损坏、法律纠纷)承担责任。
  4. 您输入的代码将经由 API 发送给第三方 AI 服务商(如 OpenAI),请勿输入任何敏感信息
  5. 本工具不存储、不收集、不上传您的本地文件内容,但无法控制 AI 服务商的数据处理行为。

如不同意以上条款,请立即停止使用并卸载本工具。


AI 驱动的 Python 文件转模块工具。
把你的 .py 脚本拖进来,AI 自动生成完整的模块结构(__init__.pycore.pysetup.pyREADME.md)。

安装

pip install crme

使用

  1. 配置 API(以 OpenAI 为例)
crme set api https://api.openai.com/v1/chat/completions
crme set key sk-xxx
crme set model gpt-3.5-turbo
crme set dir ~/my_modules
  1. 转换模块
crme my_script.py mymodule
  1. 查看配置
crme show
  1. 重置配置
crme reset

安全审计流程

· 静态扫描(危险函数 / 密钥模式) · AI 审计(只看结构,不看原始代码,防策反) · 代码预览 · 用户最终确认(y / n / v)

依赖

· shiroko_netai · text_discoloration

开源协议

MIT

作者

shiroko

Release files for Creation-module 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Creation-module 2.2.1
File Size Uploaded
creation_module-2.2.1.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Creation-module 2.2.1
File Interpreter ABI Platform
creation_module-2.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / creation_module-2.2.1.tar.gz

Download URL creation_module-2.2.1.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fb56234183be11eed23b5fa2e57e6330bd0ee07b26f4f3b16e9330a3c52da7f7
BLAKE2b-256 checksum
How to use checksums
9fb856ed4833a86c6149de0515c15eb233449cb359a4f7431a45a7c74cb70a76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / creation_module-2.2.1-py3-none-any.whl

Download URL creation_module-2.2.1-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09e772d91238f29c27707e6cabeac9d525184706b190e70390dc595355b662ff
BLAKE2b-256 checksum
How to use checksums
1f4578917048bac9795bc38668a5e70e91038e3eeaf2bc7f8d82aa9610bf8fbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page