Skip to main content

Open Python docs in the browser.

Project description

python-doc

Open Python docs in the browser.

Why?

  • Google still shows Python 2.7 doc links in search results.
  • Inspiration from rustup doc which opens docs associated with the installed Rust toolchain.
  • You don't need an internet connection to view docs as python-doc installs them on your machine.

Installation

You can simply use pip to install python-doc:

$ pip install python-doc

Usage

You can open the main page associated with your Python version using:

$ python-doc

You can also go to a specific module's 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.9.30a2.tar.gz (35.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file python-doc-2020.9.30a2.tar.gz.

File metadata

  • Download URL: python-doc-2020.9.30a2.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.9.30a2.tar.gz
Algorithm Hash digest
SHA256 f2eff4987c57f0890e8141a0c1ecec6cc07e73bae0fcf686b4c972ef77e89a37
MD5 a4da38bb234467089f318f2061102f73
BLAKE2b-256 b9bb118e235e74005fc6a6edb46b38a54e366ce3db8c8b524fcd09d6a0be69e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_doc-2020.9.30a2-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.9.30a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2f42d345a1b3acc98d3927a36386f96cc8d83e408c1f2e28c239630dcb286992
MD5 edd7d55ad9fd5f7e496667e7a61b8fdd
BLAKE2b-256 982b1ea950c9129aa73f229972168f5ca0fe000f716807d620cac8eca8873e50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page