Skip to main content

hlp

Get Python help from the command-line.

terminalcast

Setup

pip install hlp

To enable autocompletion, put the following in your shell's init script:

eval "$(hlp --autocomplete-init=bash)"

Usage

hlp part [parts ...]

Where part and parts combined form a Python package, module, or class name. When executed, hlp runs the help() built-in function on the combined parts.

For example:

hlp http
hlp http.server
hlp http server
hlp http server SimpleHTTPRequestHandler

hlp autocompletes package, module, and class names.

hlp provides help for the Python environment it is executed under. To get help for a different environment, install help into it. Only one user-level install is supported. If more are required, it may be better to just use path/to/python -m pydoc.

Features

  • Module and class name autocompletion (in bash)
  • A few less characters than python -m pydoc

Development

Tests/Linters

Install nox and run it in the root of the repository.

Release

  1. Identify commit to promote artifacts for, it must have a successful build with artifacts pushed to S3.
  2. Locally tag commit with annotated tag.
  3. Push tag to repo.
  4. Create PR to bump version.

Release files for hlp 0.2.1

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

Source distribution (sdist)

Source distribution for hlp 0.2.1
File Size Uploaded
hlp-0.2.1.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hlp 0.2.1
File Interpreter ABI Platform
hlp-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 12.9 kB

Release files / hlp-0.2.1.tar.gz

Download URL hlp-0.2.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
363d0747ab27289992627a3f299e67a61a80757f2bf0da2e459d500c77a02614
BLAKE2b-256 checksum
How to use checksums
9b755266f4520954b78790e41b9c478522111ffafd91745979f29e2bf07a5175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / hlp-0.2.1-py2.py3-none-any.whl

Download URL hlp-0.2.1-py2.py3-none-any.whl
Size 7.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
acaf2ae8fc9ee594200d81b30e61269afd2964831443a3305385bca1b4e16dd6
BLAKE2b-256 checksum
How to use checksums
13149d850f268409961f646b95fa61cf46ae8b9a197724e91360a5332d74898e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

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