{"id":22313601,"url":"https://github.com/nitsc/ni_2","last_synced_at":"2026-01-20T19:31:36.832Z","repository":{"id":246894596,"uuid":"824526707","full_name":"nitsc/Ni_2","owner":"nitsc","description":"宣传片首发地址：https://www.douyin.com/user/self?modal_id=7388399844714482978    这个程序是一个集成了多种功能的代码管理和转换工具，旨在为开发者提供简便高效的工作流程。通过命令行界面，用户可以轻松创建项目文件夹、生成和编辑.n文件，并将自然语言描述的程序转换为Python代码。特别之处在于，它利用先进的AI技术，支持用户使用详细严谨的自然语言编写程序，并将其发送给AI转换为Python语言，极大地提升了编程效率和便捷性。","archived":false,"fork":false,"pushed_at":"2024-10-02T08:05:40.000Z","size":11956,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T04:33:53.317Z","etag":null,"topics":["ai-program","ai-programmer","ai-programming","ai-programming-with-python","api","api-client","nlp","program","programming"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nitsc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-05T10:15:44.000Z","updated_at":"2024-10-27T10:51:56.000Z","dependencies_parsed_at":"2024-07-05T19:53:30.291Z","dependency_job_id":"5d6859f8-5519-451c-9d61-65ae23166829","html_url":"https://github.com/nitsc/Ni_2","commit_stats":null,"previous_names":["nitsc/ni_2"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nitsc/Ni_2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2FNi_2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2FNi_2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2FNi_2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2FNi_2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitsc","download_url":"https://codeload.github.com/nitsc/Ni_2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitsc%2FNi_2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28610606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-program","ai-programmer","ai-programming","ai-programming-with-python","api","api-client","nlp","program","programming"],"created_at":"2024-12-03T22:07:42.809Z","updated_at":"2026-01-20T19:31:36.814Z","avatar_url":"https://github.com/nitsc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"!!!恳请各位帮我打包一下成exe文件，我用pyinstaller打包的程序打开直接闪退，分析原因pyinstaller没有将zhipuai这类罕见库打包到exe中！！！\n\n概述:\n这个程序是一个集成了多种功能的代码管理和转换工具，旨在为开发者提供简便高效的工作流程。通过命令行界面，用户可以轻松创建项目文件夹、生成和编辑.n文件，并将自然语言描述的程序转换为Python代码。特别之处在于，它利用先进的AI技术，支持用户使用详细严谨的自然语言编写程序，并将其发送给AI转换为Python语言，极大地提升了编程效率和便捷性。\n\n主要特点:\n项目管理： 轻松创建项目文件夹和.n文件（Ni 语言的程序源文件），组织和管理代码文件更加简便。\n代码转换： 支持用户使用详细的自然语言描述程序，通过智谱AI或OpenAI的API，将自然语言内容转换为Python代码，减少了编写代码的时间和难度。\n文件操作： 使用记事本打开和编辑.n文件，方便进行内容修改和预览。\n脚本运行： 快速运行转换后的Python脚本，验证代码功能和效果。\n包管理： 生成并执行批处理文件，自动安装所需的Python包，确保开发环境的完整性。\n配置管理： 保存和加载API密钥及用户同意状态，支持清空和撤销同意操作，提供灵活的配置管理功能。\n\n使用方法:\n1.启动程序:\n运行程序后，程序会尝试加载API密钥和用户同意状态。\n如果用户未同意条款，会提示用户同意条款并输入API选择和API密钥。\n\n2.命令行操作:\ncheck+：显示程序信息。\ncreat+ project+ [路径] [项目名称]：在指定路径创建项目文件夹。\ncreat+ n+ [路径] [文件名]：在指定路径创建.n文件。\nopen+ [文件路径]：使用记事本（Notepad）打开指定路径的文件。\ntrans+ [文件路径]：转换指定路径的代码文件。用户可以编写详细的自然语言内容，然后使用此命令将其转换为Python代码。\nrun+ [文件路径]：运行指定路径的Ni脚本。\ninstall+ [包名]：安装指定的Python包。\nuninstall+ [包名]：卸载指定的Python包。\nup+：升级pip。\nblist+：列出安装了的python包。\nbshow+ [包名]：详细展示安装了的python包的信息\nclean+ key：清空API KEY配置文件。\nclean+ agree：撤销用户对条款的同意。\nexit+：退出程序。\n\n注意事项:\n用户需先同意条款并提供有效的API密钥。\n确保在执行文件操作和转换代码时提供正确的路径。\n确保已经安装python，pip，sys，os，subprocess，json，zhipuai,openai。\n编程时禁止使用含“python”和“`”的关键字，否则脚本可能无法正常运行。\n\n声明:\n本程序由中国初一学生开发，如有不足，请积极提交反馈，可以通过以下联系开发者：\n邮箱：dministrator1st1234567890dddaz@outlook.com, a111111111199999@outlook.com, kreantolittle2@outlook.com, zhoukreanto@gmail.com, 3792561886@qq.com, 3874057698@qq.com\nQQ: 3792561886, 3874057698\n个人网站（静态页面，用于发布本人的公告）：https://nitsc.github.io\n\n\nCopyright © NITSC，Dean of NITSC，周**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitsc%2Fni_2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitsc%2Fni_2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitsc%2Fni_2/lists"}