{"id":22282806,"url":"https://github.com/zrong/imacrosbuilder","last_synced_at":"2025-03-25T19:45:23.379Z","repository":{"id":139699421,"uuid":"267279548","full_name":"zrong/imacrosbuilder","owner":"zrong","description":"用于将结构化表格转换成 iMacros 的宏。","archived":false,"fork":false,"pushed_at":"2020-05-27T12:55:18.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T17:38:20.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zrong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-05-27T09:40:09.000Z","updated_at":"2020-05-27T12:55:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f0a32fc-6ad2-4976-ac83-a4951e9fbf19","html_url":"https://github.com/zrong/imacrosbuilder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrong%2Fimacrosbuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrong%2Fimacrosbuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrong%2Fimacrosbuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrong%2Fimacrosbuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zrong","download_url":"https://codeload.github.com/zrong/imacrosbuilder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245534595,"owners_count":20631287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-03T16:36:14.460Z","updated_at":"2025-03-25T19:45:23.355Z","avatar_url":"https://github.com/zrong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 第一种用法\n\n用于将结构化表格转换成 [iMacros](https://imacros.net/) 的宏\n\nimacros 用于 http://www.hbwhrd.org/index.aspx 网站的税务研发加计扣除。\n\n使用说明：\n\n1. 登录 http://www.hbwhrd.org/index.aspx 系统，并打开提交页面，生成\n2. 按照下面的 CSV 格式创建 CSV，保存为 `Q1.csv/Q2.csv/Q3.csv` ，每个季度一个 CSV 文件；\n3. 运行 convert.py 生成 `Q1.macro/Q2.macro/Q3.macro` ；\n4. iMacros 免费版限制 50 行宏，因此需要手动分割文件，修改 convert.py 即可。\n\n\n# 第二种用法\n\n使用 Chrome 的 Tampermonkey 插件，加入 hbwhrd-UpdateProject.user.js 即可在界面中增加一个TextArea，将 CSV 内容粘贴其中即可（不用包含 CSV TITLE）。\n\n\n``` CSV\nNUM,xingming:TEXT,shenfenzheng:TEXT,xingbie:SELECT,nianling:TEXT,xueli:SELECT,zhuanye:TEXT,cszy:TEXT,zhicheng:TEXT,bumen:TEXT,cdgz:TEXT\n1,张三,422201200003030033,男,20,本科,软件工程,软件测试,产品经理,产品组,负责人\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrong%2Fimacrosbuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzrong%2Fimacrosbuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrong%2Fimacrosbuilder/lists"}