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 docwhich opens docs associated with the installed Rust toolchain. - You don't need an internet connection to view docs as
python-docinstalls 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2eff4987c57f0890e8141a0c1ecec6cc07e73bae0fcf686b4c972ef77e89a37
|
|
| MD5 |
a4da38bb234467089f318f2061102f73
|
|
| BLAKE2b-256 |
b9bb118e235e74005fc6a6edb46b38a54e366ce3db8c8b524fcd09d6a0be69e1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f42d345a1b3acc98d3927a36386f96cc8d83e408c1f2e28c239630dcb286992
|
|
| MD5 |
edd7d55ad9fd5f7e496667e7a61b8fdd
|
|
| BLAKE2b-256 |
982b1ea950c9129aa73f229972168f5ca0fe000f716807d620cac8eca8873e50
|