Skip to main content

Open Python docs in the browser.

Project description

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.

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

python-doc-2020.10.1.tar.gz (35.5 MB view details)

Uploaded Source

Built Distribution

python_doc-2020.10.1-py2.py3-none-any.whl (39.7 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file python-doc-2020.10.1.tar.gz.

File metadata

  • Download URL: python-doc-2020.10.1.tar.gz
  • Upload date:
  • Size: 35.5 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for python-doc-2020.10.1.tar.gz
Algorithm Hash digest
SHA256 b9b60e8a502d8d0b84b6a2315ac501eaf08bb4ee123b8116be31a60096cf2f7d
MD5 b81382509d313a4ba8894fffc8c65126
BLAKE2b-256 8a594d2b2d112c8afe570ff839e00dc52267f8821491cb10dc1c50985a2d24b9

See more details on using hashes here.

File details

Details for the file python_doc-2020.10.1-py2.py3-none-any.whl.

File metadata

  • Download URL: python_doc-2020.10.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 39.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for python_doc-2020.10.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dfe624340b95391795ababf3f7fb6e6e0583a13dd9d6258cc12c2b3346516261
MD5 d2eec2d7a94d064789a780fe1936b2fd
BLAKE2b-256 2861001fa29a67bab7946d0f6d77fad7aff79337885a1763239cf6aa0aecdffb

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