Skip to main content

Find long comments and docstrings in a Python codebase.

In new and quickly-evovling projects, documentation often ends up in comments and docstrings rather than in formal docs. longstrings is a command line utility to find and emit these long comments for perusal.

Usage

usage: longstrings.exe [-h] [--min-length MIN_LENGTH] path

positional arguments:
  path                  Path to the file or directory

options:
  -h, --help            show this help message and exit
  --min-length MIN_LENGTH
                        How many characters does a comment have to be before it's considered 'long'

Examples

uvx longstrings ~/somefile.py
uvx longstrings ~/some_codebase/some_module --min-length 500

Release files for longstrings 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for longstrings 0.1.4
File Size Uploaded
longstrings-0.1.4.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for longstrings 0.1.4
File Interpreter ABI Platform
longstrings-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / longstrings-0.1.4.tar.gz

Download URL longstrings-0.1.4.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f9b3bdad087b53000eb8bf0841934197994abecd70aff0b8ec4517aae96e617d
BLAKE2b-256 checksum
How to use checksums
93750790fad60d53281edd6d13fc839a59183149df996e37573e610f864f0d2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.5

Release files / longstrings-0.1.4-py3-none-any.whl

Download URL longstrings-0.1.4-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0143b5aa91113e39b4b464b0bd5ff4a860ca13be534bc99512f9fa755fa4716a
BLAKE2b-256 checksum
How to use checksums
39d789ee170e850c048c9cd0846d8690409949ab1f615781863e2615c7367d04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.5

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page