Skip to main content

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


Download files

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

Source Distribution

remove_comments-1.0.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remove_comments-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for remove_comments-1.0.0.tar.gz
Algorithm Hash digest
SHA256 308f5d394b386ec201f8b92af63d59badb85ed3aaa85d9971d89abf38fade0f5
MD5 9020deffcfca66bf8939ed3f15a29347
BLAKE2b-256 b73085622f2da5e3b95ca301937bf56f68360bd3171f47e8efc6dc0899da72a1

See more details on using hashes here.

File details

Details for the file remove_comments-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for remove_comments-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71ae25b7d131d4da3f6c59315f5441ca92772e043e310b4fdacb785ee172c37a
MD5 322bdcc4d46f85f070fcdcf0fbcdf0b4
BLAKE2b-256 2b16b52d6936128a1bbcec0a325c7c1fa50f76e8d619312dbee75637b73c2f14

See more details on using hashes here.

Supported by

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