Skip to main content

python-doc

Open Python docs in the browser.

Background

  • Search engines still take you to Python 2.7 docs, and not the docs for the Python version you're using.
  • python-doc installs all docs on your machine, so you don't need an internet connection to view them.
  • You can also ask python-doc to take you to the docs.python.org website.

Inspired by rustup doc which opens docs associated with the installed Rust toolchain in your browser.

Installation

You can simply use pip to install python-doc:

$ pip install python-doc

Usage

You can open the main docs page for your Python version using:

$ python-doc

You can also go to a specific module's doc page using the -m option:

$ python-doc -m os

If you want to see the docs for a different Python version than your own, you can use the -py option:

$ python-doc -m os -py 3.6

To open docs on the docs.python.org website, you can use the -w option:

$ python-doc -m os -py 3.6 -w

To look at all the available options, you can check out the help using:

$ python-doc --help

Versioning

python-doc uses Calendar Versioning. For the available versions, see the tags on the GitHub repository.

License

This project is licensed under the Apache License, see the LICENSE file for details.

Metadata

Release files for python-doc 2020.10.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 python-doc 2020.10.1
File Size Uploaded
python-doc-2020.10.1.tar.gz 35.5 MB Details

Built distribution (wheel)

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

Total release size: 75.2 MB

Release files / python-doc-2020.10.1.tar.gz

Download URL python-doc-2020.10.1.tar.gz
Size 35.5 MB
Tags Source
SHA-256 checksum
How to use checksums
b9b60e8a502d8d0b84b6a2315ac501eaf08bb4ee123b8116be31a60096cf2f7d
BLAKE2b-256 checksum
How to use checksums
8a594d2b2d112c8afe570ff839e00dc52267f8821491cb10dc1c50985a2d24b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release files / python_doc-2020.10.1-py2.py3-none-any.whl

Download URL python_doc-2020.10.1-py2.py3-none-any.whl
Size 39.7 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
dfe624340b95391795ababf3f7fb6e6e0583a13dd9d6258cc12c2b3346516261
BLAKE2b-256 checksum
How to use checksums
2861001fa29a67bab7946d0f6d77fad7aff79337885a1763239cf6aa0aecdffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

2020.10.1 This release

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