Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chinese-comment-remover-0.0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file chinese-comment-remover-0.0.0.1.tar.gz.

File metadata

File hashes

Hashes for chinese-comment-remover-0.0.0.1.tar.gz
Algorithm Hash digest
SHA256 0f802daf06971a03833fc698e1e4514488ccbc182a380bba25da356d6752e86e
MD5 0b004733aa3f2cc88010ef6d0cb3c627
BLAKE2b-256 0e6d60cd31efb3c7bff1aabcb3c85d41b93fa1b22ec66f090e8b040350153679

See more details on using hashes here.

File details

Details for the file chinese_comment_remover-0.0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for chinese_comment_remover-0.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 977a7c8129bde2a8888f29f7674ea391e80fe8ebd63a099c080b9a50fc5dff5a
MD5 7dba7e3d86ebafb5aa1312f8d81466d2
BLAKE2b-256 ff3364bf13ad199cb834df4fad00d6888810fdc578c0698849ea1b19a172aa60

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page