Skip to main content

Like grep, but only searches through docstrings (in Python code).

Installation

From pip:

$ pip install --upgrade docgrep

Example

$ docgrep 'Python 3.4' .
./asyncio/futures.py:113: """This class is *almost* compatible with concurrent.futures.Future.

    Differences:

    - result() and exception() do not take a timeout argument and
      raise an exception when the future isn't done yet.

    - Callbacks registered with add_done_callback() are always called
      via the event loop's call_soon_threadsafe().

    - This class is not compatible with the wait() and as_completed()
      methods in the concurrent.futures package.

    (In Python 3.4 or later we may be able to unify the implementations.)
    """

Release files for docgrep 0.2

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

Source distribution (sdist)

Source distribution for docgrep 0.2
File Size Uploaded
docgrep-0.2.tar.gz 3.7 kB Details

Release files / docgrep-0.2.tar.gz

Download URL docgrep-0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0942dc016d89f0fdd7994a57782b8b7a76b86ffc4ea31a9f87c328fd05c45deb
BLAKE2b-256 checksum
How to use checksums
00dbcb159062989621dbe3e38296ddd0ed19ab3439a25452c6df98ea5dcdb048
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

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