Metadata-Version: 1.0
Name: shaptools
Version: 0.3.2
Summary: API to expose SAP HANA functionalities
Home-page: UNKNOWN
Author: xarbulu
Author-email: xarbulu@suse.com
License: Apache-2.0
Description-Content-Type: UNKNOWN
Description: [![Build Status](https://travis-ci.org/SUSE/shaptools.svg?branch=master)](https://travis-ci.org/SUSE/shaptools)
        [![Test Coverage](https://api.codeclimate.com/v1/badges/1d4f7cd65e061ea100ba/test_coverage)](https://codeclimate.com/github/SUSE/shaptools/test_coverage)
        [![Maintainability](https://api.codeclimate.com/v1/badges/1d4f7cd65e061ea100ba/maintainability)](https://codeclimate.com/github/SUSE/shaptools/maintainability)
        
        # SHAPTOOLS
        
        Project created to expose an API with the SAP HANA platform major functionalities.
        The main idea is to have an easy and friendly environment to deploy and configure
        the SAP HANA environment and enable System replication feature.
        
        Example of how to use the package:
        
        ```python
        from shaptools import hana
        
        h = hana.HanaInstance('prd', '00', 'Qwerty1234')
        
        if not h.is_installed():
          conf_file = hana.HanaInstance.create_conf_file(
            '/sap_inst/51052481', '/home/myuser/hana.conf', 'root', 'root')
          hana.HanaInstance.update_conf_file(
            conf_file, sid='PRD', password='Qwerty1234', system_user_password='Qwerty1234')
          hana.HanaInstance.install('/sap_inst/51052481', conf_file, 'root', 'root')
        
        if not h.is_running():
            h.start()
        
        state = h.get_sr_state()
        
        h.create_user_key(
          'backupkey', 'hana01:30013', 'SYSTEM', 'Qwerty1234', 'SYSTEMDB')
        h.create_backup('SYSTEMDB', 'backup', 'backupkey', 'SYSTEM', 'Qwerty1234')
        h.sr_enable_primary('NUREMBERG')
        ```
        
        ## Installation
        
        To install the **shaptools** package run the pip command:
        
            pip install .
        
        To install it in a development state run:
        
            pip install -e .
        
        ## Dependencies
        
        List of dependencies are specified in the ["Requirements file"](requirements.txt). Items can be installed using pip:
        
            pip install -r requirements.txt
        
        ## License
        
        See the [LICENSE](LICENSE) file for license rights and limitations.
        
        ## Author
        
        Xabier Arbulu Insausti (xarbulu@suse.com)
        
        ## Reviewers
        
        *Pull request* preferred reviewers for this project:
        - Xabier Arbulu Insausti (xarbulu@suse.com)
        
Platform: UNKNOWN
