Skip to main content

Remove comments and docstrings from Python code.

Project description

commentsremover

Remove comments and docstrings from Python code.

Example:

python -m commentsremover filename.py --comments --docstrings

Include either the comments or docstrings arguments individually, or use both like in the above example.

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

commentsremover-1.0.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

commentsremover-1.0.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file commentsremover-1.0.0.tar.gz.

File metadata

  • Download URL: commentsremover-1.0.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for commentsremover-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0a795584fdbdd229f27800e138a7f0cf9fe07bee446b0d2382b9edb9757e3839
MD5 b3af25423e702cf575240e70342127ea
BLAKE2b-256 16687b4fdd95325ed55b7f7cc31f1ef11b6f57e0054b4f51a35deaf8da454541

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for commentsremover-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a00e7051697159b9aea2193ffe336687f5b10a601bb8891e611edff083ddd13
MD5 ea979bbd760b5319c6f8a81723908046
BLAKE2b-256 3467408c292a2ff3d49b2382099c75d809d297a42a611ffa844a00b2df1fab15

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