{"id":20128748,"url":"https://github.com/nriver/loguru-helper","last_synced_at":"2025-06-22T06:38:00.012Z","repository":{"id":78130307,"uuid":"439237243","full_name":"Nriver/loguru-helper","owner":"Nriver","description":"replace all print with logger.info for loguru module","archived":false,"fork":false,"pushed_at":"2022-01-19T09:52:33.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T21:31:24.590Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nriver.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}},"created_at":"2021-12-17T06:46:25.000Z","updated_at":"2023-09-08T18:29:39.000Z","dependencies_parsed_at":"2023-02-24T02:00:19.543Z","dependency_job_id":null,"html_url":"https://github.com/Nriver/loguru-helper","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Nriver/loguru-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Floguru-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Floguru-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Floguru-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Floguru-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nriver","download_url":"https://codeload.github.com/Nriver/loguru-helper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Floguru-helper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261249798,"owners_count":23130495,"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-11-13T20:29:20.363Z","updated_at":"2025-06-22T06:37:54.997Z","avatar_url":"https://github.com/Nriver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loguru-helper\n将python的print语句批量替换成loguru的logger.info\nreplace all print with logger.info for loguru module\n\n# 使用方法\n可以用[Release](https://github.com/Nriver/loguru-helper/releases)里面打包的exe\n把`.py`文件拖到exe上就会进行转换, 会在目标文件同目录下生成一个 `_mod.py` 结尾的文件\n\n# 使用命令行调用\n可以用命令行运行\n\n将同目录下的 `target_file.py` 转换成 `target_file_mod.py`\n```\npython3 loguru_helper.py\n```\n\n转换其它文件\n```\npython3 loguru_helper.py target_file.py\n```\n会在目标文件同目录下生成一个 `_mod.py` 结尾的文件\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Floguru-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnriver%2Floguru-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Floguru-helper/lists"}