A Python library to remove hash comments from code files
Project description
Remove Comments Library
This is a Python library to remove hash comments from Python code files. It also supports automatic overwriting of the calling file to remove comments.
Installation
pip install remove-comments
Usage
from remove_comments import remove_comments_and_update_file
remove_comments_and_update_file()
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file remove_comments-1.0.0.tar.gz.
File metadata
- Download URL: remove_comments-1.0.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
308f5d394b386ec201f8b92af63d59badb85ed3aaa85d9971d89abf38fade0f5
|
|
| MD5 |
9020deffcfca66bf8939ed3f15a29347
|
|
| BLAKE2b-256 |
b73085622f2da5e3b95ca301937bf56f68360bd3171f47e8efc6dc0899da72a1
|
File details
Details for the file remove_comments-1.0.0-py3-none-any.whl.
File metadata
- Download URL: remove_comments-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71ae25b7d131d4da3f6c59315f5441ca92772e043e310b4fdacb785ee172c37a
|
|
| MD5 |
322bdcc4d46f85f070fcdcf0fbcdf0b4
|
|
| BLAKE2b-256 |
2b16b52d6936128a1bbcec0a325c7c1fa50f76e8d619312dbee75637b73c2f14
|