A tool to remove comments [with Chinese] characters from Python files.
Project description
Chinese Comment Remover
A simple tool to remove all comments [with chinese character] from a source code file or a directory.
Installation
pip install chinese-comment-remover
Usage
# Remove Chinese comment in a file
remove-comment <file> -c
# Remove Chinese comment in a directory
remove-comment <directory> -c -r
# Remove All comments in a file
remove-comment <file>
# Remove All comments in a directory
remove-comment <directory> -r
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chinese-comment-remover-0.0.0.1.tar.gz
.
File metadata
- Download URL: chinese-comment-remover-0.0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f802daf06971a03833fc698e1e4514488ccbc182a380bba25da356d6752e86e |
|
MD5 | 0b004733aa3f2cc88010ef6d0cb3c627 |
|
BLAKE2b-256 | 0e6d60cd31efb3c7bff1aabcb3c85d41b93fa1b22ec66f090e8b040350153679 |
File details
Details for the file chinese_comment_remover-0.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: chinese_comment_remover-0.0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 977a7c8129bde2a8888f29f7674ea391e80fe8ebd63a099c080b9a50fc5dff5a |
|
MD5 | 7dba7e3d86ebafb5aa1312f8d81466d2 |
|
BLAKE2b-256 | ff3364bf13ad199cb834df4fad00d6888810fdc578c0698849ea1b19a172aa60 |