{"id":46135885,"url":"https://github.com/embernoglow/rust-demo---python-comments-remover-","last_synced_at":"2026-03-02T05:01:34.357Z","repository":{"id":324098603,"uuid":"1095962370","full_name":"EmberNoGlow/Rust-demo---Python-Comments-Remover-","owner":"EmberNoGlow","description":"Again Downloaded a python repository with 10k lines of comments and got confused? Remove them with the Comments Remover!","archived":false,"fork":false,"pushed_at":"2025-11-13T20:08:25.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-13T21:05:54.786Z","etag":null,"topics":["application","clean","clean-code","cleaner","cmd","comments","demo","developer-tools","fast","learning","presentation-tools","programming","python","regex","rust","string","text","tool","useful","utility"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmberNoGlow.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":"2025-11-13T18:48:05.000Z","updated_at":"2025-11-13T20:08:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/EmberNoGlow/Rust-demo---Python-Comments-Remover-","commit_stats":null,"previous_names":["embernoglow/rust-demo---python-comments-remover-"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/EmberNoGlow/Rust-demo---Python-Comments-Remover-","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberNoGlow%2FRust-demo---Python-Comments-Remover-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberNoGlow%2FRust-demo---Python-Comments-Remover-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberNoGlow%2FRust-demo---Python-Comments-Remover-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberNoGlow%2FRust-demo---Python-Comments-Remover-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmberNoGlow","download_url":"https://codeload.github.com/EmberNoGlow/Rust-demo---Python-Comments-Remover-/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmberNoGlow%2FRust-demo---Python-Comments-Remover-/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29993026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["application","clean","clean-code","cleaner","cmd","comments","demo","developer-tools","fast","learning","presentation-tools","programming","python","regex","rust","string","text","tool","useful","utility"],"created_at":"2026-03-02T05:01:33.508Z","updated_at":"2026-03-02T05:01:34.351Z","avatar_url":"https://github.com/EmberNoGlow.png","language":"Rust","readme":"# Comments Remover\n\nEffortlessly clean up your Python code!\n\n[![CC0](https://img.shields.io/badge/CC0-Public%20Domain-brightgreen)](https://creativecommons.org/publicdomain/zero/1.0/)\n[![Rust](https://img.shields.io/badge/Rust-1.91-orange)](https://www.rust-lang.org/)\n[![Cargo](https://img.shields.io/badge/cargo-red)](https://crates.io/)\n[![GitHub Stars](https://img.shields.io/github/stars/EmberNoGlow/Rust-demo---Python-Comments-Remover-?style=social)](https://github.com/EmberNoGlow/Rust-demo---Python-Comments-Remover-/stargazers)\n\n\nComments Remover is a small, yet powerful, utility written in **Rust** for the primary purpose of **removing comments from Python scripts**. Whether you're decluttering a large codebase, preparing code for presentations, or simply want a cleaner view of the logic, this tool is designed to help.\n\n### Purpose \u0026 Technology\n\n*   **Educational Focus:** Developed with education in mind, this project demonstrates practical application of string manipulation and regular expressions in Rust.\n*   **Implementation:** The tool is built entirely in Rust and leverages the power of **Regular Expressions (Regex)** to accurately identify and remove various comment types.\n*   **Supported Comment Types:**\n    *   Single-line comments (`# ...`)\n    *   Multi-line string literals used as comments (`\"\"\" ... \"\"\"` and `''' ... '''`)\n\n### Why Use Comments Remover?\n\n*   **Improved Readability:** Focus on the core Python logic without the distraction of comments.\n*   **Code Streamlining:** Quickly prepare code for sharing, documentation, or specific processing steps.\n*   **Learning Rust:** A hands-on example of building a command-line utility in Rust.\n\n### Getting Started\n\n#### Building the Project\n\nTo build the Comments Remover yourself, you'll need Rust and Cargo installed.\n1.  Clone this repository:\n    ```bash\n    git clone https://github.com/EmberNoGlow/Rust-demo---Python-Comments-Remover-.git\n    cd comments-remover\n    ```\n2.  Compile the project:\n    ```bash\n    cargo build\n    ```\n\n#### Using Pre-compiled Binaries\n\nFor immediate use, you can download a pre-compiled executable from the [releases](https://github.com/EmberNoGlow/Rust-demo---Python-Comments-Remover-/releases) page of this repository.\n\n### Run\nCompile and run the program. You'll see a command prompt waiting to enter the path to your python script where you want to remove comments. Paste the path, and then he will ask for the path to save the file. Specify it. Press enter. If everything went well, the program will display \"Success\", close, and you will have a clean python file without comments!\n\n### License\n\nThis project is proudly licensed under the **Creative Commons Zero (CC0) License**.\nThis means you can use, copy, modify, distribute, and perform the work, even for commercial purposes, all without asking permission. It's dedicated to the public domain.\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembernoglow%2Frust-demo---python-comments-remover-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembernoglow%2Frust-demo---python-comments-remover-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembernoglow%2Frust-demo---python-comments-remover-/lists"}