semvec/pypi-packages huggingface dataset:
napalm-ios-alternative-drv 0.0.5
[obsolete with Napalm3] alternative driver plugin for cisco ios
License: Apache 2.0
Requires Python: >=3.6
Keywords: development napalm ios

## alternative unofficial napalm ios driver

Due the purpose of NAPALM the included IOS Drivers are designed to require Privilege Exec Mode(aka Privilege Level 15) 
to ensure the full feature-set is always available.<br>
If this privilege level is not available the driver will not work.<br>
This limits its use for certain purposes where priv exec is not required. (like using the getters() or sending show commands)

This driver is a fork of the original driver, it changes the behavior of the driver and implements privilege level checking.
It will allow to connect without privilege level 15 and instead raise permission-errors whenever a function is called and the required privilege level is not available. <br>
It will neither change function arguments or return values nor implement new functions. 


## install

    pip install napalm-ios-alternative-drv

## usage 

   without secret: 

    #!/usr/bin/env python3
    from napalm import get_network_driver
    driver = get_network_driver('ios_ad')      
    device = driver('1.1.1.1', 'username', 'password')
    device.open()    
    vals = device.get_facts()   
    print(vals)    
    device.close()

   with secret: 

    #!/usr/bin/env python3
    from napalm import get_network_driver
    optional_args = { 'secret': '<enable_secret>'}
    driver = get_network_driver('ios_ad')      
    device = driver('1.1.1.1', 'username', 'password', optional_args=optional_args)
    device.open()    
    vals = device.get_facts()   
    print(vals)    
    device.close()


## Authors:

The largest part of the codebase is sync'd from and belongs to the [NAPALM Project](https://github.com/napalm-automation/napalm/).<br>
Privilege Patches are done by me.


Original Authors(NAPALM Project)
 * David Barroso ([dbarrosop@dravetech.com](mailto:dbarrosop@dravetech.com))
 * Elisa Jasinska ([elisa@bigwaveit.org](mailto:elisa@bigwaveit.org))
 * Many others, check the [napalm contributors](https://github.com/napalm-automation/napalm/graphs/contributors) page for details.

Privilege Patches
  * remingu <remingu@techturn.de>
pylinky 0.5.0
Get your consumption data from your Enedis account (www.enedis.fr)
License: Apache 2.0


pyLinky
=======

.. image:: https://travis-ci.org/Pirionfr/pyLinky.svg?branch=master
    :target: https://travis-ci.org/Pirionfr/pyLinky

.. image:: https://img.shields.io/pypi/v/pyLinky.svg
    :target: https://pypi.python.org/pypi/pyLinky

.. image:: https://img.shields.io/pypi/pyversions/pyLinky.svg
    :target: https://pypi.python.org/pypi/pyLinky

.. image:: https://requires.io/github/Pirionfr/pyLinky/requirements.svg?branch=master
    :target: https://requires.io/github/Pirionfr/pyLinky/requirements/?branch=master
    :alt: Requirements Status

Get your consumption data from your Enedis account (www.enedis.fr)

In order to use the library, you need an account on https://datahub-enedis.fr/.
You need to create a Data Connect Application and as of May 2020 you will get
your client_id by mail and your client_secret by SMS after a week or so...
With these credentials, you can only access the Sandbox environment... You need
to sign a contract and probably wait more to get Production credentials...

The library uses requests and requests_oauthlib to cope with the OAuth 2.0
protocol. It uses an AbstractAuth class to let a developer override the refresh
token function and route it via their own external service.
It also let the storage of the token between sessions to the developer.



Installation
------------

The easiest way to install the library is using `pip <https://pip.pypa.io/en/stable/>`_::

    pip install pylinky

You can also download the source code and install it manually::

    cd /path/to/pylinky/
    python setup.py install

Usage
-----
Print your current data

    pylinky -c <client_id> -s <client_secret> -u <redirect_url>

Dev env
-------
create virtual env and install requirements

    virtualenv -p /usr/bin/python3.5 env
    pip install -r requirements.txt
napalm25-ios-alternative-drv 0.0.4
[obsolete with Napalm3] alternative driver plugin for cisco ios
License: Apache 2.0
Requires Python: >=3.6
Keywords: development napalm ios

## alternative unofficial napalm ios driver

Due the purpose of NAPALM the included IOS Drivers are designed to require Privilege Exec Mode(aka Privilege Level 15) 
to ensure the full feature-set is always available.<br>
If this privilege level is not available the driver will not work.<br>
This limits its use for certain purposes where priv exec is not required. (like using the getters() or sending show commands)

This driver is a fork of the original driver, it changes the behavior of the driver and implements privilege level checking.
It will allow to connect without privilege level 15 and instead raise permission-errors whenever a function is called and the required privilege level is not available. <br>
It will neither change function arguments or return values nor implement new functions. 


## install

    pip install napalm-ios-alternative-drv

## usage 

   without secret: 

    #!/usr/bin/env python3
    from napalm import get_network_driver
    driver = get_network_driver('ios_ad')      
    device = driver('1.1.1.1', 'username', 'password')
    device.open()    
    vals = device.get_facts()   
    print(vals)    
    device.close()

   with secret: 

    #!/usr/bin/env python3
    from napalm import get_network_driver
    optional_args = { 'secret': '<enable_secret>'}
    driver = get_network_driver('ios_ad')      
    device = driver('1.1.1.1', 'username', 'password', optional_args=optional_args)
    device.open()    
    vals = device.get_facts()   
    print(vals)    
    device.close()


## Authors:

The largest part of the codebase is sync'd from and belongs to the [NAPALM Project](https://github.com/napalm-automation/napalm/).<br>
Privilege Patches are done by me.


Original Authors(NAPALM Project)
 * David Barroso ([dbarrosop@dravetech.com](mailto:dbarrosop@dravetech.com))
 * Elisa Jasinska ([elisa@bigwaveit.org](mailto:elisa@bigwaveit.org))
 * Many others, check the [napalm contributors](https://github.com/napalm-automation/napalm/graphs/contributors) page for details.

Privilege Patches
  * remingu <remingu@techturn.de>