pyez help




help (Device)
help
labuser@saltsackmaster:~$ python3
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from jnpr.junos.device import Device
>>> help (Device)
Help on class Device in module jnpr.junos.device:

class Device(_Connection)
 |  Junos Device class.
 |
 |  :attr:`ON_JUNOS`:
 |      **READ-ONLY** -
 |      Auto-set to ``True`` when this code is running on a Junos device,
 |      vs. running on a local-server remotely connecting to a device.
 |
 |  :attr:`auto_probe`:
 |      When non-zero the call to :meth:`open` will probe for NETCONF
 |      reachability before proceeding with the NETCONF session establishment.
 |      If you want to enable this behavior by default, you could do the
 |      following in your code::
 |
 |          from jnpr.junos import Device
 |
 |          # set all device open to auto-probe with timeout of 10 sec
 |          Device.auto_probe = 10
 |
 |          dev = Device( ... )
 |          dev.open()   # this will probe before attempting NETCONF connect
 |
 |  Method resolution order:
 |      Device
 |      _Connection
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __enter__(self)
 |
 |  __exit__(self, exc_type, exc_val, exc_tb)
 |
 |  __init__(self, *vargs, **kvargs)
 |      Device object constructor.
 |
 |      :param str vargs[0]: host-name or ipaddress.  This is an
 |                           alternative for **host**
 |
 |      :param str host:
 |          **REQUIRED** host-name or ipaddress of target device, unless sock_fd is provided
 |
 |      :param str sock_fd:
 |          **REQUIRED** file descriptor of an existing socket instead of providing a host.
 |          Used for outbound ssh.
 |
 |      :param str user:
 |          *OPTIONAL* login user-name, uses $USER if not provided
 |
 |      :param str passwd:
 |          *OPTIONAL* if not provided, assumed ssh-keys are enforced
 |
 |      :param int port:
 |          *OPTIONAL* NETCONF port (defaults to 830)
 |
:

help(requests)
help(requests)
>>> import requests
>>> help(requests)
         ...
         "form": {
           "key1": "value1",
           "key2": "value2"
         },
         ...
       }

    The other HTTP methods are supported - see `requests.api`. Full documentation
    is at <https://requests.readthedocs.io>.

    :copyright: (c) 2017 by Kenneth Reitz.
    :license: Apache 2.0, see LICENSE for more details.

PACKAGE CONTENTS
    __version__
    _internal_utils
    adapters
    api
    auth
    certs
    compat
    cookies
    exceptions
    help
    hooks
    models
    packages
    sessions
    status_codes
    structures
    utils

FUNCTIONS
    check_compatibility(urllib3_version, chardet_version)

DATA
    __author_email__ = 'me@kennethreitz.org'
    __build__ = 140032
    __cake__ = '✨ 🍰 ✨'
    __copyright__ = 'Copyright 2020 Kenneth Reitz'
    __description__ = 'Python HTTP for Humans.'
    __license__ = 'Apache 2.0'
    __title__ = 'requests'
    __url__ = 'https://requests.readthedocs.io'
    codes = <lookup 'status_codes'>
    cryptography_version = '2.9.2'

VERSION
    2.23.0

AUTHOR
    Kenneth Reitz

FILE
    /home/labuser/.local/lib/python3.6/site-packages/requests/__init__.py

help(Config )

or

help(jnpr.junos.utils.config)


>>> from jnpr.junos.utils import config as Config
>>> help(Config)

or

>>> import jnpr.junos
>>> help(jnpr.junos.utils.config)

help(config)
>>> import jnpr.junos
>>> help(jnpr.junos.utils.config)
Help on module jnpr.junos.utils.config in jnpr.junos.utils:

NAME
    jnpr.junos.utils.config - # utils/config.py

CLASSES
    jnpr.junos.utils.util.Util(builtins.object)
        Config

    class Config(jnpr.junos.utils.util.Util)
     |  Overview of Configuration Utilities.
     |
     |  * :meth:`commit`: commit changes
     |  * :meth:`commit_check`: perform the commit check operation
     |  * :meth:`diff`: return the diff string between running and candidate config
     |  * :meth:`load`: load changes into the candidate config
     |  * :meth:`lock`: take an exclusive lock on the candidate config
     |  * :meth:`pdiff`: prints the diff string (debug/helper)
     |  * :meth:`rescue`: controls "rescue configuration"
     |  * :meth:`rollback`: perform the load rollback command
     |  * :meth:`unlock`: release the exclusive lock
     |
     |  Method resolution order:
     |      Config
     |      jnpr.junos.utils.util.Util
     |      builtins.object
     |
     |  Methods defined here:
     |